Search found 5 matches

by iiLaw
Thu Feb 10, 2022 10:54 am
Forum: General Discussion and Questions
Topic: Visual Studio Code and rshell
Replies: 2
Views: 1790

Re: Visual Studio Code and rshell

Hi have you tried Pico-go plugin for VS code ?
https://marketplace.visualstudio.com/it ... od.pico-go
by iiLaw
Wed Feb 09, 2022 9:14 am
Forum: General Discussion and Questions
Topic: newbie bytes byte-arrays and uarts
Replies: 2
Views: 1097

Re: newbie bytes byte-arrays and uarts

Thanks for pointing me in that direction. I had google around and Buffer Object & Protocol get deep very quickly. But found this helpful https://docs.python.org/3/glossary.html#term-bytes-like-object Though it looks like micro-python treats str differently from CPython. When I started with micro-pyt...
by iiLaw
Tue Feb 08, 2022 7:12 pm
Forum: General Discussion and Questions
Topic: newbie bytes byte-arrays and uarts
Replies: 2
Views: 1097

newbie bytes byte-arrays and uarts

Hi I'm very new to Python and wondering if there is a correct form passing data to a UART on pi Pico I've found two different ways construct the payload via a byte-array and a sequence of bytes. My question is do I have potential issues with either/both? Many thanks in advance. # byte-array >>>modDa...
by iiLaw
Sun Jan 23, 2022 9:07 pm
Forum: General Discussion and Questions
Topic: reading PIR sensor/pin via interrupt
Replies: 1
Views: 8550

Re: reading PIR sensor/pin via interrupt

Hi have you played with utime.sleep_ms(100) which looks to me as denounce so you could lengthen it as PIR can be very noisy in terms of triggering. Is the PIR on a module as some have back off timer of 5 sec to stop re-triggering. The other thing is to put a pin read in a loop and print state as tha...
by iiLaw
Sun Jan 23, 2022 10:40 am
Forum: General Discussion and Questions
Topic: Is Micropython ready for industry?
Replies: 21
Views: 43476

Re: Is Micropython ready for industry?

ttadam a good question. I'm very new to micropython I built a indoor air quality sensor with the pi pico & other variants last summer. I worked with PLC's in food manf and industry some 25+ years ago. I work mainly in building automation and asset monitoring. My work uses long rage RF called LoRa an...