Arduino/シリアル通信 のバックアップソース(No.3) |
* Bluetooth+SBDBT [#rfe9bad1] | |*↓挿入口↓|<|<|| |*5|PGEC1 ||STATUS|*10| |*4|PGED1 ||CTS |*9 | |*3|GND ||RX |*8 | |*2|VDD=3V||TX |*7 | |*1|RESET ||RTS |*6 | ### Arduino arduino; SBDBT sbdbt; sbdbt.gnd = Arduino.gnd; sbdbt.vdd = Arduino.3V ; sbdbt.rx = Arduino.tx ; sbdbt.tx = Arduino.rx ; sbdbt.cts = sbdbt.rts ; ### ### void setup() { Serial.begin(9600); } int c = 0; void loop() { Serial.println(c++); delay(500); } ### |