/********************************************** * e-Gizmo PBOT2018 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_PBOT2018 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 * September 26,2019 ************************************************/ // Comment out if needed //#include //#include "eGizmo_PBOT2018.h" //eGizmo_PBOT2018 PBOT; #define LED_BLINK 13 void setup() { //PBOT.BEGIN(); //PBOT begin and turn it on the motors pinMode(LED_BLINK,OUTPUT); // Set the pin13 as output } void loop() { digitalWrite(LED_BLINK,HIGH); // LED lights on delay(1000); // 1 second timedelay digitalWrite(LED_BLINK,LOW); // LED lights off delay(1000); // 1 second timedelay }