no | item | title | name | date | hit |
---|---|---|---|---|---|
27145 |
스마트 무드등 문의 ![]() |
양경아 | 2024-06-18 | 1 | |
27142 |
앱인벤터 에러 ![]() ![]() |
양경아 | 2024-06-18 | 13 | |
27141 |
앱인벤터 에러 ![]() ![]() |
양경아 | 2024-06-18 | 9 | |
27134 |
메탈 RC카 모터드라이버쉴드 ![]() |
박채영(기가바이트) | 2024-06-15 | 10 | |
27129 |
![]() ![]() |
귀차나 | 2024-06-14 | 6 |
----------------------------------
#include SoftwareSerial.h //헤더에 꺾쇠 가로 닫기 해주세요
#define BT_RXD A2
#define BT_TXD A3
SoftwareSerial bluetooth(BT_RXD, BT_TXD);
void setup() {
Serial.begin(9600);
bluetooth.begin(9600);
}
void loop() {
if (bluetooth.available()) {
Serial.write(bluetooth.read());
}
if (Serial.available()) {
bluetooth.write(Serial.read());
}
}