Search found 410 matches

by mattyt
Wed Mar 20, 2019 4:05 am
Forum: Programs, Libraries and Tools
Topic: Fast RGB to HSV (And vice versa) calculations?
Replies: 18
Views: 12829

Re: Fast RGB to HSV (And vice versa) calculations?

According to the forum post native and viper decorators on the ESP32 neither decorators are available for the ESP32.

It's possible that it has been added to the ESP32 port since that post but I couldn't find anything obvious in the codebase that made it clear...
by mattyt
Wed Mar 20, 2019 1:47 am
Forum: Programs, Libraries and Tools
Topic: Fast RGB to HSV (And vice versa) calculations?
Replies: 18
Views: 12829

Re: Fast RGB to HSV (And vice versa) calculations?

Viper is great - unless you want it to work on multiple ports. Most of my development is on the ESP32 right now where there is no Viper implementation...
by mattyt
Wed Mar 20, 2019 12:55 am
Forum: Programs, Libraries and Tools
Topic: Fast RGB to HSV (And vice versa) calculations?
Replies: 18
Views: 12829

Re: Fast RGB to HSV (And vice versa) calculations?

Completely understand; so perhaps start with trying to apply the MicroPython performance suggestions. I'd like to tackle implementing it as C module but spare time is currently in desperately short supply! I'll bump it up the priority list and try to get to it... In the meantime, please keep us post...
by mattyt
Tue Mar 19, 2019 1:46 am
Forum: Programs, Libraries and Tools
Topic: Fast RGB to HSV (And vice versa) calculations?
Replies: 18
Views: 12829

Re: Fast RGB to HSV (And vice versa) calculations?

I suggest first taking a look at Maximising MicroPython Speed to determine if you can apply any of the techniques there to improve the performance in MicroPython. Damien's PyCon AU talk on Writing fast and efficient MicroPython is full of useful tips too. Some of those may help get performance to an...
by mattyt
Mon Mar 18, 2019 3:04 am
Forum: Other Boards
Topic: [ESP32] New dev board
Replies: 48
Views: 26581

Re: [ESP32] New dev board

The TinyPICO is Coming Soon!

Read more at the Introducing the TinyPICO forum post.
by mattyt
Mon Mar 18, 2019 3:01 am
Forum: ESP32 boards
Topic: Introducing the TinyPICO
Replies: 5
Views: 3736

Introducing the TinyPICO

Hi folks, Way back in September I posted that Seon ( @seonr ) and I had begun development on a small ESP32 board that was breadboard - and MicroPython! - friendly. The design has been improved and refined over a number of revisions - in no small part due to the excellent feedback we received from th...
by mattyt
Tue Mar 12, 2019 8:55 am
Forum: General Discussion and Questions
Topic: Something like Threading/Queue in MicroPython?
Replies: 8
Views: 10870

Re: Something like Threading/Queue in MicroPython?

Without knowing your use case, it's hard to say what the right solution is - but asyncio is a fair bet. ;) Peter Hinch has implemented Queue for asyncio. Check it out and see if it fits. Threads are possible but they come with added complexity and a less mature implementation (no threading library o...
by mattyt
Mon Mar 11, 2019 6:58 pm
Forum: Newsletter archive
Topic: MicroPython Newsletter Issue 6
Replies: 8
Views: 64303

Re: MicroPython Newsletter Issue 6

Really exciting Damien, congrats! Looking forward to getting my hands on a Pyboard D to put it through it's paces!
by mattyt
Sun Mar 10, 2019 1:25 am
Forum: General Discussion and Questions
Topic: Melbourne MicroPython Meetup material
Replies: 5
Views: 3903

Re: Melbourne MicroPython Meetup material

@kevinkk525 Thanks to you and Peter (@pythoncoder) for your work on micropython-iot ! @pagano.paganino No problem, and thanks for writing ucryptoauthlib . One of the people in the meetup was super interested in this library as they are looking to use the ATECC508A... @OutoftheBOTS_ a like button wou...
by mattyt
Thu Mar 07, 2019 12:26 am
Forum: General Discussion and Questions
Topic: fastest way to fill large bytearrays? (Neopixel, APA102 et al)
Replies: 15
Views: 33087

Re: fastest way to fill large bytearrays? (Neopixel, APA102 et al)

Also, if you are using APA102's you might want to take a look at my micropython-dotstar library. As discussed in this forum post, @bill-e was able to update 3000 APA102's in about a second using it. Hope that helps!