Rename Directory
This commit is contained in:
parent
4fd8a0a761
commit
74c37e3747
63 changed files with 2 additions and 4 deletions
26
ESPMegaPRO-OS-SDK/src/dump_fram.cpp.disabled
Normal file
26
ESPMegaPRO-OS-SDK/src/dump_fram.cpp.disabled
Normal file
|
@ -0,0 +1,26 @@
|
|||
#include <ESPMegaPRO_OOP.hpp>
|
||||
|
||||
ESPMegaPRO espmega = ESPMegaPRO();
|
||||
|
||||
void setup() {
|
||||
espmega.begin();
|
||||
//espmega.fram.write8(301, 25);
|
||||
// Dump FRAM to a prettified table
|
||||
for (int i = 0; i < 500; i++) {
|
||||
if (i % 16 == 0) {
|
||||
Serial.printf("\n%03d: ", i);
|
||||
}
|
||||
Serial.printf("%03d ", espmega.fram.read8(i));
|
||||
}
|
||||
|
||||
// Dump FRAM again but treat it as a long string
|
||||
Serial.printf("\n\n");
|
||||
for (int i = 0; i < 500; i++) {
|
||||
Serial.printf("%d: %c\n", i,espmega.fram.read8(i));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void loop() {
|
||||
espmega.loop();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue