Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: uart.cpp
- Revision:
- 4:7aa8cf0dd56f
- Parent:
- 2:f0fbb23b4605
diff -r 5abed822d8e7 -r 7aa8cf0dd56f uart.cpp
--- a/uart.cpp Fri Nov 23 08:03:44 2018 +0000
+++ b/uart.cpp Fri Nov 23 08:08:31 2018 +0000
@@ -30,7 +30,7 @@
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// UART 受信割り込みハンドラ for Arduino UNO(Six Axis Sensor)
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-void uartRxIntHndler46AxisS(){
+void uartRxIntHndler46Axis(){
//1Byte抜き出す
UCHAR buf = sp46Axis.getc();
//エコーバック
@@ -67,7 +67,7 @@
//受信割り込みハンドラ登録
sp46Axis.attach
- (uartRxIntHndler46AxisS //登録するハンドラ
+ (uartRxIntHndler46Axis //登録するハンドラ
,Serial::RxIrq //割り込み要因
);