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
Comments
Please sign in to leave a comment.