A logic circuit can be turned into Arduino code, and the 2026 paper came close to asking it. Look at 2026 Paper II Part B. Q5(c) asks for a NAND-only circuit that opens a door from a story. Q7(a) asks for Arduino code for a motion light. Q7(a)(iii) then adds a second condition, so the light works only at night. That is a logic problem inside an Arduino problem, but the paper kept the two questions apart.
The syllabus already joins them. Logic design asks students to find "situations to apply logic circuits in day to day life" (Syllabus 4.3, page 13) (විෂය නිර්දේශය 4.3, පිටුව 13). The Sinhala syllabus words it "එදිනෙදා ජීවිතයේ දී තාර්කික පරිපථ යොදාගත හැකි අවස්ථා හඳුනා ගනී". Embedded systems lists digital inputs, an LDR and a door switch (Syllabus 11.1, pages 45 to 46) (විෂය නිර්දේශය 11.1, පිටු 42 සහ 43). The Sinhala syllabus calls the door switch "චුම්බක යතුරක්", a magnetic switch. The past papers have never joined Unit 4 and Unit 11 in one part. That pair is one of six white cells in the grid of the 2019 to 2026 papers.
Practise it with a new story. Write the truth table, simplify it, then write the if. The other five combinations, and a test of the idea that Paper II topics come back in next year's Paper I, are in Cross-unit A/L ICT questions not asked yet.
