Sending Float Values From Arduino Nano 33 BLE Doesn't Seem To Work

Skip to content Dismiss alert {{ message }} / p5.ble.js Public forked from yining1023/p5.ble.js
  • Notifications You must be signed in to change notification settings
  • Fork 31
  • Star 46
  • Code
  • Issues 10
  • Pull requests
  • Actions
  • Projects
  • Wiki
  • Security

    Uh oh!

    There was an error while loading. Please reload this page.

  • Insights
Additional navigation options Sending float values from Arduino Nano 33 BLE doesn't seem to work #6New issueNew issueClosedClosedSending float values from Arduino Nano 33 BLE doesn't seem to work#6@armsp

Description

@armsparmspopened on Oct 7, 2019

I got this wonderful library working with the new Arduino Nano 33 BLE. However sending float values seems to have an issue. For example these are the float values as reported in my serial montior and the corresponding float values received by p5.ble.js

Serial Monitor p5.ble.js received value
1.22 5.933522291385966e-39
1.16 1.0338756247714607e-38
0.92 8.854321548098327e-39
0.73 1.177619700203129e-38
1.28 1.528288335057325e-39
1.46 1.1822114750110285e-38
6.53 2.321725105554387e-38

I am using the ArduinoBLE library. And sending float values using BLEFloatCharacteristic and receiving them in p5.ble.js using myBLE.read(myCharacteristic, 'float32', gotValue);

👍React with 👍1

Metadata

Metadata

Assignees

No one assigned

Labels

No labelsNo labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You can’t perform that action at this time.

Tag » Arduino Ble Send Float