#include #include #include char txb[10],rxb[10]; unsigned char snd_data[7] = {255,100,1,80}; /* サーボ駆動用データ */ unsigned char rcv_data[6]; /* 受信結果格納用 */ /* -----mSウェイト関数----- */ void wait_ms(int msec) { int count; TCCR2 |= (1< (127+20)){ PORTC &= ~(1<