Giter Site home page Giter Site logo

mchobby / esp8266-upy Goto Github PK

View Code? Open in Web Editor NEW
50.0 7.0 30.0 56.46 MB

MicroPython Cross-platform Drivers - collection of code, wiring and sample for various breakout boards - Works with ESP8266, Pyboard, PYB405, Wemos, etc))

Python 100.00%
micropython micropython-driver pyboard python pilotes esp8266 esp32

esp8266-upy's People

Contributors

alej0varas avatar dsap avatar mchobby avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

esp8266-upy's Issues

MCP23S17 too slow

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.

hat-piface on Pico-W

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

SenseHat - test_joy.py on Pico

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!

LSM303 library throws error on ESP8266

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?

ST7687 too slow

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 ):

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.