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: main.cpp
- Revision:
- 2:dd1c560b4906
- Parent:
- 1:534cb807eeff
- Child:
- 3:4f8f75f28cf8
diff -r 534cb807eeff -r dd1c560b4906 main.cpp
--- a/main.cpp Wed Sep 29 05:23:28 2021 +0000
+++ b/main.cpp Wed Sep 29 06:17:44 2021 +0000
@@ -93,7 +93,7 @@
}
uint8_t flash_is_wip() { // (WIP)Write In Progress(書込み中)かどうか確認
- uint8_t data; //❓
+ uint8_t data;
flash_rdsr(&data, 0x01); // 1byte(StatusRegister情報)
return(data & 0x01); //WIP // ビット演算_&
}
@@ -103,7 +103,7 @@
pc.printf("+0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +A +B +C +D +E +F\r\n");
pc.printf("-----------------------------------------------\r\n");
uint16_t depth = ((bytes - 1) >> 4) + 1;
- for(uint16_t j = 0 ; j < depth ; ++j){ //depthは何行❓
+ for(uint16_t j = 0 ; j < depth ; ++j){ //depthは何?
for(uint16_t i = 0 ; i < 16 ; ++i){
uint8_t d = data[i + (j << 4)];
pc.printf("%X", (d >> 4) & 0x0f);