Search found 154 matches
- Sat Feb 25, 2017 8:29 pm
- Forum: MicroPython pyboard
- Topic: Showing jpeg file on LCD160
- Replies: 6
- Views: 6478
Showing jpeg file on LCD160
Hi. Is there any example on this topic? Also how to get the right format of jpeg file.. Right now I'm getting huge random text output instead of image. 1 import pyb 2 from lcd160cr import LCD160CR, PORTRAIT_UPSIDEDOWN 3 4 5 def test_ignitor(base_pin_name='Y12'): 6 pin = pyb.Pin(base_pin_name) 7 lcd ...
- Mon Feb 20, 2017 1:29 pm
- Forum: MicroPython pyboard
- Topic: RTC oddity: has anyone seen this?
- Replies: 5
- Views: 4976
- Sat Feb 18, 2017 1:44 am
- Forum: Hardware Projects
- Topic: AutoPilot
- Replies: 4
- Views: 6462
Re: AutoPilot
First PoC manual throttle control for both engines by pressing a USR button on PyBoard: VIDEO
- Fri Feb 17, 2017 10:35 pm
- Forum: MicroPython pyboard
- Topic: RTC oddity: has anyone seen this?
- Replies: 5
- Views: 4976
Re: RTC oddity: has anyone seen this?
hmmmm... I've started to get delays again... even with this code:
and then it works fine after hard reset... still unable to catch the reason
Code: Select all
from pyb import RTC
rtc = RTC()
rtc.datetime([2017, 2, 17, 1, 22, 28, 10, 0])
rtc.datetime([2017, 2, 17, 1, 22, 28, 10, 0])
- Fri Feb 17, 2017 6:00 pm
- Forum: Announcements and News
- Topic: More than 4000 stars and 150 contributors on Github
- Replies: 2
- Views: 41270
Re: More than 4000 stars and 150 contributors on Github
Forks should be evaluated for activity, then counted if any )
- Tue Feb 14, 2017 8:26 pm
- Forum: MicroPython pyboard
- Topic: SPI and DMA
- Replies: 2
- Views: 3405
SPI and DMA
I've found this code status = HAL_SPI_Transmit_DMA(self->spi, (uint8_t*)src, len); if (status == HAL_OK) { status = spi_wait_dma_finished(self->spi, timeout); } What is the purpose in DMA if we are still placing CPU on pause until job is done? :roll: Is there any way to get this done async?
- Thu Feb 09, 2017 6:42 pm
- Forum: Other Boards
- Topic: Teensy 3.5/3.6
- Replies: 9
- Views: 10455
- Sat Feb 04, 2017 12:10 am
- Forum: MicroPython pyboard
- Topic: USB_VCP buffer
- Replies: 3
- Views: 3489
Re: USB_VCP buffer
Ok, my double fault. First is that I'm sending "lines" without line endings, while reading them with "readline()". So I'm getting all 3 at once. Then happens second fault - code unable to handle so many parts from such big string explosion by comma.
Thanks for info )
Thanks for info )
- Wed Feb 01, 2017 4:30 pm
- Forum: MicroPython pyboard
- Topic: USB_VCP buffer
- Replies: 3
- Views: 3489
Re: USB_VCP buffer
hm... I'm sending 3 lines that may not reach even 512 bytes in total. Need to investigate more then...
- Wed Feb 01, 2017 3:10 pm
- Forum: MicroPython pyboard
- Topic: USB_VCP buffer
- Replies: 3
- Views: 3489
USB_VCP buffer
I'm sending data to PyBoard from my laptop via USB. As you can see - I have to sleep() on each send, otherwise PyBoard blinks with green and red LEDs and just hangs its work. Here is the receiver part . I would agree to sleep() once per while-loop iteration, not per line being sent. Is there any lim...