Simple Serial

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: Chip Gracey (Parallax), created: 2013-04-16 | updated: 2014-02-11

Bit-bang serial driver for low baud rate (~19.2K) devices. 

* This driver is designed to be method-compatible with the FullDuplex serial object, allowing it to be used when high speed comms or devoting an independent cog for serial I/O is not necessary.* Bi-directional communication on the same pin is also supported.

 

Pages

Original File Upload
Version 1.4
Feb 3, 2014
  • Fixed Init method to initialize txPin (if specified and not bi-directional communication).  Previous versions did not initialize txPin until first transmission, leaving the tx signal in an unknown state until then.
Version 1.3
May 7, 2009
  • Updated to fix rx method bug where uninitialized variable would mangle received byte.