I am seeing the delay in drive letter issue, but have no issue with REPL.
These problems are common across all three of my pyboards (v1.0, V1.0 LITE and v1.1)
Search found 15 matches
- Wed May 17, 2017 9:32 am
- Forum: General Discussion and Questions
- Topic: Windows Creator update causing REPL issues and delay in showing drive
- Replies: 9
- Views: 7525
- Thu Dec 01, 2016 8:25 am
- Forum: ESP8266 boards
- Topic: UART issue
- Replies: 6
- Views: 5215
Re: UART issue
I think the problem is that the UART.read is not a blocking read and will read the buffer UPTO but not neccessary the exact number of bytes specified. Therefore something like this may work. from machine import UART uart = UART(0, 9600, timeout=0) uart.init(9600, bits=8, parity=None, stop=1) text=''...
- Wed Nov 16, 2016 1:08 pm
- Forum: General Discussion and Questions
- Topic: What is making my LED's go yellow?
- Replies: 7
- Views: 7723
Re: What is making my LED's go yellow?
I don't think that is the problem as whilst you are right about the 256 and 255 issue, his actual code will work out to 255 anyway as the maximum of range(256) is 255 and math.ceil(255/256*256) is 255.
I would guess that it is some sort of timing issue with the data transfer.
I would guess that it is some sort of timing issue with the data transfer.
- Fri Jul 15, 2016 7:52 am
- Forum: General Discussion and Questions
- Topic: PWM and Pins
- Replies: 4
- Views: 4404
Re: PWM and Pins
Although your board isn;t a Wipy I beleive as it is the same chip that the wipy module is enabled in the build. In which case the command below maybe what you want. wipy – WiPy specific features The wipy module contains functions to control specific features of the WiPy, such as the heartbeat LED. F...
- Fri May 06, 2016 7:16 am
- Forum: ESP8266 boards
- Topic: ESP8266 build fails
- Replies: 8
- Views: 8375
Re: ESP8266 build fails
I am sure someone far more knowledgeable than me will be along soon, but I do know that those files are from the SDK so my guess would be that you missed out the export command that is given to you at the end of the esp-open-sdk build and therefore the micropython build can't find them.
- Thu Apr 07, 2016 8:39 am
- Forum: MicroPython pyboard
- Topic: I2C slave timeout problem?
- Replies: 3
- Views: 5380
Re: I2C slave timeout problem?
As an update I have changed the timeout in the c code and created a custom build, as far as I can see the timeout I changed only affects slave I2C DMA functions. #define I2C_TIMEOUT_ADDR_SLAVE ((uint32_t)250) /* now 250ms was 10 s */ everything seems to operate as intended so hopefully will turn out...
- Wed Apr 06, 2016 1:55 pm
- Forum: MicroPython pyboard
- Topic: I2C slave timeout problem?
- Replies: 3
- Views: 5380
Re: I2C slave timeout problem?
So after some code digging, I think I may have answered my own question to a degree. Thats not to say I understand the answer, or that it is entirely helpful, please excuse the rambling. From digging in the c code it would appear that there are 2 receive commands that can be called: from micropython...
- Wed Apr 06, 2016 1:20 pm
- Forum: MicroPython pyboard
- Topic: I2C slave timeout problem?
- Replies: 3
- Views: 5380
I2C slave timeout problem?
Hi All, I am writing a program that is intended to recieve I2C data from some marine electronic equipment. The intended target for the I2C data is a remote repeater screen, however I have decoded the output and can then use this data for my own purposes. In general everything works well, I setup the...
- Thu Mar 24, 2016 8:33 am
- Forum: Other Boards
- Topic: build micropython for STM32F7DISC on windows
- Replies: 19
- Views: 18360
Re: build micropython for STM32F7DISC on windows
I recently created a setup on windows using this guide and everything seems to build fine,
http://www.jann.cc/2013/10/10/embedded_ ... ndows.html
http://www.jann.cc/2013/10/10/embedded_ ... ndows.html
- Tue Mar 22, 2016 8:02 am
- Forum: Drivers for External Components
- Topic: epaper driver for the Pyboard
- Replies: 26
- Views: 27300
Re: epaper driver for the Pyboard
Thanks for the reply, My issue with memory allocation is subtly different from the case you describe in that the memory allocation will fail directly from a CTRL-D soft reset. However, if I soft reset and then from the REPL call pyb.info(), then the memory allocation will work. i.e. the memory alloc...