PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
Simple-Libraries
Learn
Examples
Robots
Arlo
Forward Stop Face Right (1).c
1
/*
2
Forward Stop Face Right.c
3
4
http://learn.parallax.com/activitybot/go-certain-distances
5
*/
6
7
#include "
simpletools.h
"
8
//#include "abdrive.h" // <- Comment out this line
9
#include "arlodrive.h"
// <- Replace it with this line
10
11
int
main
()
12
{
13
drive_goto
(256, 256);
14
pause
(200);
15
drive_goto
(26, -25);
16
}
pause
void pause(int time)
Delay cog from moving on to the next statement for a certain length of time.
Definition:
libws2812.c:125
simpletools.h
This library provides convenient functions for a variety of microcontroller I/O, timing,...
drive_goto
void drive_goto(int distLeft, int distRight)
Make each wheel go a particular distance. Recommended for straight forward, backward,...
Definition:
goto.c:38
main
int main(void)
Definition:
GraphicsTest.c:20
Generated on Fri May 20 2022 16:48:04 for PropWare by
1.8.17