PropBOE Shield back on sale! (Compatible with Activity Board)
Oldbitcollector (Jeff)
Posts: 8,091
In honor of Parallax's release of the new Propeller Activity Board, I'm putting the PropBOE shield back on sale at $13.99
The PropBOE I/O Shield is compatible with both the PropBOE and Activity Board.
[Confession]I'd love to see a C based PS/2 Keyboard, IR, and Wii objects come into being.[/Confession]
http://propellerpowered.us/index.php?route=product/product&path=25_60&product_id=216
Thanks guys!
Jeff
The PropBOE I/O Shield is compatible with both the PropBOE and Activity Board.
[Confession]I'd love to see a C based PS/2 Keyboard, IR, and Wii objects come into being.[/Confession]
http://propellerpowered.us/index.php?route=product/product&path=25_60&product_id=216
Thanks guys!
Jeff
Comments
There's a PropGCC based keyboard package out there somewhere. Jazzed put it together as a demo on how to convert Spin/PASM objects to C. Let me see if I can find it this evening when I have some down time. It may need to be turned into something that's a more pretty library format.
We, I MEAN someone, may be able to do the same with an IR and a Wii package.
I found the files from Steve (jazzed). they compiled in SimpleIDE but I'm unable to test them since I don't have the needed hardware handy. (I need to do some soldering on some things I bought!) So, instead, I zipped them up but for some reason, the forum is not letting me attach a .zip file.
I may give up, I've had enough aggravation for one day!
We'll get these puppies out there somehow!
Let's try this. I put it in the public folder on my DropBox so you should be able to get it here.
It's really a good example since it uses Chip's keyboard PASM file and then Steve wrote .c and .h wrappers for it so it can be used in PropGCC. It's also a good example of how to use mailboxes between C and PASM. I think when I ran it, I used a Demoboard but a PropBOE or Activity board with your PropBOE shield should work just fine.
Let em know if the DropBox solution doesn't work out.
Jeff
They are going out this afternoon! Thanks for your patronage Paul!
Jeff
Well, here's a shot at the Wii Nunchuk Object...
A spin2cpp translation of the TestWiiNunchuck (sic) spin object from OBEX. Basically ran spin2cpp on TestNunchuck.spin and edited the results to remove dependencies on .spin files (FullDuplexSerial, ExtendedFull DuplexSerial, Float32 & Float32A). Rewrote just 3 functions in Nunchuck.c to remove the spin code for Floating point, replacing that with C functions.
This project should directly build with SimpleIDE if you use the simpletools library provided with the new "Learn" folder found here: http://learn.parallax.com/propeller-c
If you are NOT using the new "Learn" folder content, you may need to replace '#include "simpletools.h"' with '#include <propeller.h>' in the sources...
Probably will need some TLC before publishing to the new OBEX, but it basically works. Let me know if you have problems and I'll update with fixes.
I admit, When I was modifying the code, I replaced "Nunchuck" with "Nunchuk" where I made large changes ...
dgately
Hope this help make the keyboard program a bit easier to use.
@rick, that's some of that good RTFM I was hoping you might point me toward. Time to read and digest.
Thanks!
Jeff
There's a lot of little written tips and tricks scattered around in the forums. I started to keep track of a bunch but obviously, not enough. Maybe somebody will write a book some day for PropGCC.