- Component:
- Video clip:
- Robot URL: http://arcbotics.com/products/hexy/
Connected configuration (연결 상태) |
Turn off (LED 끄기) |
Turn on (LED 켜기) |
// LED pin # int LED_pin = 3; // Switch pin# int switch_pin = 5; void setup() { // put your setup code here, to run once: pinMode(LED_pin, OUTPUT); pinMode(switch_pin, INPUT_PULLUP); }