I've had a play around with it. The stick on foot is ok for detecting black lines on white/etc, but it's really not that great at other stuff. So you are actually trying to use it as a mouse?
If so - and this is obviously a bit frustrating - you could just use the lens from an old optical mouse? AFAIK they also have a neat little bit in the side which lets an LED side-illuminate what it's looking at so bumps show up more.
Another option is if you can get a mouse that you can make output PS/2 rather than USB (some do it, or you might find an old mouse) they're pretty easy to connect to Espruino 2v0+ as you can use setWatch(...,clkPin,{data:dataPin})
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I've had a play around with it. The stick on foot is ok for detecting black lines on white/etc, but it's really not that great at other stuff. So you are actually trying to use it as a mouse?
If so - and this is obviously a bit frustrating - you could just use the lens from an old optical mouse? AFAIK they also have a neat little bit in the side which lets an LED side-illuminate what it's looking at so bumps show up more.
Another option is if you can get a mouse that you can make output PS/2 rather than USB (some do it, or you might find an old mouse) they're pretty easy to connect to Espruino 2v0+ as you can use
setWatch(...,clkPin,{data:dataPin})