[CCC DEV] Software serial question

Matt Jadud jadudm at gmail.com
Wed Jun 16 16:36:19 BST 2010


Hi all,

In my 'avr-twi' branch, I've done a quick experiment with software serial.

http://projects.cs.kent.ac.uk/projects/kroc/trac/browser/kroc/branches/avr-twi/tvm/arduino/occam/testtx.occ

There's a few changes in ffi.c (specifically, the C-side of the
software serial call). I'm getting... mangled results, and wondered if
anyone could take a look.

The problem (from the commit message):

"
A bit stuck, really. We're about to ramp up on Mega support (which
will give us more serial ports), but in the meantime I need a way for
the students to send commands to a GPS while reading from it on the RX
pin, and sending debug data back to the PC on the TX pin. Other
brainstorms as to how solve that problem are welcome as well..."

Sadly, they caught up to me, and I'm just moving quickly to keep them
moving. As a stop-gap, I'm going to have them work on parsing NMEA
strings from a fixed string or two, as opposed to from live data...
that gets them moving again for the moment, but having the ability to
bang out serial data on a pin doesn't hurt... but at the moment, I'm
missing something. :/

Cheers,
Matt

-- 
Sent from my TRS-80




More information about the developers mailing list