Not a premium member yet? Save 100's of hours on lesson prep with a comprehensive library of GCSE Computer Science resources - including worksheets, tests, and PowerPoint presentations.
Download the complete GCSE Computer Science bundle including all teacher resources and student revision:
- 200+ Computer Science/ICT resources
+ any we release in the future!
- Access to all student revision notes
- OCR, AQA, Edexcel and WJEC compatible
- New 9-1 GCSE spec
The sensor kit includes 2 IR transmission LED’s. These can easily be replaced with your own coloured or white LED’s.
When using the OUTPUT, HIGH and LOW commands, Logicator for PIC only recognises the B connectors as outputs . If you want to use an output such as an LED on the C connectors (such as the rear left and right connectors) then you will need to program a BASIC command block to do it.
This screen-shot shows a BASIC command block being used as part of a traffic light sequence. It sets C4 high (red LED) and C0 and B0 low (amber LED and green LED).
- Traffic Lights (simple) bot.plf
- This program uses BASIC command blocks to control red, amber and green LED’s on the rear 3 connectors of a Microbot.