Search found 219 matches

by torwag
Mon Jul 31, 2017 12:19 pm
Forum: ESP8266 boards
Topic: A "resilient" asynchronous MQTT client
Replies: 18
Views: 6488

Re: A "resilient" asynchronous MQTT client

Hi Peter, I got your MQTT-as working on a standard sonoff device. Even more, I was able to use your aswitch and Delay_ms functions to create a proper asynchronous function for the (on board) press button. Having a device as as small as sonoff and even three possible trigger with a single button is r...
by torwag
Fri Jul 28, 2017 9:08 am
Forum: ESP8266 boards
Topic: A "resilient" asynchronous MQTT client
Replies: 18
Views: 6488

Re: A "resilient" asynchronous MQTT client

Hi Peter, as I understood your main project, you are going to use the ESP as a MQTT-WIFI module, as it was intended orignally (plus the MQTT). Enabling any other controller to speak to a MQTT broker via wifi. Do I get this right? [EDIT] I got a bit confused until I reread your first statement in the...
by torwag
Tue Jul 11, 2017 7:26 pm
Forum: General Discussion and Questions
Topic: How to use scipy in micropython
Replies: 6
Views: 3577

Re: How to use scipy in micropython

Hi and welcome, there is not much you can do as their is and will never be a port of numpy and scipy to Micropython. These are very huge libraries, which will never fit on a microcontroller, both in terms of memory and in terms of complexity. The thing you can do, try to isolate what you want to do ...
by torwag
Sun Jul 09, 2017 8:33 pm
Forum: ESP8266 boards
Topic: Feedback on uart_swap implementation
Replies: 5
Views: 3189

Re: Feedback on uart_swap implementation

@Damien: Thanks that was exactly the feedback, I was looking for. I discussed this already with deshipu on IRC and he suggested to add this to the Uart init function as well. As people can basically switch forth and back at will during execution and as this is only about IO swapping (not buffer), I ...
by torwag
Tue Jul 04, 2017 8:15 am
Forum: ESP8266 boards
Topic: Feedback on uart_swap implementation
Replies: 5
Views: 3189

Feedback on uart_swap implementation

Hey, I just added and tested a function uart_swap for the esp8266 port. Was wondering what is the usual rule of implementation... should the python function map the original function of the SDK, in e.g. naming and functionality? Should I check how it is done in other ports (e.g. Arduino) to make sur...
by torwag
Tue Jun 27, 2017 9:14 am
Forum: Other Boards
Topic: Please add [board/SoC] in front of the subject of your topics
Replies: 0
Views: 1688

Please add [board/SoC] in front of the subject of your topics

Hi, as you post on the "other Boards" sub-forum please follow the rule and add, in square brackets, the board resp. the SoC/IC name to the subject. This helps people to filter out relevant topics about a certain unit and if makes it easier for the moderators to identify if there is a need for an ind...
by torwag
Sun Jun 25, 2017 3:34 pm
Forum: Other Boards
Topic: ESP32 topics moved to a new subforum
Replies: 0
Views: 1682

ESP32 topics moved to a new subforum

Dear Micropython users, A new subforum for MicroPython topics related to the ESP32 board was created. I will move all topics related to the ESP32 to the new forum. If you want us to move other topics, please let us know. Please use the new forum for all ESP32-MicroPython activities from now. Thanks ...
by torwag
Mon May 29, 2017 10:42 pm
Forum: ESP8266 boards
Topic: machine.Pin methods?
Replies: 13
Views: 8764

Re: machine.Pin methods?

Hi, for the on off vs high low I would need to check in detail. However for the inverted function, that is pretty much normal and depends how the LED is connected to the ESP. The ESP could basically apply 3.3V to the LED circuit via its GPIO pin. Then on really means on. However often, 3.3 V are app...
by torwag
Mon May 22, 2017 8:44 pm
Forum: Drivers for External Components
Topic: Drivers for Waveshare 2.13inch E-Ink display
Replies: 55
Views: 23044

Re: Drivers for Waveshare 2.13inch E-Ink display

Hi,
I found a example code written for STM using HAL.
This contains a driver as well. Might be a good starting point.
However, same as Peter, I miss a programming documentation.

Best