Propeller PS/2 Code in Spin Only
SRLM
Posts: 5,045
Is there any code out there for the Propeller that is in Spin only, with no assembly, that interfaces with mice and keyboards? I've found the five examples of PS/2 code in the Obex, but they either use combinations of Spin and Assembly, or C. I'm still learning Spin, and don't want to bite off more than I can chew with Assembly too.
I know the argument for Assembly: that it's much faster than spin. But if the PS/2 protocol only calls for 16 kHz clock rate maximum, then it seems more than possible to do things in all Spin.
Ultimately, I would like to be able to emulate a keyboard/mouse with the Propeller. So I hook up the Propeller to my computer's PS/2 port, and it sees it as a keyboard or mouse.
Thanks.
Post Edited (SRLM) : 11/8/2008 3:51:28 AM GMT
I know the argument for Assembly: that it's much faster than spin. But if the PS/2 protocol only calls for 16 kHz clock rate maximum, then it seems more than possible to do things in all Spin.
Ultimately, I would like to be able to emulate a keyboard/mouse with the Propeller. So I hook up the Propeller to my computer's PS/2 port, and it sees it as a keyboard or mouse.
Thanks.
Post Edited (SRLM) : 11/8/2008 3:51:28 AM GMT