Search found 88 matches

by skylin008
Fri Dec 25, 2020 12:47 pm
Forum: MicroPython pyboard
Topic: Power up Not can auto run main.py
Replies: 1
Views: 9938

Power up Not can auto run main.py

Merry Christmas everyone! I had main.py file in pyflash disk, but when Power up, it can't auto run, but in repl, press Ctrl + D, it can run well. How to fixed this issue.Thanks!
by skylin008
Tue Dec 15, 2020 11:36 am
Forum: MicroPython pyboard
Topic: Uasyncio Queue data dirty
Replies: 2
Views: 2278

Re: Uasyncio Queue data dirty

@pythoncode ,Thank you very much! I had add the print function as follow: @micropython.native def encode(self, data): index = int(data[0]) da = data[4] if index == 0x18eef0f1: print('uid:',index) print('udata:',da) string = str(index) + ',' + str(len(da)) + ',' print('id,length:', string) temp =','....
by skylin008
Mon Dec 14, 2020 10:19 am
Forum: MicroPython pyboard
Topic: Uasyncio Queue data dirty
Replies: 2
Views: 2278

Uasyncio Queue data dirty

Hello, shows my code as follow, this code is reading the CAN bus and forwared to UART.Can1Receiver():If the Can data is not Null, and put them to Queue. Uart4Sender(): reading the Queue data, and send to Uart4 port. There are any issue as show: In uart4Sender function, get the data from q1.get(), th...
by skylin008
Tue Nov 24, 2020 2:42 am
Forum: ESP8266 boards
Topic: Esp8266 Pwm 25khz
Replies: 1
Views: 2244

Esp8266 Pwm 25khz

Hello, everyone! Esp8266 only can output the pwm frequency is 1000Hz,I want to control the fan, the pwm frequency needed 25Khz, how can I implementation this function. Thanks!
by skylin008
Fri Nov 20, 2020 12:08 pm
Forum: Development of MicroPython
Topic: [SOLVED] micropython-nano-gui on esp8266
Replies: 8
Views: 5030

Re: [SOLVED] micropython-nano-gui on esp8266

So cute.Thanks! I will test in esp8266 with ssd1306 oled.
by skylin008
Mon Nov 16, 2020 12:57 pm
Forum: ESP8266 boards
Topic: esp8266 uart wait_tx_done
Replies: 0
Views: 1674

esp8266 uart wait_tx_done

Hello, I ported the uModBus from https://github.com/pycom/pycom-modbus to ESP8266 platform. But when used the ESP82266 UART 0, there is no wait_tx_done implementation.How to solve this issue.Thanks!
by skylin008
Fri Oct 09, 2020 8:15 am
Forum: Drivers for External Components
Topic: CWriter and nano-gui Performance boost. Sharp displays.
Replies: 2
Views: 2494

Re: CWriter and nano-gui Performance boost. Sharp displays.

@pythoncoder, Thank you shared your impressive gui project. If nano-gui can be support Chinese char,is there detail guide to convet Chinese char to use to nano-gui.Thanks!
by skylin008
Mon Oct 05, 2020 4:03 am
Forum: Development of MicroPython
Topic: [SOLVED] micropython-nano-gui on esp8266
Replies: 8
Views: 5030

Re: micropython-nano-gui to esp8266

Hello pythoncoder, I had added the nanogui.py to fronzen byte code build the firmware in esp8266 ,but anything error as show: GEN build-GENERIC/frozen_content.c CC build-GENERIC/frozen_content.c build-GENERIC/frozen_content.c:15136:1: error: unknown type name 'mp_obj_complex_t' STATIC const mp_obj_c...
by skylin008
Thu Oct 01, 2020 7:37 am
Forum: Development of MicroPython
Topic: [SOLVED] micropython-nano-gui on esp8266
Replies: 8
Views: 5030

Re: micropython-nano-gui to esp8266

Thanks for your kindly answer. Yes, I want to put the code and font to firmware. I will be try.