Search found 3 matches

by Poh_Roman
Wed Aug 28, 2019 10:36 am
Forum: ESP8266 boards
Topic: uPyLoader - simple file transfer and communication
Replies: 54
Views: 72941

Re: uPyLoader - simple file transfer and communication

How can i open the directory on esp ?
by Poh_Roman
Wed Aug 28, 2019 8:05 am
Forum: ESP8266 boards
Topic: MHZ-19 CO2 ppm
Replies: 3
Views: 3295

Re: MHZ-19 CO2 ppm

[quote=kevinkk525 post_id=38934 time=1566913368 user_id=3684] Your example uses uart, not PWM. [url]http://docs.micropython.org/en/v1.9.3/pyboard/library/pyb.UART.html[/url] However you will have difficulties using the esp2866 because it only has one UART for the micropython repl. You can use that f...
by Poh_Roman
Tue Aug 27, 2019 1:04 pm
Forum: ESP8266 boards
Topic: MHZ-19 CO2 ppm
Replies: 3
Views: 3295

MHZ-19 CO2 ppm

HI, help me to create micropython script to read data from PWM for MHZ-19 CO2. Example on C: Serial3.setup(9600, {rx: P0, tx: P1}); function print_data(data) { a = []; for (var i=0; i < data.length; i++) { a.push(data.charCodeAt(i)); } crc = 256 - (a[1] + a[2] + a[3] + a[4] + a[5] + a[6] + a[7])%256...