Search found 640 matches

by Damien
Thu Jul 25, 2019 3:42 am
Forum: Programs, Libraries and Tools
Topic: uPing - Ping library for MicroPython
Replies: 21
Views: 13335

Re: uPing - Ping library for MicroPython

Thanks for testing. I think raw sockets are a good addition (should have been done earlier!).

Would be good to put the uping.py script in a repository somewhere so it can be maintained.
by Damien
Wed Jul 24, 2019 2:34 pm
Forum: Programs, Libraries and Tools
Topic: uPing - Ping library for MicroPython
Replies: 21
Views: 13335

Re: uPing - Ping library for MicroPython

I've been able to add support for SOCK_RAW on esp8266 and stm32 boards, and tested that uPing then works on these ports. See pull request here: https://github.com/micropython/micropython/pull/4946
by Damien
Fri Jul 05, 2019 2:21 am
Forum: General Discussion and Questions
Topic: Could not attach screenshot in my reply for a thread
Replies: 3
Views: 926

Re: Could not attach screenshot in my reply for a thread

I was able to attach a small image in the post above. The maximum attachment size is 320k. What size is your attachment?
by Damien
Fri Jul 05, 2019 2:20 am
Forum: General Discussion and Questions
Topic: Could not attach screenshot in my reply for a thread
Replies: 3
Views: 926

Re: Could not attach screenshot in my reply for a thread

test attachment
rt.jpg
rt.jpg (14.87 KiB) Viewed 900 times
by Damien
Tue Jul 02, 2019 7:32 am
Forum: General Discussion and Questions
Topic: Freezing / Compiling raw binary data in DFU
Replies: 11
Views: 2493

Re: Freezing / Compiling raw binary data in DFU

As mentioned above, you can use frozen scripts to store a bytes object in ROM. An alternative: to load binary data to some external device (here SPI RAM) then you could simply store that binary data directly on the filesystem as a binary file, then copy it to the external SPI RAM device using a simp...
by Damien
Wed May 15, 2019 2:27 pm
Forum: Newsletter archive
Topic: MicroPython Newsletter Issue 9
Replies: 2
Views: 3417

MicroPython Newsletter Issue 9

Dear community, This is a brief newsletter to announce that at UTC 17:00 today (15th May 2019) we will make available new stock in the MicroPython online store. All pyboard D-series boards and accessories will be available. And to celebrate that it was just (two weeks ago) MicroPython's 6th Birthday...
by Damien
Wed May 15, 2019 6:52 am
Forum: ESP8266 boards
Topic: send HTTP Request ESP8266
Replies: 16
Views: 6700

Re: send HTTP Request ESP8266

To do a HTTP(s) request as a client you can use the urequests module. Install with upip.install('urequests') and then use:

Code: Select all

import urequests
response = urequests.get(URL)
print(response.text)
response.close()
(Make sure to use the latest firmware version.)
by Damien
Wed May 15, 2019 1:54 am
Forum: Pyboard D-series
Topic: Pyboard D - Accessories - Availability?
Replies: 7
Views: 1871

Re: Pyboard D - Accessories - Availability?

There was a big demand for these and everything sold out very quickly. All boards and accessories were scheduled for their next manufacturing run some weeks ago and the PYBD and DIP adaptors are done, we are just waiting on the eMMC, LED36 and SENSA accessories, which should be complete any day now....
by Damien
Tue May 14, 2019 5:45 am
Forum: General Discussion and Questions
Topic: Push files from local to PyBoard
Replies: 4
Views: 1340

Re: Push files from local to PyBoard

You may also be interested in the following tool: https://github.com/micropython/micropython/pull/3034
by Damien
Mon Apr 29, 2019 1:09 pm
Forum: Newsletter archive
Topic: MicroPython Newsletter Issue 8
Replies: 7
Views: 7130

MicroPython Newsletter Issue 8

Dear community, Today is MicroPython's Birthday! Six years ago on this date, the 29th of April, the initial goals and first line of code for what is now MicroPython were written. Here is an excerpt from the initial notes. The title is "Python board" and the date is 29 April 2013: Python board 29/4/2...