Zen
Zen
I've updated it and I'm still getting similar results, and interestingly, if I run this: ``` lora = LoRa(address=3, reset_pin=2) webserver = WebServer() webserver.serve() async def main(): await lora.dev_init() while...
> I am not sure about this: > > ```python > async with self.seat: > print("Sending command: ", cmd.rstrip()) > await self.writer.awrite(cmd) > await sleep_ms(10 if query else 50) >...
Thanks for sharing that, I considered doing a solution like that before, but it seemed a bit messy. I mean using a timeout like that is sorta like a watchdog...
> I am not sure about this: > > ```python > async with self.seat: > print("Sending command: ", cmd.rstrip()) > await self.writer.awrite(cmd) > await sleep_ms(10 if query else 50) >...
I've refactored my code quite a bit and have uploaded it here: https://github.com/desultory/rylr998 The "server" code works fine but the code for a "client" that can just press 2 buttons...
I've been testing this a lot, I can sometimes restart the board (unplugging and plugging back in) and then I can spam both buttons and it will seemingly never crash,...
> > I'm not able to import "Delay_ms", I can't even import primitives. > > Installation instructions are [here](https://github.com/peterhinch/micropython-async/blob/master/v3/docs/TUTORIAL.md#01-installing-asyncio-primitives) - it can be done with `mpremote mip`. Thanks, but I've...
Are there any recommended debug steps when REPL stalls? I'm facing a similar issue with another project using UART devices, and it will stall out sometimes after writing to the...
I've been looking at the UART to the modem with a logic analyzer, and everything looks totally normal when this error occurs. I'm not sure how I'd even use that...
``` from machine import Pin, UART m0 = Pin(0) m1 = Pin(1) aux = Pin(28) m0.off() m1.off() uart = UART(0, 9600, tx=Pin(16), rx=Pin(17)) ``` The following works, I attach via...