This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
digispark:tutorials:bt [2014/11/19 18:07] digistump |
digispark:tutorials:bt [2015/01/07 21:26] digistump [Programming:] |
||
|---|---|---|---|
| Line 54: | Line 54: | ||
| =====Programming:===== | =====Programming:===== | ||
| + | |||
| + | **Mobile app examples for Android (phonegap/cordova based):** | ||
| + | (these can be edited with only a working knowledge of Javascript and HTML - see phonegap.com for more about how it all works - Arduino code included in files) | ||
| + | |||
| + | https://github.com/digistump/Digispark_Cordova_BTShieldEcho | ||
| + | |||
| + | https://github.com/digistump/Digispark_Cordova_BTShieldRobot | ||
| Line 59: | Line 66: | ||
| Grab blueterm: https://play.google.com/store/apps/details?id=es.pymasde.blueterm&hl=en | Grab blueterm: https://play.google.com/store/apps/details?id=es.pymasde.blueterm&hl=en | ||
| Send 0 or 1 from blueterm to the bluetooth device. The LED will turn on and off. | Send 0 or 1 from blueterm to the bluetooth device. The LED will turn on and off. | ||
| - | If prompted for a pairing code it is 12345 | + | If prompted for a pairing code it is 1234, 12345, or 000000 |
| - | **Note:** Code also may be "000000", found on this data sheet http://www.tinyosshop.com/datasheet/Tinysine%20Serial%20Bluetooth4%20user%20manual.pdf | ||
| <code> | <code> | ||
| int ledpin=1; //on board led | int ledpin=1; //on board led | ||