PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
Simple-Libraries
Learn
Examples
Robots
ActivityBot360
Forward Stop Face Right.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 "
abdrive360.h
"
9
10
int
main
()
11
{
12
drive_goto
(256, 256);
13
pause
(200);
14
drive_goto
(26, -25);
15
}
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
abdrive360.h
This library provides a simple set of functions for making the ActivityBot 360 go certain distances a...
Generated on Fri May 20 2022 16:48:04 for PropWare by
1.8.17