Shop OBEX P1 Docs P2 Docs Learn Events
Just released an update to ADC Input Driver (v2.1.1) — Parallax Forums

Just released an update to ADC Input Driver (v2.1.1)

Bobb FwedBobb Fwed Posts: 1,119
edited 2011-07-15 14:42 in Propeller 1
Updates in v2.1.0:
1) Added FastMode parameter to allow the programmer to manually set the driver's communication speed. This was a problem because different ADCs have different communication speed requirements, and while I previously had some math determining the speed, it was not bulletproof.
2) Any command that brings the driver out of standby mode will now be executed, previously they were ignored. This gives you better control over the driver, and lazy/errant programming will still work just fine.
3) Commands are now executed using a jump table, so they are executed faster, especially the higher number commands.
4) Other minor speed and size optimizations, and a minor bug fix.

Updates in v2.1.1:
1) Added a parameter to make the getfreq method return the averaged period of the high-low transitions. This opens the possibility to do pulse length with the ADC or do custom math with the frequency period (for example, use float math to get more precise frequency values).
2) Fixed a problem with waitlow.

Download: http://obex.parallax.com/objects/488/

Please post any questions, comments, or suggestions here.

Comments

  • Bobb FwedBobb Fwed Posts: 1,119
    edited 2011-07-15 14:42
    Released another update to fix waitlow, and added a feature (view above for recent changes).
Sign In or Register to comment.