Play with Codecraft
Hardware
Step 1. Connect Grove - Chainanle RGB LED to port D7 in a Base
Shield
Step 2. Plug the Base Shield to your Seeeduino/Arduino.
Step 3. Link Seeeduino/Arduino to your PC via an USB cable.
Software
Step 1. Open Codecraft [https://ide.chmakered.com/], add Arduino
support, and drag a main procedure to working area.
Step 2. Drag blocks as picture below or open the cdc le which can
be downloaded at the end of this page.
62 nTemp = map(nTemp, TEMPDOWN*100, TEMPUP*100, 0, 1
63 ledLight(nTemp);
64 delay(100);
65 }
Note
If this is your rst time using Codecraft, see also Guide for Codecraft using
Arduino
[https://wiki.seeedstudio.com/Guide_for_Codecraft_using_Arduino/].