Closed hayden-t closed 9 years ago
trying to compile this in arduino ide: https://github.com/stanleyhuangyc/Freematics/blob/master/firmware_v2/elm327emu/elm327emu.ino
elm327emu.ino: In function 'void loop()': elm327emu:39: error: invalid conversion from 'char*' to 'const uint8_t*' elm327emu:39: error: initializing argument 1 of 'virtual size_t Print::write(const uint8_t*, size_t)'
one possible workaround might be this:
Serial.write((const uint8_t *)cmd, cmdlen);
using latest 1.6.3 does not produce this error, closing
trying to compile this in arduino ide: https://github.com/stanleyhuangyc/Freematics/blob/master/firmware_v2/elm327emu/elm327emu.ino
one possible workaround might be this:
Serial.write((const uint8_t *)cmd, cmdlen);