With the 45 degree issue, why not use require("servo").connect(C7,{range:2}); as that post says? Then you can get the nice smooth movement with the increased range?
There's some info about controlling Espruino from the sound card at http://www.espruino.com/Headphone - not sure if it helps? If you keep the Espruino connected to USB then you can use that to ensure that signals are being received correctly.
... or have you looked at Web Bluetooth/Puck.js - that'd probably be the most reliable way to get commands out of the browser at the moment as using Web Audio depends on the volume level on your PC (and some PCs/Macs have the signal inverted too!).
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.
With the 45 degree issue, why not use
require("servo").connect(C7,{range:2});
as that post says? Then you can get the nice smooth movement with the increased range?There's some info about controlling Espruino from the sound card at http://www.espruino.com/Headphone - not sure if it helps? If you keep the Espruino connected to USB then you can use that to ensure that signals are being received correctly.
To try and decode signals using your sound card, you could also look at https://github.com/espruino/webaudio-oscilloscope - which may be some help to check the signal?
... or have you looked at Web Bluetooth/Puck.js - that'd probably be the most reliable way to get commands out of the browser at the moment as using Web Audio depends on the volume level on your PC (and some PCs/Macs have the signal inverted too!).