Shop OBEX P1 Docs P2 Docs Learn Events
Propeller PS/2 Code in Spin Only — Parallax Forums

Propeller PS/2 Code in Spin Only

SRLMSRLM Posts: 5,045
edited 2008-11-08 03:40 in Propeller 1
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
Sign In or Register to comment.