Search found 18 matches

by demoontz
Mon Apr 10, 2017 7:10 pm
Forum: Drivers for External Components
Topic: RGB and Gesture Sensor - APDS-9960
Replies: 16
Views: 8692

Re: RGB and Gesture Sensor - APDS-9960

i found for python https://github.com/rm-hull/apds9960
it can be used for micropython with some refactoring?
by demoontz
Mon Apr 10, 2017 7:01 pm
Forum: ESP8266 boards
Topic: pin.out inverted?
Replies: 5
Views: 2749

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
by demoontz
Sat Apr 08, 2017 8:31 pm
Forum: Drivers for External Components
Topic: RGB and Gesture Sensor - APDS-9960
Replies: 16
Views: 8692

RGB and Gesture Sensor - APDS-9960

Hello!
did someone use this awesome device?
i try to understand how to connect it with micropython
by demoontz
Sat Apr 08, 2017 8:24 pm
Forum: ESP8266 boards
Topic: pin.out inverted?
Replies: 5
Views: 2749

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!
by demoontz
Tue Mar 07, 2017 3:19 pm
Forum: ESP8266 boards
Topic: async http server
Replies: 1
Views: 1442

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...
by demoontz
Mon Feb 20, 2017 12:58 pm
Forum: Programs, Libraries and Tools
Topic: [SOLVED] How to install libraries in MicroPython (ESP8266)?
Replies: 3
Views: 14358

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)
by demoontz
Mon Feb 20, 2017 12:56 pm
Forum: ESP8266 boards
Topic: Can we use Blynk with the ESP8266?
Replies: 5
Views: 6330

Re: Can we use Blynk with the ESP8266?

does someone run successfully blynk on esp8266?
by demoontz
Wed Feb 15, 2017 1:24 pm
Forum: Programs, Libraries and Tools
Topic: [SOLVED] How to install libraries in MicroPython (ESP8266)?
Replies: 3
Views: 14358

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.