Search found 8 matches

by Pigeon
Sat Oct 30, 2021 2:30 am
Forum: Programs, Libraries and Tools
Topic: Could a total noob get a little help setting up micropython-stubs?
Replies: 4
Views: 2071

Re: Could a total noob get a little help setting up micropython-stubs?

If you get an answer on the other forum you asked on , please update us here. I got this reply on the Raspberry Pi forum I think that's referring to the MicroPython source tree. This might have some relevance for the Pico: micropython-stubs/readme.md at 153170a17680642210771a336301daaf7db563a4 · Jo...
by Pigeon
Fri Oct 29, 2021 1:33 pm
Forum: Programs, Libraries and Tools
Topic: Could a total noob get a little help setting up micropython-stubs?
Replies: 4
Views: 2071

Re: Could a total noob get a little help setting up micropython-stubs?

OK, so I worked out the whole symbolic link part and think I have my head around setting up a "template folder" with symbolic link and Stubs. But I really don't get this part: Select which stub folders you need to reference The order will influence results. place the 'higher quality' folders first. ...
by Pigeon
Fri Oct 29, 2021 9:28 am
Forum: Programs, Libraries and Tools
Topic: Could a total noob get a little help setting up micropython-stubs?
Replies: 4
Views: 2071

Could a total noob get a little help setting up micropython-stubs?

Trying to set up the https://github.com/Josverl/micropython-stubs for VS Code. But, despite the well-document guide, I'm still having a little trouble. This may work better if I post the instruction and what I have actually done? Download a copy of this repo , either via git clone or by download a z...
by Pigeon
Fri Oct 29, 2021 5:28 am
Forum: Programs, Libraries and Tools
Topic: Having an issue getting the lib for the SSD1306 working
Replies: 9
Views: 13119

Re: Having an issue getting the lib for the SSD1306 working

curt wrote:
Sat Oct 16, 2021 7:22 pm
I had problems with this too. After much searching here is what worked for me:
Thank you Curt, forgot to reply that this also worked for me!

Sincerely, Thank you!
by Pigeon
Fri Oct 29, 2021 5:22 am
Forum: General Discussion and Questions
Topic: Random words, rather then Random number?
Replies: 2
Views: 1178

Re: Random words, rather then Random number?

OlivierLenoir wrote:
Fri Oct 29, 2021 5:18 am

Code: Select all

import urandom
urandom.choice(('yes', 'no'))
Thank you so much Olivier!
by Pigeon
Fri Oct 29, 2021 5:08 am
Forum: General Discussion and Questions
Topic: Random words, rather then Random number?
Replies: 2
Views: 1178

Random words, rather then Random number?

Feel the need to prefix this with the disclaimer I am a total noob.

I see in libraries there random to generate random numbers, but if I wanted to have a single button that randomly printed Yes or No. what would be the easiest way to go about that?
by Pigeon
Wed Oct 13, 2021 10:19 pm
Forum: Programs, Libraries and Tools
Topic: Having an issue getting the lib for the SSD1306 working
Replies: 9
Views: 13119

Having an issue getting the lib for the SSD1306 working

have the SSD1306.py in my Lib forler. Trying to run some simple code: from machine import Pin, I2C from ssd1306 import SSD1306_I2C import framebuf WIDTH = 128 HEIGHT = 64 i2c = I2C(0, scl = Pin(17), sda = Pin(16), freq=200000) oled = SSD1306_I2C(WIDTH, HEIGHT, i2c) oled.fill(0) oled.text("I CAN HAZ ...
by Pigeon
Tue Oct 12, 2021 9:34 pm
Forum: Programs, Libraries and Tools
Topic: Add MicroPython libraries to VS Code?
Replies: 1
Views: 3320

Add MicroPython libraries to VS Code?

Hello, hope this is the right place to ask. Just starting out with MicroPython and have set up VS code, and a Pi Pico. I see a lot of people using Thonny on the youtube guides, but I went with VS code as I'm both dyslexic and visually impaired (not a good combination for coding! :D ) and find the au...