Search found 99 matches

by rpr
Sun Aug 18, 2019 1:53 am
Forum: ESP8266 boards
Topic: Control-C program via rshell etc
Replies: 10
Views: 5395

Control-C program via rshell etc

I have an infinite loop running on my ESP8266 started at the end of my main.py. The program works fine and is sending data over mqtt. How can I interrupt it via rshell etc? rshell keeps waiting at the "Testing if ubinascii.unhexlify exists ..." How can I send a ctrl-C? Thanks for your help. This is ...
by rpr
Thu Aug 15, 2019 5:23 am
Forum: Programs, Libraries and Tools
Topic: uPydev - Command line tool for wireless Micropython devices
Replies: 2
Views: 2553

Re: uPydev - Command line tool for wireless Micropython devices

I have used it in a somewhat limited fashion and I like it. Being able to create groups and access individual boards is a nice feature. It will really help in management of network of micropython boards.
by rpr
Wed Aug 14, 2019 4:21 pm
Forum: Programs, Libraries and Tools
Topic: uPydev - Command line tool for wireless Micropython devices
Replies: 2
Views: 2553

Re: uPydev - Command line tool for wireless Micropython devices

This looks like a very comprehensive and useful tool. I will try it with my esp32 and esp8266 boards.
by rpr
Sun Aug 11, 2019 11:31 pm
Forum: ESP32 boards
Topic: Trouble connecting to SPI display sh1106
Replies: 9
Views: 5935

Re: Trouble connecting to SPI display sh1106

I don't have this board and have not used the SPI as well so my response may be naive. From the docs it appears that VSPI is at SPI(2).

http://docs.micropython.org/en/latest/e ... re-spi-bus
by rpr
Tue Aug 06, 2019 5:34 am
Forum: Development of MicroPython
Topic: C coding examples for MicroPython Functions and Methods
Replies: 3
Views: 4959

Re: C coding examples for MicroPython Functions and Methods

Just wanted to add that it does work in mainline micropython just fine.

PS: And Matt, nice talk at PyCon AU.
by rpr
Tue Jul 23, 2019 3:16 pm
Forum: ESP32 boards
Topic: esp32 internal temperature sensor
Replies: 7
Views: 12459

Re: esp32 internal temperature sensor

I am getting about 52 deg C. This is on a cold start with no processing except a repl. Not sure what the limits are. I think devices can do 60 deg C OK.
by rpr
Tue Jul 23, 2019 12:58 am
Forum: ESP32 boards
Topic: esp32 internal temperature sensor
Replies: 7
Views: 12459

Re: esp32 internal temperature sensor

The value is in deg Fahrenheit. import esp32 tf = esp32.raw_temperature() tc = (tf-32.0)/1.8 print("T = {0:4d} deg F or {1:5.1f} deg C".format(tf,tc)) That said, I saw this thread on github: https://github.com/espressif/arduino-esp32/issues/2422 , which mentions that this function is deprecated on n...
by rpr
Wed Jul 17, 2019 3:48 pm
Forum: ESP32 boards
Topic: main.py does not appear to working after boot
Replies: 50
Views: 36194

Re: main.py does not appear to working after boot

Can you try a simple boot.py and main.py?

Edit to add: Can you use the

Code: Select all

 code 
block so that it can be easier to see the indentation?
by rpr
Wed Jul 17, 2019 6:42 am
Forum: Other Boards
Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 167
Views: 309513

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

See the main page (https://github.com/micropython/micropython). From the base MicroPython directory:

Code: Select all

$ cd mpy-cross
$ make
by rpr
Wed Jul 17, 2019 1:43 am
Forum: ESP32 boards
Topic: main.py does not appear to working after boot
Replies: 50
Views: 36194

Re: main.py does not appear to working after boot

This maybe a silly suggestion. Put 'import main' as the last line of your boot.py. Or rename it as a different file.

Can you post your (redacted/reduced) boot.py and main.py scripts?

Edit: Other suggestions

Remove your 'boot.py' and just leave 'main.py' that blinks an LED.