Search found 16 matches

by AJB2K3
Sat Nov 21, 2020 7:35 pm
Forum: ESP32 boards
Topic: Persistent value storage.
Replies: 4
Views: 255

Re: Persistent value storage.

Roberthh wrote:
Sat Nov 21, 2020 5:34 pm
For the file system you can use the usual Python file operations. Just look for it in any Python lesson.
Again, I would just like to say thank you very much.
And thank you for the pointer where to look.
I wish there was a reputation function on this forum so I could +1 you rep.
Thanks mate
by AJB2K3
Sat Nov 21, 2020 5:05 pm
Forum: ESP32 boards
Topic: Persistent value storage.
Replies: 4
Views: 255

Re: Persistent value storage.

Thank you for taking the time to answer.

Is there away to write a value to it in micropython?
Looking to store temperate say 36.60 and then put the esp32 to sleep and then wake up after some time and only change the value if it changes significantly before writing to an e-Ink screen.
by AJB2K3
Sat Nov 21, 2020 2:58 pm
Forum: ESP32 boards
Topic: Persistent value storage.
Replies: 4
Views: 255

Persistent value storage.

Sorry is this goes way beyond a Idiotic question but I cant for the life of me.
Is there anywhere on an esp32 pico D4 to store values that will not be deleted or lost when the primary cores are powered down of the esp32 is powered off?
by AJB2K3
Fri Feb 07, 2020 8:57 pm
Forum: General Discussion and Questions
Topic: Rotary encoder.
Replies: 8
Views: 1337

Re: Rotary encoder.

Stms?
Does that include the f103 aka the blue pill?
I'm starting to look at building around a stm
by AJB2K3
Sat Feb 01, 2020 7:56 pm
Forum: General Discussion and Questions
Topic: Rotary encoder.
Replies: 8
Views: 1337

Rotary encoder.

Warning Newbie alert! Hi guys, I want to use and ESP 32 as a wireless controller for film editing. I have micropython reading the states of the two pins but I lack the understanding of working out the logic of getting micropython to tell me which way the rotary encoder is turning. I know there are 2...
by AJB2K3
Tue Jun 25, 2019 5:12 am
Forum: ESP32 boards
Topic: .BMP image issues.
Replies: 4
Views: 1017

Re: .BMP image issues.

I believe the current port uses MP 1.10.
I haven't had time to return to this code as I have been busy understanding other aspects of MP code.
by AJB2K3
Sat Jun 01, 2019 7:21 am
Forum: ESP32 boards
Topic: Scrolling text help please.
Replies: 0
Views: 835

Scrolling text help please.

I'm working on a scrolling text demo on the M5Stack and this is my code from m5stack import * from m5ui import * clear_bg(0x222222) btnA = M5Button(name="ButtonA", text="ButtonA", visibility=False) btnB = M5Button(name="ButtonB", text="ButtonB", visibility=False) btnC = M5Button(name="ButtonC", text...
by AJB2K3
Thu May 16, 2019 4:57 pm
Forum: ESP32 boards
Topic: RuntimeError: Wifi Unknown Error 0x0005
Replies: 3
Views: 1821

Re: RuntimeError: Wifi Unknown Error 0x0005

I'm not sure as I don't have enough knowledge so I'm guessing here but

Does ap.active need to be before ap.config?

I'm noticed errors popping up when code isn't in the correct order.
by AJB2K3
Tue May 14, 2019 5:50 am
Forum: ESP32 boards
Topic: .BMP image issues.
Replies: 4
Views: 1017

Re: .BMP image issues.

So M5 is a fork of a fork of MicroPython, so this might not be the ideal place to find help. Maybe try http://community.m5stack.com/ But some ideas to try: - Can you try this with a simpler example? Maybe try doing this entirely on the REPL: - Use os.listdir to confirm that the file definitely exis...
by AJB2K3
Sun May 12, 2019 6:54 pm
Forum: ESP32 boards
Topic: .BMP image issues.
Replies: 4
Views: 1017

.BMP image issues.

I'm struggling to get an image to show on the screen of an m5Stack. I have managed to reduce the file to 6Kb and it is supposed to be on the devices internal storage but it doesn't show on screen. This is my code. from m5stack import * from m5ui import * clear_bg(0x222222) btnA = M5Button(name="Butt...