Search found 647 matches
- Fri Nov 07, 2014 10:44 am
- Forum: General Discussion and Questions
- Topic: NRF24L01+ library progress?
- Replies: 18
- Views: 17120
Re: NRF24L01+ library progress?
The driver is intended to work with the "+" version of the module. It may work with the non-"+" version, but it's untested with that version. In my use of the driver so far I have not encountered any issues... but it definitely needs further testing! I can improve the constructor so that it does som...
- Thu Nov 06, 2014 10:28 pm
- Forum: Hardware Projects
- Topic: Micro Python Quadcopter
- Replies: 26
- Views: 40161
Re: Micro Python Quadcopter
I envy you that you can start doing application-level stuff with uPy ;-). I tried few projects, but still don't run anything in "production" ;-). I wouldn't quite call it "production": I have 1 motor spinning, using the standard Servo class (and also custom PWM), and not much else. In fact, this wi...
- Thu Nov 06, 2014 10:13 am
- Forum: General Discussion and Questions
- Topic: DSP CMSIS
- Replies: 6
- Views: 7718
Re: DSP CMSIS
Easiest way to get started coding is to get the unix and stmhal ports compiling on your machine, then take a look at one of the builtin modules/classes and copy that. Eg stmhal/uart.c.
- Thu Nov 06, 2014 10:06 am
- Forum: Hardware Projects
- Topic: Module for DHT22 temperature/humidity sensor
- Replies: 13
- Views: 19197
Re: Module for DHT22 temperature/humidity sensor
Thanks for link to the wiki. I will link it from the docs.
I think we are intending to put all libraries in the micropython-lib repo and have a way for multiple platforms to coexist. But we still need to work out the details of this.
I think we are intending to put all libraries in the micropython-lib repo and have a way for multiple platforms to coexist. But we still need to work out the details of this.
- Wed Nov 05, 2014 11:46 pm
- Forum: Development of MicroPython
- Topic: Run more than one micropython instance
- Replies: 30
- Views: 24724
Re: Run more than one micropython instance
It will be some time (maybe a long time) before uPy supports multithreading on the pyboard. What exactly do you want to do with multithreading? There are already a few ways you can do similar things, like using hardware interrupts to pre-empt some code. And as @pfalcon says, there is the uasyncio mo...
- Wed Nov 05, 2014 11:39 pm
- Forum: General Discussion and Questions
- Topic: Uart.read(x) returns always one byte
- Replies: 2
- Views: 4509
Re: Uart.read(x) returns always one byte
uart.read(n) will read at most n bytes. It will not wait for exactly n bytes. This behaviour follows the standard behaviour of reading functions (like socket recv). The reason is that you'd rather process data you know you have, rather than wait for data that may never come. But, you can get your c...
- Wed Nov 05, 2014 11:27 pm
- Forum: Hardware Projects
- Topic: Module for DHT22 temperature/humidity sensor
- Replies: 13
- Views: 19197
Re: Module for DHT22 temperature/humidity sensor
Perhaps we should make a page linking to all the user-contributed drivers? Or, better still, merge them into micropython-lib (assuming they have a suitable license)?
- Wed Nov 05, 2014 9:18 am
- Forum: Hardware Projects
- Topic: Friendly projects - Pycorn, etc.
- Replies: 10
- Views: 14024
Re: Friendly project - Pycorn
I think one of the most interesting contribution of micropython is the language itself. The board is awesome (i really love it), but the language is incredible. Thank you for the compliment! I am glad you like the hardware. I dug up my 9 year-old micro-OS and tried to get it booting. It used to run...
- Tue Nov 04, 2014 2:20 pm
- Forum: Hardware Projects
- Topic: Micro Python Quadcopter
- Replies: 26
- Views: 40161
Re: Micro Python Quadcopter
I just ordered at Hobbyking, same components that you have. Awesome! Yes, your parts list looks almost exactly the same as ours. We also got XT60 connectors, but I think a slightly cheaper battery charger without the AC connection (ie needs 12V input). I have a half finished design for an IMU skin ...
- Tue Nov 04, 2014 1:34 pm
- Forum: Hardware Projects
- Topic: Micro Python Quadcopter
- Replies: 26
- Views: 40161
Re: Micro Python Quadcopter
Not BMP185? Didn't know about that one... but do you mean BMP180? If it's higher spec, then yes, I'd go for the higher spec one. We bought the mechanical and electical parts from hobbyking.com. They have a good selection and fast (but expensive) shipping from Hong Kong. Total parts so far cost arou...