mchobby / esp8266-upy Goto Github PK
View Code? Open in Web Editor NEWMicroPython Cross-platform Drivers - collection of code, wiring and sample for various breakout boards - Works with ESP8266, Pyboard, PYB405, Wemos, etc))
MicroPython Cross-platform Drivers - collection of code, wiring and sample for various breakout boards - Works with ESP8266, Pyboard, PYB405, Wemos, etc))
Before and after each change of the pin_cs ( Chip Select pin ) there is a sleep_ms(1)
The SPI specifications for the MCP23S17 have some time delays for the CS signal, no more than 100 ns.
I use this code with a Raspberry Pico, WITHOUT any sleep, with a big performance increase .
Maybe a sleep of one microsecond may be safe for a very fast processor.
Hi,
I tested the hat-piface V1 on Pico and it works well with the examples provided.
But with the Pico-W and the same wiring, it does not work and no error is reported in the code.
Is there a different operation for the SPI0 between the Pico and PicoW?
I have not found anything in the documentation of the PicoW
Recurrent reading of Joystick position returns an OSError 5 exception on the Raspberry-Pi Pico.
This seems to be unpredictable.
Accordingly to MicroPython forums, OSError would be a NACK sent by the device causing the exception raising.
Remark:
At the moment, no workaround found for this issue. Trying to capture it with a try/except from SenseHat.py just lockdown the Joystick code execution on the Pico!
I'm using Thonny as my IDE.
ESP8266 running MicroPython v1.18 on 2022-01-17; ESP module with ESP8266
Trying to run either of the three example programs all give the same result...
%Run -c $EDITOR_CONTENT
Traceback (most recent call last):
File "", line 20, in
File "lsm303.py", line 250, in init
File "lsm303.py", line 386, in _write_u8
OSError: [Errno 19] ENODEV
Any suggestions?
I am working with an ESP32 in micropython and it has a very slow screen update. How can I do to increase the speed? I have commented the function def delay_us( self ):
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.