[SOLVED] I found out the servo is discontinued. I think it has flaws in its design. I can't explain why it sort of works (only one direction) from the USB thing and does not from the expansion board, but I got 2 different newer winch servos and they work great in both directions from Onion and my USB thing, so it has to be a faulty servo. I have a feeling it had a 1 to 3 turn limit before breaking a cog if it driven past that, then once the cog is broken the pot doesn't return the right values and its all screwed up. Anyway the expansion board seems pretty bullet proof for noise and EMI EMF, I man handled it pretty good.
@Lazar-Demin - It is definitely running out of memory, but if I remember correctly I boiled my code down to just a loop checking the state of the gpio, after of course initializing it the way I wanted to use it.
Hey @Kit-Bishop, Firstly thanks for the code! Yes the code that I tried after running into issues with my own, was yours. My tests might be out of date because im using a version of code that is still using file writing (/sys/class/gpio/gpioX) to export, read value, and change direction. Where as there is a different gpio class that you have that actually writes directly to the register, like fast-gpio. But i think that class is written in C/C++ and does not have a nodejs addon. Please correct me if I am wrong there. I am new to the Omega and microcontrollers in general, and well I can only tell you what I see and know because I don't know anyone else using this platform.
Looks like your connection to Community was lost, please wait while we try to reconnect.