#include <tucbot/tucbot.h>
void testLine(void);
int main(void);
void testLine(void) {
while (1) {
}
}
}
int main (void) {
testLine();
return (0);
}
@ kLineEnableFront
bit mask (0x01): enable front line sensors
Definition: line.h:53
void line_request(eLineSelectMask bitmask, eRequestType request)
Requests new data from the line sensors.
@ kLineGetFrontMiddle
constant (2): front middle line sensor
Definition: line.h:147
@ kLineGetFrontLeft
constant (1): front left line sensor
Definition: line.h:145
uint8_t line_get(eLineGet select)
Returns the last stored version of the selected value.
@ kRequestContinuous
constant (3): request continuous updates
Definition: update.h:37
@ kLineSetEnable
constant (kLineGetEnable): bitfield of enabled line sensor groups
Definition: line.h:169
void uint16tostr(void *out, uint16_t number, uint8_t digits)
Converts an unsigned integer to a string and passes it to an output function.
void lcdclr(void)
Clears the display.
eLineSelectMask line_changed(eLineSelectMask bitmask)
Indicates if new data changed the selected data blocks.
void lcdxy(uint8_t x, uint8_t y)
Moves the cursor to a postion on the display.
@ kLineGetFrontRight
constant (3): front right line sensor
Definition: line.h:149
void lcdstr_p(const char *send_data)
Writes a string located in the flash to the display.
void lcdout(uint8_t data)
Writes one byte to the display.
void init_tucbot(uint8_t enable_interrupts)
Initiates the TUC-Bot.
void mdelay(uint16_t mseconds)
Waits for the given time in milliseconds.
void line_set(eLineSet select, uint8_t value)
Sets the selected values of the line sensors.
@ kLineSelectFront
Definition: line.h:122