This fixed my X27's going in one direction only. My guess is that the AVR compiler interprets a char (without sign specification) as signed, whereas the ESP8266 compiler defaults to unsigned. Which would be why checking on negative values will not work. I'm not a C programmer so handle with care. :)
This fixed my X27's going in one direction only. My guess is that the AVR compiler interprets a char (without sign specification) as signed, whereas the ESP8266 compiler defaults to unsigned. Which would be why checking on negative values will not work. I'm not a C programmer so handle with care. :)