Good.so I can check off controlling the motors from Android. ![]() I’ve followed your example from above, and built the same WeDo app in App Inventor…quite easy like you said. Thanks a lot for your blog on Lego and especially Lego WeDo2.0. Damn easy to create an BLE Android app! Autor Major Alvega Publicado em 8 de Setembro de 2016 Categorias Sem categoria Now that I finally started, I think I will use App Inventor some more times. So I tried another block, “call BluetoothLE.WriteIntValue”. WriteStringValue” but I couldn’t find a way to convert an hexadecimal string (“06040109”) to a proper string to send. Then I tried a block called “call BluetoothLE. So I had to go back to my notes and find the Service UUID and the Characteristic UUID: service_uuid = 00004f0e-1212-efde-1523-785feabcd123Ĭharacteristic_uuid = 00001565-1212-efde-1523-785feabcd123 Just needed to add the BLE extension to start working, getting a connection was easy but writing to the handle took a while since App Inventor BLE extension doesn’t use handles, just UUIDs. When using gatttool that’s done with just char-write-cmd 3d 06040109 ![]() I just wanted to connect to the WeDo 2.0 Smart Hub and change the color to RED. ![]() I’ve never used App Inventor before but I had already installed the Companion once in my Android Phone because I read something somewhere and found it quite similar to Snap! and Scratch (and also just because it is from MIT… I have a fetiche for MIT back from when I was at college and read Nicholas Negroponte articles on Wired). Rocha is trying to use MIT App Inventor to control the WeDo 2.0 Smart Hub RGB LED.
0 Comments
Leave a Reply. |