| Programista: | Ferdinand Stueckler (32) | ||
| Cena: | Bezpłatny | ||
| Rankingi: | 0 | ||
| Opinie: | 0 Napisać recenzję | ||
| Listy: | 0 + 0 | ||
| Punkty: | 0 + 0 ¡ | ||
| Google Play | |||
Opis
Options:
- Indication: Default micro:bit mode (otherwise notification mode)
- LF: Linefeed added
- CR: Carriage return added
Requirements:
- Min. Android 5
- Bluetooth Low Energy (BLE)
- Paired devices
- micro:bit programm (developed by yourself)
V 2.1: Copy to Clipboard (Option Menu)
V 2.2: Clear List (Option Menu), No Log Option
V 2.5: Hex Mode
MBED example:
#include "MicroBit.h"
#include "MicroBitUARTService.h"
#include "BMP180.h"
MicroBit uBit;
MicroBitUARTService *uart;
BMP180 bmp180(P0_30, P0_0);
char buffer[80];
float pressure,temperature;
int connected = 0;
void onConnected(MicroBitEvent e)
{
uBit.display.scroll("C");
connected = 1;
}
void onDisconnected(MicroBitEvent e)
{
uBit.display.scroll("D");
connected = 0;
}
void onButtonA(MicroBitEvent e)
{
uBit.display.scroll(buffer);
}
void onButtonB(MicroBitEvent e)
{
uBit.display.scroll("SK");
}
/*
IMPORTANT !!!
Oherwise you will run out of memory !
Recommend disabling the DFU and Event services in MicroBitConfig.h since they are not needed here:
microbit->microbit-dal->inc->core->MicroBitConfig.h
#define MICROBIT_BLE_DFU_SERVICE 0
#define MICROBIT_BLE_EVENT_SERVICE 0
#define MICROBIT_SD_GATT_TABLE_SIZE 0x500
*/
int main()
{
bmp180.Initialize(64, BMP180_OSS_ULTRA_LOW_POWER);
pressure = -1;
temperature = -1;
if (bmp180.ReadData(&temperature,&pressure))
sprintf(buffer, "%.2f C %4.0f hPa", temperature, pressure);
else
sprintf(buffer,"NOK");
// Initialise the micro:bit runtime.
uBit.init();
uBit.messageBus.listen(MICROBIT_ID_BLE, MICROBIT_BLE_EVT_CONNECTED, onConnected);
uBit.messageBus.listen(MICROBIT_ID_BLE, MICROBIT_BLE_EVT_DISCONNECTED, onDisconnected);
uBit.messageBus.listen(MICROBIT_ID_BUTTON_A, MICROBIT_BUTTON_EVT_CLICK, onButtonA);
uBit.messageBus.listen(MICROBIT_ID_BUTTON_B, MICROBIT_BUTTON_EVT_CLICK, onButtonB);
uart = new MicroBitUARTService(*uBit.ble, 32, 32);
uBit.display.scroll(":)");
while(1)
{
pressure = -1;
temperature = -1;
if (bmp180.ReadData(&temperature,&pressure))
sprintf(buffer, "%.2f C %4.0f hPa", temperature, pressure);
else
sprintf(buffer,"NOK");
if (!connected) {
uBit.sleep(500);
}
else
{
uart->send(buffer);
uBit.sleep(1000);
}
}
release_fiber();
}
Zrzuty ekranu




Cena
- Dziś: Bezpłatny
- Minimalna: Bezpłatny
- Maksymalna: Bezpłatny
Monitoruj ceny
Programista
- Ferdinand Stueckler
- Platformy: Android Aplikacje (22) Windows Aplikacje (10)
- Listy: 0 + 0
- Punkty: 3 + 1,569 ¡
- Rankingi: 0
- Opinie: 0
- Zniżki: 0
- Filmy: 8
- RSS: Subskrybuj
Punkty
0 ☹️
Rankingi
0 ☹️
Listy
0 ☹️
Opinie
Bądź pierwszą osobą, która napisze recenzję 🌟
Dodatkowe informacje
- Wersja: 2.5
- Kategoria:
Android Aplikacje›Komunikacja - System operacyjny:
Android 4.3 - Rozmiar:
1 Mb - Ocena treści:
Everyone - Google Play Ocena:
0 - Zaktualizowano:
- Data wydania:
Kontakty
- Witryna internetowa:
http://lehrer.bulme.at/~sk
- 🌟 Udostępnij
- Google Play
Może ci się spodobać również
-
- Terminal Multi PRO
- Android Aplikacje: Komunikacja Przez: edodm85
- $0.99
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 0 Wersja: New Terminal Multi is a terminal app which provides three different communication types: 1) BLUETOOTH SPP: data are transmited/received between the phone and a bluetooth paired device via ... ⥯
-
- WiFi Terminal
- Android Aplikacje: Komunikacja Przez: Oxymora Technology Pvt. Ltd.
- Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 0 Wersja: 2.0.0 The WiFi Terminal App provides a robust platform for local network communication using both HTTP and TCP protocols. Ideal for developers, network administrators, or IoT enthusiasts, ... ⥯
-
- OBD Now Terminal
- Android Aplikacje: Komunikacja Przez: GLM Software
- Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 0 Wersja: 2.38 OBD Now Terminal for Android devices is similar to programs such as Hyper Terminal or Tera Term for Windows computers. The major difference is OBD Now Terminal is already preconfigured ⥯
-
- dataplicity - Terminal for Pi
- Android Aplikacje: Komunikacja Przez: MachineForest
- Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 1,383 (4.4) Wersja: 3.326.4 Remotely access your Raspberry Pi shell from any network without dynamic DNS, portforwarding or VPN. For more information, visit https://www.dataplicity.com/ * DOES IT WORK BEHIND NAT? ⥯
-
- BensinPris
- Android Aplikacje: Komunikacja Przez: Bit Factory
- Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 1,583 (2.7) Wersja: 4.0.3 Note! If you are experiencing trouble with this update, simply uninstall the previous version before updating! BensinPris gives you daily fuel prices in Norway. This is a community ... ⥯
-
- Afghan Internet Packs
- Android Aplikacje: Komunikacja Przez: Micro Toolkit
- * Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 133 (5.0) Wersja: 1.08 Afghan Internet Packs App is for Mtn, Etisalat, Roshan, Salam, Afghan Wireless mobile operators users All Mtn, Etisalat, Roshan, Salam, Afghan Wireless Internet & Minutes package ... ⥯
-
- Lynx Alerts
- Android Aplikacje: Komunikacja Przez: Micro Technology Services, Inc.
- Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 0 Wersja: 1.5.0 Lynx is a network-based duress and mass notification system. Utilizing an extensive catalog of input and output devices, the Lynx system can maximize situational awareness for ... ⥯
-
- trx-control
- Android Aplikacje: Komunikacja Przez: micro systems
- Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 0 Wersja: 1.1.12 trx-control is not a standalone app. It requires a trx-control(7) installation with a running trxd(8) daemon that has WebSockets enabled. The app connects to trxd(8) using a WebSockets ⥯
-
- School Update
- Android Aplikacje: Komunikacja Przez: bit media education solutions GmbH
- Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 0 Wersja: v5.4.0 The secure and smart communication solution for schools - available as a web application and as a mobile app! SchoolUpdate for smartphone and PC, as a mobile app and web application ... ⥯
-
- SecurLine by Privus
- Android Aplikacje: Komunikacja Przez: Bit Armor
- Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 0 Wersja: 4.0.2 SecurLine by Privus is the most advanced, secure and transparent HD quality voice/video/conferencing/group chat/file sharing encryption app, now with Post Quantum encryption by ... ⥯
-
- TBGram
- Android Aplikacje: Komunikacja Przez: Bit Video Status Maker and Video Editor with Music
- Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 0 Wersja: 9.8.9 TBGram is an unofficial messaging application using the Telegram API for Tibetan users ⥯
-
- Telegram
- Android Aplikacje: Komunikacja Przez: Telegram FZ-LLC
- * Bezpłatny
- Listy: 15 + 2 Rankingi: 5 (1) Opinie: 0
- Punkty: 24 + 16,337,867 (4.1) Wersja: 12.2.4 Pure instant messaging simple, fast, secure, and synced across all your devices. One of the top 5 most downloaded apps in the world with over 1 billion active users. FAST: Telegram is ... ⥯
-
- Sticker.ly - Sticker Maker
- Android Aplikacje: Komunikacja Przez: Naver Z Corporation
- * * Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 4 + 2,303,505 (4.5) Wersja: 3.25.0 Discover billions of funny WhatsApp animated stickers and create your own stickers (WAsticker). - Explore billions of meme animated stickers and use them in your chats and status - ... ⥯
-
- Bluetooth File Transfer
- Android Aplikacje: Komunikacja Przez: Medieval Software
- * Bezpłatny
- Listy: 0 + 1 Rankingi: 0 Opinie: 0
- Punkty: 1 + 247,060 (3.6) Wersja: 5.67 Use your smartphone to browse, explore and manage files of any Bluetooth ready device, using File Transfer Profile (FTP) and Object Push Profile (OPP): you can also receive files and ... ⥯