I’m looking to interface a barcode scanner to a sparkcore. The barcode scanner uses the ps/2(AT) keyboard interface. There are some libraries available for the atmel based arduinos, but I’m not having any luck finding ones that will work with the Sparkcore. Any one have any thoughts on how to go about doing this?
Have you tried that Arduino Library? At first glance I don’t see anything that would really prevent it from working. Grab Version 2.3 of the library, paste the contents of PS2Keyboard.cpp, PS2Keyboard.h and Simple_Test.pde—in that order—into a blank Spark Build document.
Good thought timb. I just assumed it was hardware dependent. I’ve decided to use a raspbery pi to accomplish this in the near term, but plan use Sparkcore as a follow up project. I’ll dig into this again when I get on that path.