Search found 14 matches

by donikuy
Wed Apr 04, 2018 3:00 pm
Forum: ESP32 boards
Topic: AttributeError: 'poll' object has no attribute 'ipoll'
Replies: 5
Views: 9772

Re: AttributeError: 'poll' object has no attribute 'ipoll'

Hi Peter,

Thank you. I will get in touch with them.
by donikuy
Mon Mar 26, 2018 8:57 am
Forum: ESP32 boards
Topic: AttributeError: 'poll' object has no attribute 'ipoll'
Replies: 5
Views: 9772

Re: AttributeError: 'poll' object has no attribute 'ipoll'

Hi, Thanks for the reply. I am using the Pycom Firmware Upgrade tool and that is what it is telling me the latest software version is. I will try and upgrade, but I am worried version 1.93 is not compliant with Wipy 3.0. Seems like ipoll is not supported by WIPI 3.0, changing that to poll removes er...
by donikuy
Fri Mar 23, 2018 12:10 pm
Forum: ESP32 boards
Topic: AttributeError: 'poll' object has no attribute 'ipoll'
Replies: 5
Views: 9772

AttributeError: 'poll' object has no attribute 'ipoll'

I am using an ESP32 on a WIPY 3.0. When I try to use uasyncio module i get the following error: Traceback (most recent call last): File "main.py", line 80, in <module> File "asyncio_priority.py", line 128, in run_forever File "uasyncio/__init__.py", line 69, in wait AttributeError: 'poll' object has...
by donikuy
Fri Mar 16, 2018 11:47 am
Forum: WiPy and CC3200 boards
Topic: AttributeError: 'module' object has no attribute 'getLogger'
Replies: 1
Views: 34115

AttributeError: 'module' object has no attribute 'getLogger'

Hi, I have been trying to get picoweb to work on my WIPY 3.0. I get error AttributeError: 'module' object has no attribute 'getLogger' after I run app.run(debug=True). I have renamed logging module to logging_picoweb and that seems to make things better up to some point, but then the error originate...
by donikuy
Wed Feb 21, 2018 1:13 pm
Forum: MicroPython pyboard
Topic: UART IRQ/Callbacks and Class Example
Replies: 6
Views: 150853

Re: UART IRQ/Callbacks and Class Example

Thank you. I have copied the files over and i am now trying to run this script: import uasyncio as asyncio loop = asyncio.get_event_loop() async def bar(): count = 0 while True: count += 1 print(count) await asyncio.sleep(1) # Pause 1s loop.create_task(bar()) # Schedule ASAP loop.run_forever() I get...
by donikuy
Tue Feb 20, 2018 4:05 pm
Forum: MicroPython pyboard
Topic: UART IRQ/Callbacks and Class Example
Replies: 6
Views: 150853

Re: UART IRQ/Callbacks and Class Example

Thank you for your help. I think i will need to add the uasyncio module to my python project and load, build the project using cmake and then load it onto the pybv1.1. At the moment I am having trouble with my cmake. Would you be able to send me the new dfu file the includes the uasyncio module plea...
by donikuy
Tue Feb 20, 2018 9:15 am
Forum: General Discussion and Questions
Topic: UART IRQ
Replies: 6
Views: 148763

Re: UART IRQ

How can I get this to work on a pyboard? I cannot find any way of using interrrupts on uart.
by donikuy
Mon Feb 19, 2018 1:58 pm
Forum: MicroPython pyboard
Topic: UART IRQ/Callbacks and Class Example
Replies: 6
Views: 150853

UART IRQ/Callbacks and Class Example

Hi, I have managed to send and receive data via UART on the pyboard, but have been unable to do that using interrupts. Please see code below. Documentation indicates that irq is available: >>> import pyb >>> from pyb import UART >>> uart1 = UART(1,baudrate=9600) >>> uart1.irq(UART.RX_ANY,priority=1,...
by donikuy
Fri Feb 16, 2018 12:53 pm
Forum: MicroPython pyboard
Topic: working with UART and Bytearrays
Replies: 29
Views: 41087

Re: working with UART and Bytearrays

Hi,

Is there any examples on UART IRQ? I would like to detect when certain characters are received.

Regards,
donikuy
by donikuy
Tue Feb 13, 2018 8:27 am
Forum: Other Boards
Topic: STM32F429 Discovery with Micropython
Replies: 6
Views: 9783

Re: STM32F429 Discovery with Micropython

Thank you. With the hack as described on the previous comment I have managed to upload the stm32f4disc-20170526-v1.9.dfu file but that did not work. I then tried the stm32f4disc-20170108-v1.8.7.dfu and that has worked well, now I can see my PYFLASH and can start writing code. Would you please be abl...