RFDuinoTest icon indicating copy to clipboard operation
RFDuinoTest copied to clipboard

Cant Read Float values coming from RFDUINO

Open saadbutt67 opened this issue 10 years ago • 0 comments

Hi @lann i am gonna update my problem statement it seemed a bit vague last time. Code in RFDUINO so that everytime i send a value it sends me back the float value 2.34

include <RFduinoBLE.h>

void setup() { RFduinoBLE.advertisementData = "ledbtn"; RFduinoBLE.begin(); } void loop() { } void RFduinoBLE_onReceive(char *data, int len) { RFduinoBLE.send(2.34); }

. when i try to do byte[] ff = intent.getByteArrayExtra(RFduinoService.EXTRA_DATA); Float.parseFloat(HexAsciiHelper.bytesToAsciiMaybe(ff)) i get the following errors logcat

can you help me please?????

saadbutt67 avatar Feb 26 '15 02:02 saadbutt67