Search found 9 matches

by yoLo_
Fri Dec 01, 2017 10:30 pm
Forum: MicroPython pyboard
Topic: Object with buffer protocol for I2C ?? is there such an operation for i2c in micropython ??
Replies: 2
Views: 3195

Object with buffer protocol for I2C ?? is there such an operation for i2c in micropython ??

Hello, uPythonians.. I'm writing a code that involves an i2c this is the function for writing to the i2c # write to device def _write(self, data, memaddr, addr): # perform a memory write. caller should trap OSError. self._ccs811_i2c.writeto_mem(addr, memaddr, self.buf1) I'm required to perform a 4by...
by yoLo_
Wed Nov 22, 2017 11:41 pm
Forum: MicroPython pyboard
Topic: I2C multiple writes instead of individual writes
Replies: 1
Views: 1866

I2C multiple writes instead of individual writes

So.. I'm trying to do multiple writes to the module with the I2C 1 # sensor starts 2 def begin(self): 3 data = [0x11, 0xE5, 0x72, 0x8A] # for multiple writes 4 self._write(data, self.ccs811_addr, CSS811_SW_RESET, timeout=self.timeout) 5 pyb.millis(500) THIS IS THE METHOD/OPERATION BELOW def _write(s...
by yoLo_
Thu Nov 09, 2017 6:32 pm
Forum: MicroPython pyboard
Topic: I2C read and write
Replies: 1
Views: 1834

I2C read and write

There is this i2c memory operations... http://docs.micropython.org/en/latest/pyboard/library/machine.I2C.html?highlight=i2c#machine.I2C.readfrom_mem I2C.readfrom_mem_into(addr, memaddr, buf, *, addrsize=8) after the buf, there is this parameter with * what goes there ??? and if addrsize = 8 then by ...
by yoLo_
Wed Oct 04, 2017 3:48 am
Forum: MicroPython pyboard
Topic: accessing upython shell via terminal not working
Replies: 1
Views: 1810

accessing upython shell via terminal not working

So, everything has been going very until I have decided to flash the latest standard new firmware to my pyboard v1.0 I used the pydfu.py script I don't know what has gone wrong but if this is some sort of a coincidence after i have performed the flash, the pyboard seems to be running fine but i can ...
by yoLo_
Mon Oct 02, 2017 6:11 pm
Forum: ESP32 boards
Topic: ESP32 bluetooth + wifi info
Replies: 1
Views: 3899

ESP32 bluetooth + wifi info

So, i came across this little board and added to the shopping cart. https://www.sparkfun.com/products/13907 Its features are very promising but if i read the datasheet correctly, its programmable memory size is 520KiB ??? http://esp32.net/ Anyways, my ultimate question is that, since it has integrat...
by yoLo_
Thu Aug 17, 2017 1:58 am
Forum: MicroPython pyboard
Topic: addressing(driving/controlling) RGB led with Micropython
Replies: 1
Views: 3278

addressing(driving/controlling) RGB led with Micropython

Ok so i got this rgb led that has four pins: VDD,VSS,DATA IN and DATA OUT I understand that certain manipulation of voltage flow or frequency has to be applied at DATA IN to get the desired light I'm very horrible in understanding datasheets Has anybody ever used this type of led before ? how can i ...
by yoLo_
Fri May 05, 2017 6:02 pm
Forum: MicroPython pyboard
Topic: Dealing with Noisy/False reading touch sensing button
Replies: 5
Views: 5569

Re: Dealing with Noisy/False reading touch sensing button

Sorry, I have been extremely busy with school but now that is over, i can finally focus on this project. dhylands, SpotlightKid, thanks for the suggestions I have tried debouncing the capactive touch just for experimentation this is what i got: I switched the sensor to low mode which makes the IC le...
by yoLo_
Fri Mar 24, 2017 3:38 am
Forum: MicroPython pyboard
Topic: Dealing with Noisy/False reading touch sensing button
Replies: 5
Views: 5569

Dealing with Noisy/False reading touch sensing button

I got this code here http://dpaste.com/24DDP4G, thanks to dhylands for his help It is a simple code that does something when a push button is pressed and held for 3 seconds any push button works fine except a touch sensing button: https://learn.sparkfun.com/tutorials/at42qt1010-capacitive-touch-brea...