Search found 24 matches
- Tue Dec 01, 2015 7:07 am
- Forum: General Discussion and Questions
- Topic: Observation regarding imports and performance
- Replies: 2
- Views: 2372
- Mon Nov 30, 2015 2:23 pm
- Forum: General Discussion and Questions
- Topic: Observation regarding imports and performance
- Replies: 2
- Views: 2372
Observation regarding imports and performance
Hello, I was just playing with the well known synthetic uPy benchmark: @micropython.viper def performanceTest(): millis = pyb.millis endTime = int(millis()) + 10000 count = 0 while int(millis()) < endTime: count += 1 print("Count: ", count) performanceTest() Score: 5.433.881 from pyb import millis @...
- Mon Nov 30, 2015 2:09 pm
- Forum: General Discussion and Questions
- Topic: FreeDOS support
- Replies: 60
- Views: 47331
- Wed Sep 30, 2015 3:30 am
- Forum: General Discussion and Questions
- Topic: Interface for Arduino Libs
- Replies: 7
- Views: 9279
Re: Interface for Arduino Libs
Thank you for the detailled answer. It clarifys some points that I didn't think about. I got an OT - Question: I would like to measure wind velocity on a motobike while driving. I got no space for a classic aenometer. Are there other options? (this is my bike ;-) ) https://goo.gl/photos/N22ZAuHRS9LQ...
- Thu Sep 24, 2015 5:56 am
- Forum: General Discussion and Questions
- Topic: Interface for Arduino Libs
- Replies: 7
- Views: 9279
Re: Interface for Arduino Libs
Thank you for the guide. This will help me. I also asked myself if the porting could be automated / avoided in some way. A real interface to the Arduino libs. A way to include Arduino libs when building micropython. pseudo workflow: git clone micropython git checkout -b my_sensor cp -r my_sensor_ard...
- Sat Sep 19, 2015 1:23 pm
- Forum: General Discussion and Questions
- Topic: Interface for Arduino Libs
- Replies: 7
- Views: 9279
Interface for Arduino Libs
Hello, is there an easy way to integrate Arduino libs? This would open the door to a giant universe of Arduino addon boards. It would be cool to have a folder where I can throw in the Arduino libs, compile the pyb firmware and than call it. An example: cp my_sensor.h and my_sensor.c to micropython/A...
- Sat Aug 29, 2015 4:34 pm
- Forum: General Discussion and Questions
- Topic: Sainsmart ST7735 LCD display
- Replies: 6
- Views: 8863
- Sat Aug 29, 2015 4:33 pm
- Forum: Drivers for External Components
- Topic: Cant connect to ST7735
- Replies: 1
- Views: 3440
Re: Cant connect to ST7735
Everything solved now:
http://forum.micropython.org/viewtopic.php?f=14&t=889
http://forum.micropython.org/viewtopic.php?f=14&t=889
- Fri Aug 28, 2015 4:18 pm
- Forum: Drivers for External Components
- Topic: ST7735 instructions and pyb firmw. img with build in support
- Replies: 0
- Views: 6418
ST7735 instructions and pyb firmw. img with build in support
Hello micropython community, After days of try and error, I figured out how to use gcarver's ST7735 libary in the correct way: gcarver's code is here: https://github.com/GuyCarver/MicroPython st7735.png pins on the left, section tft: cs -> X5 sck ->X6 sda ->X8 (you may use Y) rs -> X1 rst -> X2 (or ...
- Tue Aug 25, 2015 8:00 pm
- Forum: Drivers for External Components
- Topic: Cant connect to ST7735
- Replies: 1
- Views: 3440
Cant connect to ST7735
Hi, after I fryed my displaymodule, I thought I 'd go for a shiny colored one. My choice fell on a ST7735. I tryed to hook it up using gcarver's lib, but all I get is a black screen. To verify the screen itself,I ran the arduino examples with my uno and nano, both work fine. Of course I also used th...