Search found 7 matches

by GilbertGagne
Mon Feb 07, 2022 1:28 pm
Forum: Raspberry Pi microcontroller boards
Topic: Input pin has no irq attribute
Replies: 4
Views: 3684

Re: Input pin has no irq attribute

I am most thankful for the solution to my problem but also very embarrassed at being guilty of a spelling mistake. In over 40 years of computer coding I have never used other than visual inspection to debug my code. This hopefully will not happen again. Of course, at 84, my career is quickly closing...
by GilbertGagne
Sun Feb 06, 2022 5:11 pm
Forum: Raspberry Pi microcontroller boards
Topic: Input pin has no irq attribute
Replies: 4
Views: 3684

Input pin has no irq attribute

I'm using an SPDT switch as Pi Pico inputs GP4 and GP5 to control motor direction via interrupts. The motor is connected to an H-Bridge with control inputs motor1 and motor2. Either GP4 or GP5 input generates an interrupt which toggles the onboard LED and toggles motor1.value() and motor2.value() th...
by GilbertGagne
Thu Jan 13, 2022 10:48 pm
Forum: Raspberry Pi microcontroller boards
Topic: Updating Pi Pico with MicroPython kills the flash drive
Replies: 3
Views: 7025

Re: Updating Pi Pico with MicroPython kills the flash drive

Many thanks to scruss and fdufnews for their useful comments. It motivated me to digging seriously into the many parts of Thonny which I had brushed off as just an editor. In Thonny I was able to open a script file generated in Notepad and RUN on Pi Pico then saved it to Pi Pico. Finally, cycled Pi ...
by GilbertGagne
Wed Jan 12, 2022 8:21 pm
Forum: Raspberry Pi microcontroller boards
Topic: Updating Pi Pico with MicroPython kills the flash drive
Replies: 3
Views: 7025

Updating Pi Pico with MicroPython kills the flash drive

Here's what I've done: 1. Held reset while powering up Pi Pico 2. File manager shows flash drive Rp1-Rp2 (D:) 3. Copied MicroPython update file: rp2-pico-20210902-v1.17.UF2 to flash Rp1-Rp2 (D:) 4. Flash drive Rp1-Rp2 (D:) disappears from file manager 5. Openned CoolTerm and hit "connect" ;it shows ...
by GilbertGagne
Wed Dec 29, 2021 9:43 pm
Forum: MicroPython pyboard
Topic: MicroPython startup, No flash drive
Replies: 6
Views: 26485

Re: MicroPython startup, No flash drive

I tried downloading updated software but found that my USB cable passed power but not data. A new USB cable now reads the PYB Flash drive. Problem solved.

Thank you all for the helpful comments. It sure is comforting to have this rescue forum.
by GilbertGagne
Tue Dec 14, 2021 5:45 pm
Forum: MicroPython pyboard
Topic: MicroPython startup, No flash drive
Replies: 6
Views: 26485

Re: MicroPython startup, No flash drive

According to the referenced doc, the Pyb is correctly connected via USB to PC and PC is running File Explorer. File Explorer does not list any flash drive.

I would like to re-install up to date software but have not found how to do that. Some guidance and/or references would be greatly appreciated.
by GilbertGagne
Tue Dec 14, 2021 12:55 am
Forum: MicroPython pyboard
Topic: MicroPython startup, No flash drive
Replies: 6
Views: 26485

MicroPython startup, No flash drive

I'm a newbie with 2 new Pyb v1.1. I've waited until humidity was over 85% to remove them from anti-static sleeves to avoid zapping them. I've plugged them into USB port on my Win10 laptop. One Pyb blinks one Led and the other blinks 3 Leds. Neither Pyb shows up in File Explorer. Program. Openned Pyt...