i found for python https://github.com/rm-hull/apds9960
it can be used for micropython with some refactoring?
Search found 18 matches
- Mon Apr 10, 2017 7:10 pm
- Forum: Drivers for External Components
- Topic: RGB and Gesture Sensor - APDS-9960
- Replies: 16
- Views: 18148
- Mon Apr 10, 2017 7:01 pm
- Forum: ESP8266 boards
- Topic: pin.out inverted?
- Replies: 5
- Views: 6188
Re: pin.out inverted?
this problem not only with LED pin(gpio2), but with other gpio(12,14) to.
will try inverted=True for all others pins
will try inverted=True for all others pins
- Sat Apr 08, 2017 8:31 pm
- Forum: Drivers for External Components
- Topic: RGB and Gesture Sensor - APDS-9960
- Replies: 16
- Views: 18148
RGB and Gesture Sensor - APDS-9960
Hello!
did someone use this awesome device?
i try to understand how to connect it with micropython
did someone use this awesome device?
i try to understand how to connect it with micropython
- Sat Apr 08, 2017 8:24 pm
- Forum: ESP8266 boards
- Topic: pin.out inverted?
- Replies: 5
- Views: 6188
pin.out inverted?
Hello all!
try this code on clean esp8266 with 1.8.7
from machine import Pin
Pin(2, Pin.OUT).high() - led off
Pin(2, Pin.OUT).low() - led on
i guess isn`t right behavior.
or i do smt wrong?
thanx!
try this code on clean esp8266 with 1.8.7
from machine import Pin
Pin(2, Pin.OUT).high() - led off
Pin(2, Pin.OUT).low() - led on
i guess isn`t right behavior.
or i do smt wrong?
thanx!
- Tue Mar 07, 2017 3:19 pm
- Forum: ESP8266 boards
- Topic: async http server
- Replies: 1
- Views: 2638
async http server
Hello all! i'm trying to implement rest server on esp8266 with realtime working sensor. looks like multitasking. as result i wanna get sensors state by rest and send mqtt request by some events like push button or change sensors state. how to best way to work with it? umqtt fork fine and webserver w...
- Mon Feb 20, 2017 12:58 pm
- Forum: Programs, Libraries and Tools
- Topic: [SOLVED] How to install libraries in MicroPython (ESP8266)?
- Replies: 3
- Views: 33866
Re: How to install libraries in MicroPython (ESP8266)?
but u can be i stuck with memory allocation error. so best way to get modules into firmware.(frozen modules)
- Mon Feb 20, 2017 12:56 pm
- Forum: ESP8266 boards
- Topic: Can we use Blynk with the ESP8266?
- Replies: 5
- Views: 8991
- Wed Feb 15, 2017 1:24 pm
- Forum: Programs, Libraries and Tools
- Topic: [SOLVED] How to install libraries in MicroPython (ESP8266)?
- Replies: 3
- Views: 33866
Re: How to install libraries in MicroPython (ESP8266)?
hi.
according to https://github.com/micropython/micropython-lib just use in REPL:
>>> import upip
>>> upip.install("micropython-struct")
it puts files to /lib
u can put ur own lib to this folder. it one .py file. u can use mpfshell for upload files.
according to https://github.com/micropython/micropython-lib just use in REPL:
>>> import upip
>>> upip.install("micropython-struct")
it puts files to /lib
u can put ur own lib to this folder. it one .py file. u can use mpfshell for upload files.