Raise Your Hand to Make HaloCode Smile

When HaloCode is placed "arrow-up", the LED ring will light up and make a smile.

Toggle on Upload mode

Click to toggle on Upload mode

Program

1. Drag an Events block when HaloCode starts up to the Scripts area, and then add a Control block forever

2. Add a Control block if () then () else, and a Sensing block HaloCode is ()?. Choose "arrow-up"

3. Add a Lighting block show (), and draw a smiling face

3. Add another Lighting block show ()

4. Upload the program

Download code


results matching ""

    No results matching ""