I've implemented the BluetoothLE_workshop example I've found in other topics with some revisions and have successfully gotten the app to connect/disconnect with my BLE Bluetooth device (Adafruit BluefruitLE), but I'm trying to send a simple value to the device and get Runtime Error: Invalid long: "E0A9" each time. I'm new to bluetooth and App Inventor, so please excuse me if I've done something obviously wrong.
I've attached my aia file and a screen capture of the error.
Looking at what you are doing I would suspect your issue is that you have text box as the "Value" for WriteIntValue. Try changing that a number entry box from under the Math section.
I've implemented the BluetoothLE_workshop example I've found in other topics with some revisions and have successfully gotten the app to connect/disconnect with my BLE Bluetooth device (Adafruit BluefruitLE), but I'm trying to send a simple value to the device and get Runtime Error: Invalid long: "E0A9" each time. I'm new to bluetooth and App Inventor, so please excuse me if I've done something obviously wrong.
I've attached my aia file and a screen capture of the error.
--
댓글 없음:
댓글 쓰기