434
edits
Samthetechie (talk | contribs) |
Samthetechie (talk | contribs) |
||
Line 30: | Line 30: | ||
There is also a digital ground pin (it is a black cable and it is on its own) attached to a chocolate block in order to allow sharing of the digital ground with other circuits on that arduino. | There is also a digital ground pin (it is a black cable and it is on its own) attached to a chocolate block in order to allow sharing of the digital ground with other circuits on that arduino. | ||
// Pins for car control | |||
#define CAR_FWD 9 | |||
#define CAR_BACK 11 | |||
#define CAR_LEFT 8 | |||
#define CAR_RIGHT 10 | |||
// Movement Timing Calibration Values | |||
#define FWD_TURN_TIME 1000 | |||
#define BACK_TURN_TIME 1000 | |||
#define DRIVE_TIME 1000 | |||
===Sauce Code Breakdown=== | ===Sauce Code Breakdown=== |