![]() Once that's been uploaded to the Ardy, click on the last icon in the IDE's toolbar, and the serial monitor (controlling PCs end) starts up. Serial.println(", code for s, LED will wink slowly.") } Serial.println(", code for f, LED will wink fast.") } Serial.println("Enter s or f on serial terminal to make wink fast or slow") } ![]() ![]() Serial.begin(9600) //For access to serial mon channel Int Out0=12 //pin LED will be attached to. Int incomingByte=0 //sloppy: Should be local to loop function Connect the other end of the LED-resistor circuit to ground. Put an LED on pin D13 (along with a resistor). It uses the same serial link that you used to program the Ardy. There's something like Hyperterminal built into the Arduino IDE.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |