micro:bit Numeric 아이콘

micro:bit Numeric


Ferdinand Stueckler
2.2
  • Dec 24, 2021
    Update date
  • Everyone
  • Android 5.0+
    Android OS

micro:bit Numeric 정보

마이크로에 숫자 데이터를 보내기 : 비트 디바이스 (블루투스 연결)

This app communicates between Android and a micro:bit device. You can transmit numeric data as text or value. The UART communication also has to be implemented at the micro:bit device.

Text enabled: text data transmission

Text disabled: numeric data transmission

Newline enabled: '\n' (newline) added

Newline disabled: no additional data

Zero enabled (Touch/Sense enabled): Send 0 on release button

For PXT programming you have to enable Text and Newline.

Requirements:

- Min. Android 4.4

- Bluetooth Low Energy (BLE)

- Paired devices !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

- micro:bit programm (developed by yourself)

PXT javascript example:

let str = ""

let connected = 0

input.onButtonPressed(Button.A, () => {

if (connected) {

bluetooth.uartWriteString("A")

}

})

bluetooth.onBluetoothConnected(() => {

connected = 1

})

bluetooth.onBluetoothDisconnected(() => {

connected = 0

})

bluetooth.startUartService()

basic.forever(() => {

if (connected == 1) {

str = bluetooth.uartReadUntil(serial.delimiters(Delimiters.NewLine))

if (str == "B") {

basic.showString("Hi")

} else {

basic.showString(str)

}

} else {

basic.showLeds(`

. . . . .

. # . # .

. . . . .

# . . . #

. # . # .

`)

}

})

Remark: Do not forget to pair devices (after micro:bit program changes)

더 보기

추가 앱 정보

최신 버전

2.2

업로드한 사람

Staruiala Marius

필요한 Android 버전

Android 5.0+

콘텐츠 등급

Everyone

최신 버전 2.2의 새로운 기능

Last updated on Jan 22, 2021

bug receiving solved

더 보기

micro:bit Numeric 스크린 샷

micro:bit Numeric 포스터micro:bit Numeric 스크린샷 1micro:bit Numeric 스크린샷 2micro:bit Numeric 스크린샷 3micro:bit Numeric 스크린샷 4

관련 태그

지난 24시간 동안의 인기 기사

검색 중...
APKPure를 구독하십시오
최고의 Android 게임 및 앱의 초기 릴리스, 뉴스 및 가이드에 액세스하는 첫 번째 사람이 되십시오.
고맙지 만 사양 할게
가입하기
성공적으로 구독!
당신은 이제 APKPure에 가입되었습니다.