|
PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
|
13 #include "arlodrive.h"
22 int offset = 0, increment = 1, cycles = 0;
27 static int speedL = 0, speedR = 0;
45 if(val > 500) val = 500;
46 if(val < -500) val = -500;
130 for(
int i = 0; i < 4; i++)
int ping_cm(int pin)
Report Ping))) measurement as a centimeter distance.
#define CH_DN
CH_DN constant value 17 corresponds to channel down key.
int sirc_button(int pin)
Report the SONY IR remote button pressed. Removes device identifying information from the packet and ...
void drive_speed(int left, int right)
Set wheel speeds in encoder ticks per second. An encoder tick is 1/64th of a revolution,...
Decode SONY IR remote signals.
fdserial * fdserial_open(int rxpin, int txpin, int mode, int baudrate)
Open a full duplex serial connection.
int dprint(text_t *device, const char *format,...) __attribute__((format(printf
Print format "..." args to the device The output is limited to 256 bytes.
#define PWR
PWR constant value 21 corresponds to power key.
#define ENTER
ENTER constant value 11 corresponds to ENTER key.
#define CH_UP
CH_UP constant value 16 corresponds to channel up key.
void simpleterm_close(void)
Closes the SimpleIDE Terminal connection in one cog so that it can be opened in another cog with simp...
Structure that contains data used by simple text device libraries.
#define VOL_DN
VOL_DN constant value 19 corresponds to volume down key.
#define VOL_UP
VOL_UP constant value 18 corresponds to volume up key.
This library supports creating and managing one or more full duplex serial connections with periphera...
void sirc_setTimeout(int ms)
Set the time limit to wait for a SONY IR remote packet.