I'm not aware of anybody having ported that library to micropython.
micropython already supports arbitrary precision integers, and supports 32-bit floats.
Search found 3821 matches
- Sat May 02, 2015 4:29 pm
- Forum: Development of MicroPython
- Topic: Python decimal module for pyboard micro python
- Replies: 6
- Views: 7238
- Sat May 02, 2015 4:24 pm
- Forum: General Discussion and Questions
- Topic: Micropython on Raspberry Pi2?
- Replies: 10
- Views: 17877
Re: Micropython on Raspberry Pi2?
It was just a thought if it is possible to use the raspberry pi as a microcontroller, or for raspberry pi 2, to use one processor as a microcontroller and the rest as a pc. It seems like alot of people use raspberry pi to communicate with microcontrollers, so why not integrate a microcontroller dir...
- Sat May 02, 2015 4:16 pm
- Forum: General Discussion and Questions
- Topic: Write file via Serial / REPL
- Replies: 6
- Views: 8981
Re: Write file via Serial / REPL
Writing from the REPL should be fine. You'll want to call os.sync() to ensure the buffers actually get written. With internal flash, the writes are delayed a bit compared to using an external sdcard. Also, if you're using USB Mass Storage, then its possible for the host to completely overwrite your ...
- Fri May 01, 2015 5:52 am
- Forum: General Discussion and Questions
- Topic: Control Servo from another Pin
- Replies: 4
- Views: 3692
Re: Control Servo from another Pin
Great, it works! :v and, how to control the rotation speed, like servo.angle(angle, speed)? The way that continuous rotation servos work, is that when they're at the midpoint (1.5msec) the the servo will be stopped (although the exact pulse width is changed by the adjustment potentiometer on the se...
- Fri May 01, 2015 5:11 am
- Forum: General Discussion and Questions
- Topic: Control Servo from another Pin
- Replies: 4
- Views: 3692
Re: Control Servo from another Pin
The default calibration is determined here:
https://github.com/micropython/micropyt ... .c#L71-L75
And this is the code which converts angle (args[1]) into a pulse width
https://github.com/micropython/micropyt ... rvo.c#L271
https://github.com/micropython/micropyt ... .c#L71-L75
And this is the code which converts angle (args[1]) into a pulse width
https://github.com/micropython/micropyt ... rvo.c#L271
- Fri May 01, 2015 1:06 am
- Forum: MicroPython pyboard
- Topic: pyboard correct power-down sequence
- Replies: 1
- Views: 2732
Re: pyboard correct power-down sequence
If you're writing to files, you should probably call os.sync() to make sure that any unwritten blocks actually get written to flash.
But other than that - yeah you can just remove power.
But other than that - yeah you can just remove power.
- Fri May 01, 2015 12:39 am
- Forum: Development of MicroPython
- Topic: uPython Memory Manager
- Replies: 27
- Views: 20973
Re: uPython Memory Manager
I believe that CPython (which is what they say is running) uses reference counted memory objects, ultimately obtained from malloc. It would use the same garbage collection as regular python. grub probably even has a malloc implementation. They said no OS, but they didn't say no C runtime. And becaus...
- Fri May 01, 2015 12:24 am
- Forum: General Discussion and Questions
- Topic: Micropython on Raspberry Pi2?
- Replies: 10
- Views: 17877
Re: Micropython on Raspberry Pi2?
Generally speaking, unless you really know what you're doing, the scheduler will do a better job of load balancing your 4 processors than you can can. You can run the full version of python on the raspberry pi if you like. If you want to run mciropython, then you'll need to run the unix version of m...
- Thu Apr 30, 2015 10:41 pm
- Forum: Announcements and News
- Topic: UPDATED: New users post approval
- Replies: 33
- Views: 272198
Re: New users post approval
Thank you. I am not a bot, although since becoming a micro-computer prototyper|maker and micro software engineer sometimes I feel like one- ha! I would like to update my avatar with my standard 80x80 pixel 'me' photo, but I don't see the option to add the bitmit? Thanks I think that this should be ...
- Thu Apr 30, 2015 3:06 pm
- Forum: MicroPython pyboard
- Topic: Not easily impressed...
- Replies: 12
- Views: 14970
Re: Not easily impressed...
A significant portion of the cost is in the MCU itself. The cheapest board I've found with a STM32F405 on it is this one:MarkHaysHarris777 wrote:I do think its a 'tad' bit over-priced, but I'm reserving judgment on that for the moment.
https://www.ghielectronics.com/catalog/product/450