Reading pin values from RedBearDuo over BLE in swift for an iOS app


#1

Hey guys,

I’m developing an app which can connect to the RedBear Duo via bluetooth and then can read and write values to analog/digital pins.

I have the connection part down (used the code from the open source Red Bear app). Where I’m stuck is how to read or write values to the digital or analog pins on my redbear duo using bluetooth?


#2

Hi @renegade, you can look into the BLEController sketch or even more BLE examples to grab more experience on programming the RedBear Duo.

Best regards,
Guohui