From 2c600e6f3cdb560c7cedf744898f0865975f1460 Mon Sep 17 00:00:00 2001 From: "E.T" Date: Thu, 8 Jun 2023 09:59:51 +0200 Subject: [PATCH] Updated Debug (markdown) --- Debug.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Debug.md b/Debug.md index fdb3e18..1753c7a 100644 --- a/Debug.md +++ b/Debug.md @@ -13,3 +13,7 @@ Data is provided by the MAX 2837 on chip digital temperature sensor. The accurac ## Buttons Test This shows when either the buttons are pressed, the encode knob is turned or the screen is touched. It can also show if the encoder when turned is cleanly stepping the states as it is turned. Note on cheep portapack clones of the encode that is 24 step version can be over sensitive and miss steps. It can be changed with a better-quality version. ![SCR_0013](https://github.com/eried/portapack-mayhem/assets/125336/1415257f-e322-428c-801d-71977603640e) +### Pmem +Displays the contents of the persitent memory area (256 bytes) +It is split into three pages, pages can be changes with the encoder and the current offset from the start of pmem area is displayed on the top "XX+" +At the bottom also the current size of the data_t struct is displayed (this is what we persist into pmem) and the currently stored checksum (it is calculated from the first 252 bytes of the pmem area when changes are made to the settings and then written to the last 4 bytes of pmem) \ No newline at end of file