altos: Make micropeak 'serial' interface work
authorKeith Packard <keithp@keithp.com>
Tue, 18 Dec 2012 06:58:49 +0000 (22:58 -0800)
committerKeith Packard <keithp@keithp.com>
Tue, 18 Dec 2012 06:58:49 +0000 (22:58 -0800)
commit23dc9a63ae8bc982d9352cfb7a3f508d8a08c374
tree81331ef8899b448dc5b02d2819d61e408a89d423
parentfc2e5beb9173663e1e37a9b5a7b6eea1046222f7
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>
src/micropeak/Makefile
src/micropeak/ao_async.c
src/micropeak/ao_async.h
src/micropeak/ao_log_micro.c
src/micropeak/ao_micropeak.c