diff options
author | Keith Packard <keithp@keithp.com> | 2012-12-17 22:58:49 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-12-17 22:58:49 -0800 |
commit | 23dc9a63ae8bc982d9352cfb7a3f508d8a08c374 (patch) | |
tree | 81331ef8899b448dc5b02d2819d61e408a89d423 /src/micropeak/ao_async.h | |
parent | fc2e5beb9173663e1e37a9b5a7b6eea1046222f7 (diff) |
altos: Make micropeak 'serial' interface work
I prototyped the mpserial interface on a breadboard and tuned the
circuit to register the LED correctly. Then adjusted the serial code
to send bits at the right speed and format.
The logging contents are now in hexdecimal with a CCITT CRC-16
computed to verify correct reception.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/micropeak/ao_async.h')
-rw-r--r-- | src/micropeak/ao_async.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/micropeak/ao_async.h b/src/micropeak/ao_async.h index a06d2e1a..1b239712 100644 --- a/src/micropeak/ao_async.h +++ b/src/micropeak/ao_async.h @@ -19,6 +19,12 @@ #define _AO_ASYNC_H_ void +ao_async_start(void); + +void +ao_async_stop(void); + +void ao_async_byte(uint8_t byte); #endif /* _AO_ASYNC_H_ */ |