no | item | title | name | date | hit |
---|---|---|---|---|---|
27182 | 안녕하세요! 자세한 문의 드립니다 | 217753651@n | 2024-06-27 | 73 | |
27179 |
rosmaster x3 plus ![]() |
나-이광희 | 2024-06-26 | 100 | |
27167 |
![]() ![]() |
wogus1971 | 2024-06-21 | 22 | |
27166 |
![]() |
wogus1971 | 2024-06-21 | 24 | |
27161 |
![]() |
kjs | 2024-06-20 | 15 |
----------------------------------
#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());
}
}