Search found 80 matches

by Jackli
Thu May 25, 2023 8:20 am
Forum: General Discussion and Questions
Topic: Migration Away from MicroPython.org to GitHub?
Replies: 7
Views: 29727

Re: Migration Away from MicroPython.org to GitHub?

GitHub discussions have more features for posts and replies. Emoticon replies, accepted answers, thread replies, etc.
GitHub discusses using more familiar Markdown syntax to write posts, especially code snippets (which also support syntax highlighting).
by Jackli
Thu May 25, 2023 8:17 am
Forum: Programs, Libraries and Tools
Topic: Abstract class in MicroPython
Replies: 3
Views: 28268

Re: Abstract class in MicroPython

Class name:
Phylum


class MyClass:
i=123

def f(self):
print("correct")
by Jackli
Thu May 25, 2023 8:10 am
Forum: General Discussion and Questions
Topic: Maximum timeout period for uasyncio.sleep()?
Replies: 4
Views: 20287

Re: Maximum timeout period for uasyncio.sleep()?

uasyncio.sleep(t).Sleep for t seconds (can be floating point)
This is a collaborative program
by Jackli
Thu May 25, 2023 7:45 am
Forum: General Discussion and Questions
Topic: Build Errors lwip
Replies: 4
Views: 22142

Re: Build Errors lwip

This is resolved. Thank you. I am however, having issues understanding the network library/class On Linux after I enter the REPL command prompt and enter: import network lan = network.LAN() The command prompt closes and goes back to the terminal. Not sure why this happens. Also, where could I find ...
by Jackli
Thu May 25, 2023 7:37 am
Forum: Programs, Libraries and Tools
Topic: VS Code Pymar microython
Replies: 9
Views: 34147

Re: VS Code Pymar microython

Do you need to import the official machine, otherwise it may result in incompatible versions. :)
by Jackli
Wed Oct 27, 2021 2:51 am
Forum: Hardware Projects
Topic: Thermal print head for a parking management system based on Raspberry Pi pico and HMI
Replies: 3
Views: 35202

Re: Thermal print head for a parking management system based on Raspberry Pi pico and HMI

Code from machine import UART,Pin from time import sleep import _thread import rp2 from array import array import ascii_ku import speed_motor from os import uname #import sys uart1 = UART(0, baudrate = 115200, tx =Pin(0), rx = Pin(1)) floor1 = ['f', 'l', 'o', 'o', 'r','1'] floor2 = ['f', 'l', 'o', ...
by Jackli
Wed Oct 27, 2021 2:11 am
Forum: Hardware Projects
Topic: Thermal print head for a parking management system based on Raspberry Pi pico and HMI
Replies: 3
Views: 35202

Thermal print head for a parking management system based on Raspberry Pi pico and HMI

Materials to be used 1、 STONE STWI101WT-01 2、FTP thermal printer head 3、 Raspberry Pi pico 4、Coin-operated machine Function The control function is displayed on the serial screen, the main interface selects the floor, after entering the main interface selects the parking space, at the same time it ...
by Jackli
Wed Oct 27, 2021 2:09 am
Forum: Raspberry Pi microcontroller boards
Topic: Raspberry Pi pico can not download other programs
Replies: 0
Views: 1181

Raspberry Pi pico can not download other programs

I have a question, I copied the program into Raspberry Pi pico when I was working on the project of thermal printer parking system, after that I tried to copy other programs but they failed, is it because the pico board can only copy one program?
by Jackli
Tue Oct 12, 2021 7:26 am
Forum: Drivers for External Components
Topic: NRF905 module
Replies: 6
Views: 50866

Re: NRF905 module

I once saw a video using the NRF51822, you can watch it if you are interested.

https://www.youtube.com/watch?v=CHR_VBK8NJw