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.
Dependencies: DataControl
Revision 3:906335cad175, committed 2022-09-09
- Comitter:
- ikarashikota
- Date:
- Fri Sep 09 07:17:01 2022 +0000
- Parent:
- 2:05d0790d0fc6
- Child:
- 4:d4c9f57a98c6
- Commit message:
- :-):-):-)
Changed in this revision
| ikarashiCAN.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/ikarashiCAN.h Fri Aug 26 14:25:54 2022 +0000
+++ b/ikarashiCAN.h Fri Sep 09 07:17:01 2022 +0000
@@ -33,7 +33,7 @@
}
void add(){
- led != led;
+ led = !led;
data++;
ican1.setData(data);
@@ -79,7 +79,7 @@
/** 送信するデータをセットする関数
*
* 一度送信するデータをセットします。
- * @typedef T 無の型です。一旦値を保持するための型
+ * @typedef T 一旦値を保持するための型
* @param _data 一旦値を保持する変数
*/
template <class T>
@@ -120,6 +120,7 @@
/** attach関数
*
* recieve関数のattachバージョン。データが送信されたときに自動で受信します。
+ * @attention mbed-os5以上だとバグるみたいです。mbed2を使うか、素のrecieve関数を使ってください
*/
void startRecieve();