/********************************************** * e-Gizmo PBot Uno Controller - BLINK.ino * * This is a sample Blink sketch on Digital Pin 13. * Put a LED on pin 13 to see the Output. * * It does not requires to use the Library, * if you are using the gizDuino/Arduino pins. * Note: A4/D18 and A5/D19 are used. * * Use the eGizmo_PBot_Uno library, if you need * to controls the Line, Collision sensors, Servo, * Motors.For product purposes and user friendly. * * * Codes by * e-Gizmo Mechatronix Central * http://www.e-gizmo.net * March 17,2020 ************************************************/ // Comment out if needed //#include "eGizmo_PBOT2018.h" //#include //eGizmo_PBot_Uno PBot; #define LedBlink 13 void setup() { //PBOT.BEGIN(); //PBOT begin and turn it on the motors pinMode(LedBlink,OUTPUT); // Set the pin13 as output } void loop() { digitalWrite(LedBlink,HIGH); // LED lights on delay(1000); // 1 second timedelay digitalWrite(LedBlink,LOW); // LED lights off delay(1000); // 1 second timedelay }