This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Poor's Man Oscilloscope Arduino Skecth | |
This is an example code for reading the | |
analog input and to display the value | |
signal output on processing. | |
*/ | |
#define ANALOG_IN 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********************************************** | |
* e-Gizmo PBOT2018 Controller - SERVO_SWEEP.ino | |
* | |
* This is for SERVO sample sketch | |
* to sweeps the shaft back and forth | |
* across 180 degrees. | |
* | |
* SERVO Control | |
* ex. PBOT.SERVO(whichSERVO,pulsewidth); | |
* where: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********************************************** | |
e-Gizmo PBOT Controller - AVOID COLLISION.ino | |
This is for collsion sample sketch to avoid | |
crashing on the wall or any objects that blocking | |
way of the PBOT. | |
Reading the 3channel Collision sensors: | |
PBOT.COL1_RIGHT(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********************************************** | |
e-Gizmo PBOT2018 Controller - MOTOR_TEST.ino | |
This is for motor sample sketch to controls | |
and move forward, reverse, turning right, | |
turning left, and stop the motors. | |
Set motor speed: | |
PBOT.SPEED(whichmotor, speed); | |
Note: Forward Speed = 0 Full Stop;255 High, limit 250 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********************************************** | |
* e-Gizmo PBOT2018 Controller - LINEBOT.ino | |
* | |
* This is for Linesensor sample sketch to | |
* follows the black line or white line track. | |
* | |
* Reading the 3channel Line sensors: | |
* Calibration Instructions: | |
* For the new eGizmo PBOT2017 Controller features | |
* first thing to do is to calibrate the line |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
LM34 Temperature Sensor Sketch | |
This sample sketch is for LM34 IC | |
Temperature Sensor, it can display the | |
degrees in Fahrenheit and Celcius. | |
STEP 1: Construct the circuit of GizDuino Temperature sensor. | |
STEP 2: Connect the USB Cable to your computer. | |
STEP 3: Open the Arduino IDE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//////////////////////////////////////////////// | |
// // | |
// ON OFF SEQUENCE // | |
// // | |
// This serves as a sample program for // | |
// an LED monitor showing a on off sequence. // | |
// // | |
// // | |
// Codes by: // | |
// eGizmo Mechatronix Central // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//////////////////////////////////////////////// | |
// // | |
// RUNING LIGHT // | |
// // | |
// This serves as a sample program for // | |
// an LED monitor showing a running light // | |
// // | |
// // | |
// Codes by: // | |
// eGizmo Mechatronix Central // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String inputString = ""; // a string to hold incoming data | |
String COMMAND = ""; | |
void setup() { | |
Serial.begin(9600); | |
inputString.reserve(200); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String inputString = ""; // a string to hold incoming data | |
String COMMAND = ""; | |
void setup() { | |
Serial.begin(9600); | |
inputString.reserve(200); | |
} | |
void loop() | |
{ |