开发人员: | Ferdinand Stueckler (32) | ||
价格: | 免费 | ||
排名: | 0 | ||
评价: | 0 我要评价 | ||
列表: | 0 + 0 | ||
积分: | 0 + 0 ¡ | ||
Google Play |
说明
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();
}
屏幕截图




价格
- 今天: 免费
- 最小值: 免费
- 最大值: 免费
可选
开发人员
- Ferdinand Stueckler
- 平台: Android 应用 (22) Windows 应用 (10)
- 列表: 0 + 0
- 积分: 3 + 1,572 ¡
- 排名: 0
- 评价: 0
- 折扣: 0
- 视频: 8
- RSS: 订阅
积分
0☹️
排名
0☹️
列表
0☹️
评价
抢先评价一下吧 🌟
其他信息
- 版本: 2.5
- ID: com.ble.microbit.uart
- 类别:
Android 应用
›通讯
- 操作系统:
Android 4.3
- 大小:
1 Mb
- 内容分级:
Everyone
- Google Play 评分:
0
- 已更新:
- 发布日期:
通讯录
您可能还喜欢
-
- Terminal Multi PRO
- Android 应用: 通讯 来自: edodm85
- $0.99
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 0 版本: 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 应用: 通讯 来自: Oxymora Technology Pvt. Ltd.
- 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 0 版本: 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 应用: 通讯 来自: GLM Software
- 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 0 版本: 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 应用: 通讯 来自: MachineForest
- 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 1,381 (4.3) 版本: 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 应用: 通讯 来自: Bit Factory
- 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 1,582 (2.7) 版本: 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 应用: 通讯 来自: Micro Toolkit
- * 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 125 (5.0) 版本: 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 应用: 通讯 来自: Micro Technology Services, Inc.
- 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 0 版本: 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 应用: 通讯 来自: micro systems
- 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 0 版本: 1.1.11 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 应用: 通讯 来自: bit media education solutions GmbH
- 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 0 版本: 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 应用: 通讯 来自: Bit Armor
- 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 0 版本: 4.0.1 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 应用: 通讯 来自: Bit Video Status Maker and Video Editor with Music
- 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 0 版本: 9.8.9 TBGram is an unofficial messaging application using the Telegram API for Tibetan users ⥯
-
- Telegram
- Android 应用: 通讯 来自: Telegram FZ-LLC
- * 免费
- 列表: 15 + 2 排名: 5 (1) 评价: 0
- 积分: 23 + 16,185,045 (4.1) 版本: 12.0.1 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 应用: 通讯 来自: Naver Z Corporation
- * * 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 4 + 2,294,129 (4.5) 版本: 3.22.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 应用: 通讯 来自: Medieval Software
- * 免费
- 列表: 0 + 1 排名: 0 评价: 0
- 积分: 1 + 250,346 (3.6) 版本: 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 ... ⥯