Page 188 - MDP2020-2
P. 188
| 인천전자마이스터고등학교 ·············································································································
182
3. 핵심내용
가. CYCLONE42(FPGA)
나. Bluetooth 통신을 활용한 FPGA(Raspberry, Atmega128) 제어기술
/*
//블루투스 이름 변경
//참고 싸이트 :
https://m.blog.naver.com/PostView.nhn?blogId=zeta0807&logNo=221179614788&proxyReferer=http
s:%2F%2Fwww.google.com%2F
#include <SoftwareSerial.h>
SoftwareSerial BTSerial(2, 3); //bluetooth module Tx:Digital 2 Rx:Digital 3
void setup() {
Serial.begin(9600);
BTSerial.begin(9600);
}
void loop() {
if (BTSerial.available())
Serial.write(BTSerial.read());
if (Serial.available())
BTSerial.write(Serial.read());
}
*/