spp (1) 썸네일형 리스트형 Raspberry Pi Pico W - Bluetooth BT Serial SPP 테스트 Raspberry Pi Pico W Bluetooth 는 BLE 및 Classic Bluetooth 기능를 제공하고 시리얼 기능이 있는 SPP를 테스트 해보자. SPP는 기존 시리얼 통신 프로그램 기반 프로그램을 별다른 변경없이 무선으로 바꿀수 있다. 테스트 코드는 시리얼 포트로 송수신되는 데이터를 Bluetooth SPP로 주고 받을 수 있는 간단한 코드 이다. #include #define SerialDebug Serial1 void setup() { SerialBT.begin(); SerialDebug.begin(115200); SerialDebug.println("Pico W BT Serial Test."); pinMode(LED_BUILTIN,OUTPUT); } void loop() { byte.. 이전 1 다음