Search found 65 matches
- Mon Jun 30, 2014 3:52 am
- Forum: MicroPython pyboard
- Topic: adc.read_timed buffer problem ...
- Replies: 6
- Views: 11922
Re: adc.read_timed buffer problem ...
OK, reading further this https://docs.python.org/3/c-api/buffer.html#bufferobjects seems to suggest that array.array should support the buffer protocol, therefore should work in this context, guess it just doesn't yet in microPython. I'll just leave this and 'try again later', my 20 yr latent C 'ski...
- Mon Jun 30, 2014 3:46 am
- Forum: MicroPython pyboard
- Topic: adc.read_timed buffer problem ...
- Replies: 6
- Views: 11922
Re: adc.read_timed buffer problem ...
Hi @pfalcon, thanks - the referenced documentation is at https://micropython.org/doc/module/pyb/ADC I've tried what you suggest (using build pybv10-2014-06-29-v1.1.1-98-g8139494.dfu from https://micropython.org/download/ ) but pyb.read_timed doesn't like the array object, In my naivety I presume "be...
- Sun Jun 29, 2014 4:57 pm
- Forum: MicroPython pyboard
- Topic: adc.read_timed buffer problem ...
- Replies: 6
- Views: 11922
adc.read_timed buffer problem ...
adc.read() returns a value between 0 and 4095 (12bits) ... the pyb module documentation shows a bytearray being used as a buffer for values from adc.read_timed ... but a bytearray is an array of 8 bit integers. I am reading a TMP36 and (buf[0]<<4) + (buf[1]>>4) appears to give a value in the range e...
- Fri Jun 20, 2014 4:28 am
- Forum: MicroPython pyboard
- Topic: Documentation for optional extras
- Replies: 3
- Views: 4684
Re: Documentation for optional extras
I'm interested in the cc3000 support also, the WLAN module Damien demonstrated in update 13 doesn't appear to be compiled into the current downloadable binary.
- Tue Mar 11, 2014 3:44 pm
- Forum: General Discussion and Questions
- Topic: Spambot counterattack
- Replies: 28
- Views: 29990
Re: Spambot counterattack
I don't think I'm a spambot .. but you just can't tell nowadays.