2014년 12월 1일 월요일

Bluetooth connection blocks

Hi guys, so i'm new using this app as well to the developer world, i have an electronics background, but my coding skills are pretty basic, right now im trying to get to work a bluetooth module with an arduino uno, which works, i downloaded another app to send data to it to and i can turn stuff on and off, and works good, except that  the interface of these apps are pretty basic, meaning you have to write values manually to send them, so im trying to build an app that does the same, send data values but pushing buttons, so basically the app needs buttons and each buttons sends a different value, i got that pretty much down, but im not sure how to use the integrated functions to create a Bluetooth connection, i know i have to use the "Listpicker" function but i cant get it to work right, i attached a pic of what i got so far, all i need to do is create a "listpicker", then choose the bluetooth device i want to use, and then connect to it, and go back to the main screen, i actually build this on "app inventor 1" but on "app inventor 2" they took out a block that connects blocks that can't be matched because of connector position, (see attachment file called "connector" ) any help is much appreciated, thank you!






Advice: Before posting, it's a good idea to search in this forum. Many others have likely run into problems similar to yours. How to search see screenshot.


댓글 없음:

댓글 쓰기