PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
Simple-Libraries
Learn
Examples
Robots
ActivityBot360
Forward then Stop.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_speed
(64, 64);
13
pause
(4000);
14
drive_speed
(0, 0);
15
}
drive_speed
void drive_speed(int left, int right)
Set wheel speeds in encoder ticks per second. An encoder tick is 1/64th of a revolution,...
Definition:
speed.c:138
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,...
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