아두이노 메가 블루투스 썸네일형 리스트형 블루투스 아두이노 메가 연결 테스트 Arduino Mega2560 과 Bluetooth 연결 아두이노 메가 2560의 TX1, RX1 핀 -핀번호 18, 19번-을 블루투스 모듈 HC-06 의 RX, TX 와 연결한다. 아래 소스코드를 업로드 하고 실행한다. 123456789101112131415161718192021//Bluetooth 모듈 HC-06 Test Program // Android APP is BT Chat App void setup() { // put your setup code here, to run once: Serial.begin(9600); Serial.println("Hello!"); Serial1.begin(9600);} void loop() { // put your main code here, to run repeatedly: if (Serial1.available(.. 이전 1 다음