Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.

All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
RawSerial、使ってもいいですか?で話題にしていましたが、Serialの動作が正しく無いと思われます。
1. XBeeのTX/RXが逆
serial_api.cのPinMap_UART_TX/RXでP7_4とP7_5が逆に定義されている
2. P5_6, P5_7で使えない
P5_6,P5_7を指定してSerialのインスタンスを作成しても使えない。また、同時に他のSerialインスタンスでも通信できなくなる?
3. attach()が正常に動作しない
以下のコードを実行すると、想定動作は「ずっとLEDが点滅し、何か送信するとエコーバックする」はず(少なくとも青mbedはそう動く)。
が、GR-PEACHでは点滅しない。何か送信すると一つ進む。(waitが帰って来ない?)