Arduino/シリアル通信 のバックアップソース(No.2) |
* 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 ; ### ### int counter; void setup() { Serial.begin(9600); counter = 0; delay(100); } void loop() { Serial.println(counter++); delay(100); } ### |