Encoder Project
This is a port of an old Parallax application note to the SX.· What I changed was reading the quadrature encoder in the ISR, as well as displaying the value on three multiplexed 7-segment LEDs (also handled in the ISR).

Note that the version called 'ENCODER2.SXB' is 100% SX/B -- no assembly code included.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
Post Edited (Jon Williams) : 12/8/2004 1:36:29 AM GMT
Note that the version called 'ENCODER2.SXB' is 100% SX/B -- no assembly code included.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
Post Edited (Jon Williams) : 12/8/2004 1:36:29 AM GMT
Comments
I personally like the "all SX/B" version.
Shows that alot can be done with not alot of code.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
---
James Newton, Host of SXList.com
james@sxlist.com 1-619-652-0593 fax:1-208-279-8767
SX FAQ / Code / Tutorials / Documentation:
http://www.sxlist.com Pick faster!
·· What is that development board you're using?· I thought I had one of everything Parallax sells, but I've never seen that board before.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Post Edited (Chris Savage (Parallax)) : 8/19/2005 3:37:17 AM GMT
I will be rewriting StampWorks around this board.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Post Edited (Chris Savage (Parallax)) : 8/19/2005 3:37:29 AM GMT
I was looking for a board for Christmas, I can wait if this is not too expensive.
We're just getting started with production, so it will be a while before we have ample quantities (probably 6-8 weeks). We're shooting for a $129 retail. This board pretty much does everything, supports all of our products and wants to be under $150. It will be the core of several kits and also available alone (with a parallel LCD).
Ken Gracey
Parallax, Inc.
Would one of those kits happen to be some sort of "super SX-Tech Kit"?
I would definately hold off and buy that as soon as possible.
Looking at the picture, it does seem to have a lot of supported functions. I see a speaker, 5-character 7-seg LED, RTC, 8 buttons, and more. I hope you can keep it under $150 for all that, it would be a very good deal.
AND it supports the SX? Man, I can't get over that aspect of it. That means you could prototype using the BS2, then port your code using SX/B to the SX to get the performance. What a powerhouse.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office