Search found 45 matches

by Primesty
Fri Sep 25, 2020 3:14 pm
Forum: Drivers for External Components
Topic: MAX31855 Driver
Replies: 12
Views: 4137

Re: MAX31855 Driver

Hey deshipu the link for the max31855 driver is not working anymore. Does anyone happen to have the raw .py driver file they’d be willing to share with me and/or are aware of another driver that works for the adafruit max31855 thermocouple breakout?

I’d appreciate it!
by Primesty
Thu Sep 10, 2020 11:40 pm
Forum: MicroPython pyboard
Topic: Best OS to support development with MicroPython and Pyboard..
Replies: 17
Views: 4374

Re: Best OS to support development with MicroPython and Pyboard..

Happy to report that I was able to install Ubuntu 18.04 successfully on my Chromebook with crouton, so it can run in parallel on a shared filesystem - so far it works like a charm and connects without a hitch to ESP32/8266 via Thonny, and Putty - have yet to try rshell. Ubuntu 20.04 wouldn't install...
by Primesty
Thu Sep 10, 2020 3:20 am
Forum: MicroPython pyboard
Topic: Best OS to support development with MicroPython and Pyboard..
Replies: 17
Views: 4374

Re: Best OS to support development with MicroPython and Pyboard..

Awesome! Thanks for all the help! I’ll get to it and see how it goes. Not having to install drivers will certainly help!
by Primesty
Wed Sep 09, 2020 1:17 pm
Forum: MicroPython pyboard
Topic: Best OS to support development with MicroPython and Pyboard..
Replies: 17
Views: 4374

Re: Best OS to support development with MicroPython and Pyboard..

Thanks for all the tips guys! @dhylands Hmm. I'm currently using Mac OS Catalina and not having any issues. . It seems when I update Catalina, it removes or damages the SilabsUSBDriver for UART, which I then have to reinstall. Furthermore, I've been getting reflush-tree errors on uPyCraft, which ult...
by Primesty
Tue Sep 08, 2020 10:07 pm
Forum: MicroPython pyboard
Topic: Best OS to support development with MicroPython and Pyboard..
Replies: 17
Views: 4374

Re: Best OS to support development with MicroPython and Pyboard..

Due to continued driver issues with Mac OSX Catalina, I have decided to go the Linux route as many forum members seem to prefer it to other OS. I'm getting an old chromebook, which I'll use to put Linux on and then exclusively use for micropython dev. What do you guys think is the best Linux distro ...
by Primesty
Tue Sep 08, 2020 2:28 pm
Forum: Programs, Libraries and Tools
Topic: uasyncio - How detect the end task in another task.
Replies: 50
Views: 7243

Re: uasyncio - How detect the end task in another task.

Hey Pete, you sure can! I read up on it and figured it out with the input on the global stuff from you. I got it to work like this: def foo(): global toggle global blink2_task global blink3_task if toggle: blink2_task.cancel() blink3_task = uasyncio.create_task(blink3(led4)) print('Toggle') else: bl...
by Primesty
Sun Sep 06, 2020 3:40 pm
Forum: Programs, Libraries and Tools
Topic: uasyncio - How detect the end task in another task.
Replies: 50
Views: 7243

Re: uasyncio - How detect the end task in another task.

Hey, thanks - found it! I tried a simple example from machine import Pin, Timer, I2C import dht import time import uasyncio import gc from aswitch import Switch, Pushbutton led2 = Pin(19, Pin.OUT) #green led4 = Pin(33, Pin.OUT) #red sw = Pin(18, Pin.IN, Pin.PULL_UP) switch = Pushbutton(sw, suppress ...
by Primesty
Sat Sep 05, 2020 11:12 am
Forum: Programs, Libraries and Tools
Topic: uasyncio - How detect the end task in another task.
Replies: 50
Views: 7243

Re: uasyncio - How detect the end task in another task.

Ah gotcha. That makes sense. Is there a uasyncio function that lets me cancel a specific task? In this case it would just be the two in the toggle, right? A la, cancel 1 create 2, and vice versa.
by Primesty
Fri Sep 04, 2020 8:09 pm
Forum: Programs, Libraries and Tools
Topic: uasyncio - How detect the end task in another task.
Replies: 50
Views: 7243

Re: uasyncio - How detect the end task in another task.

Hi Pete, Follow up to the toggle function. I'm not trying to get carried away, but this keeps popping up in my mind ;) Do you think it's possible to use the toggle function you showed me in the async main function to switch between two asynchronous tasks while all others keep doing their thing? Togg...