adafruit / Adafruit_BluefruitLE_nRF51

Arduino library for nRF51822-based Adafruit Bluefruit LE modules
197 stars 122 forks source link

adafruit.BLE.cpp troubles #28

Closed purplefrost closed 7 years ago

purplefrost commented 7 years ago

Whenever I try to verify or upload any code from the adafruit bluefruitLE nrf51 I get the error

C:\Program Files (x86)\Arduino\libraries\Adafruit_BluefruitLE_nRF51\Adafruit_BLE.cpp: In member function 'int Adafruit_BLE::readBLEUart(uint8_t, int)': C:\Program Files (x86)\Arduino\libraries\Adafruit_BluefruitLE_nRF51\Adafruit_BLE.cpp:543: error: invalid conversion from 'uint8_t' to 'char' C:\Program Files (x86)\Arduino\libraries\Adafruit_BluefruitLE_nRF51\Adafruit_BLE.cpp:543: error: initializing argument 1 of 'size_t Stream::readBytes(char, size_t)'

Is this error from my end or is there a coding error?

ladyada commented 7 years ago

more information is needed - ide, board, os, etc

microbuilder commented 7 years ago

Make sure you have the correct target board selected as well, but this is really a support issue. Please file an issue in the Adafruit support forums, and we'll be happy to get this sorted out over there. It's almost certainly a config issue in the IDE. Thanks!