Search found 24 matches

by uxhamby
Fri May 15, 2020 8:57 pm
Forum: General Discussion and Questions
Topic: interrupt flag / main code?
Replies: 1
Views: 622

interrupt flag / main code?

Hi, I have a generic ESP32 board set up running a hardware timer, causing an interrupt every 10 minutes to run a bit of code. All works fine except I am aware that my ISR is a bit more involved than is wise, with my bit of code built right in to it. Timing of my code is not critical within the execu...
by uxhamby
Tue Apr 21, 2020 9:11 pm
Forum: General Discussion and Questions
Topic: being pythonic ?
Replies: 4
Views: 270

Re: being pythonic ?

Thanks all. functions and operators in Python generally adapt to the type of their inputs Yes, I see the wisdom. I had thought I'd have different functions for other data types, but now lean towards data type detection and steering execution appropriately within the one function to handle the incomi...
by uxhamby
Mon Apr 20, 2020 9:48 pm
Forum: General Discussion and Questions
Topic: being pythonic ?
Replies: 4
Views: 270

being pythonic ?

Ok, so here is a question that is likely trivial but I am not readily finding any info on it. I have a bit of code that I want to make into a function but the code is expecting a 'float' type variable. How do I specify in the function definition to only accept floats when this function is called? Or...
by uxhamby
Sun Apr 19, 2020 3:03 pm
Forum: General Discussion and Questions
Topic: Downloads page? [SOLVED]
Replies: 3
Views: 198

Re: Downloads page? [SOLVED]

Thanks.

Brian H.
by uxhamby
Sat Apr 18, 2020 2:22 pm
Forum: General Discussion and Questions
Topic: Downloads page? [SOLVED]
Replies: 3
Views: 198

Downloads page? [SOLVED]

Hi, The other day, I visited the uPython ESP32 board d/l page for the latest version. I d/l'ed a file from the generic esp32 page named 'esp32-idf3-20200416-v1.12-375-g28833690b.bin'. This morning, I re visit the page to see if a later file is available but find that all the files on offer now have ...
by uxhamby
Thu Apr 16, 2020 3:31 pm
Forum: ESP32 boards
Topic: execute on power up, not getting the advertised results?
Replies: 5
Views: 203

Re: execute on power up, not getting the advertised results?

Hi Peter,

Yes, I was reaching the same conclusion myself. Cheers.

Brian H.
by uxhamby
Thu Apr 16, 2020 4:32 am
Forum: ESP32 boards
Topic: execute on power up, not getting the advertised results?
Replies: 5
Views: 203

Re: execute on power up, not getting the advertised results?

I took the dog for a walk and came back fresh to this. I am thinking it may be hardware related. I had the max7219 powered from an external 5v supply, to spare the usb the load of up to 64 leds. Both p/s grounds are common of course. I find that if I instead, supply the 7219 from the 5v pin on the E...
by uxhamby
Wed Apr 15, 2020 4:07 pm
Forum: ESP32 boards
Topic: execute on power up, not getting the advertised results?
Replies: 5
Views: 203

execute on power up, not getting the advertised results?

Hi, Similar to this recent post , I have written a bit of code which I now want to execute on power up but I am not getting the advertised results. I am using rshell to upload my code to a generic ESP32-S board from Ebay. from machine import Pin, SPI import time from NuovoLedControl import Nuovo7Seg...
by uxhamby
Sun Apr 12, 2020 4:00 pm
Forum: General Discussion and Questions
Topic: ESP32 loosing connection to mqtt server
Replies: 2
Views: 414

Re: ESP32 loosing connection to mqtt server

Hi, I am looking for a solution to this problem as well. In my case, I notice that reliability is better the physically closer the ESP32 is to the to the wifi access point, making me suspect that wifi disconnection is my problem. I originally set this up to monitor the temp at my next door neighbour...
by uxhamby
Wed Mar 18, 2020 9:32 pm
Forum: General Discussion and Questions
Topic: UART ?
Replies: 2
Views: 674

Re: UART ?

Thanks Robert.

BJH