#learn-adafruit-authors

1 messages · Page 3 of 1

latent idol
#

Between 120kB and 250kB.

solid swallow
#

Oh that's totally fine.

#

Justin's going to kick the server.

latent idol
#

Just tried on my phone and not uploading there either.

solid swallow
#

Ok try it again.

latent idol
#

Trying now.

#

Cool. Seems to be working now.

solid swallow
#

Great!

latent idol
#

Thansk for the help!

solid swallow
#

You're welcome!

#

@latent idol For future reference, ping me if you have issues. It's entirely coincidental that I've caught your messages with issues here. 🙂 Remember I have a shorter workweek, but I'll get back to you as soon as I can.

latent idol
#

Ok, will do. Hope to have this ready for first moderation review on Monday. Should I ping you or AnneEngineer?

solid swallow
#

Me. Anne is still on leave.

#

I'll pass it onto Limor.

latent idol
#

Ok, sounds good.

latent idol
#

@solid swallow I just sent the CP memory guide to moderation. I created a private "todo" list, so feel free to add items there or send me a note here. Thanks for your help on this one!

latent idol
#

Whoa it looks like it went live already. For the pin on the help-with-circuitpython channel, please consider changing it from the GitHub link and pointing it to the learn Guide.

#

Thanks for the help and encouragement!

empty mirage
latent idol
empty mirage
#

Thank you, I have been using your "standard" documentation how to use Quickstart: Importing and using the ____

#

for the past week 🙂

latent idol
#

I got a feedback on my learn page and addressed it. I couldn't figure out how to label the issue as "resolved" so I clicked the delete button. Not sure that was the right approach so let me know if there's a different way to signify that feedback has been addressed.

solid swallow
#

@latent idol That's exactly how to handle feedback. And congrats!

uncut gulch
#

@solid swallow how do you like this? Should I add the . and .. inside of lib and CIRCUITPY?

solid swallow
#

@uncut gulch There are some .files that CircuitPython installs, like .metadata_never_index and the .fseventsd directory or whatever it is. At least I think they're default and MacOS isn't installing them?

#

Like this.

#

Basically it should look exactly like a CIRCUITPY drive. Those might be MacOS files though and I'm mistaken.

solid swallow
uncut gulch
#

ah yeah I've got those as well from linux. I'll add them in

solid swallow
#

Right on. Thanks!

shut crater
#

sorry for sneaking into your chat

#

those are dot files, aka: hidden files on *nix-like stuff

#

they dont exist on windows

#

.Trashes is created by macos

#

i think the .metadata_never_index is as well

#

but ive never seen the folder there

uncut gulch
#

I'm fairly certain that my devices have never been plugged into anything running mac os but they do still have .metadata_never_index and .Trashes. I am on linux I think they can get created by that os as well.

#

@solid swallow added those hidden files and some alternating row highlights. If this is good I am going to use it tonight to replace the relevant screenshots for the progressbar library update

ocean flare
shut crater
#

that is interesting :o

#

i was wrong, im sorry

ocean flare
#

They went through a lot of evolution early on. MacOS was a particular problem and these took care of that if I recall correctly.

shut crater
shut crater
ocean flare
#

Always good to ask questions if things are not clear.

#

I think in the case of .Trashes, it is created as a File to prevent MacOS from creating a Folder for it.

shut crater
#

that does make sense, quite a nice bodge, honestly

uncut gulch
#

Ah! I see

uncut gulch
ocean flare
shut crater
shut crater
uncut gulch
#

couldn't get padding to work either (yay CSS) but position relative and small negative top did successfully scoot them up a tad.

shut crater
#

i personally dislike relative positioning, but that does help quite a lot when negative margins fail

#

but hey, it looks awesome now!

#

i would just try a tick more to the top, but, it's fine as it is

vocal parcel
#

hello, i'm trying to get a bluefruit sense PDM microphone working for this project #help-with-projects message but can't seem to find a seminal article on how to make use of the microphone.

#

i thought i might be able to do it myself but it's over my head

#

if anyone is interested in the project, that would ideally be published on adafruit, i would love to sponsor it!

#

i've used upwork for another project but thought i would ask here first

solid swallow
#

@uncut gulch My concern is that she would want you to be testing the code anyway, and therefore you would have a board with the proper files on it already and could get screenshots from that. So she might not want a workaround that, while it should work, might have some issue we wouldn't catch. Regardless, let's let her decide.

uncut gulch
# solid swallow <@!382939733107408897> My concern is that she would want you to be testing the c...

Sounds good. Just sent that a bit ago. Definitely agree'd testing on the device is still very important. I think the main difference is that for testing it's okay to have other files on the device also. So there is no need to delete all of the other libraries. But for screenshoting it needs to be only the libraries used for the project. To screenshot on a live device everything not used by the project must be removed.

solid swallow
latent idol
#

@uncut gulch Awesome update to the fonts page!

uncut gulch
ocean flare
#

@olive light I tried following the funhouse guide to load the uf2 bootloader, but whenever I loaded the linked "combo" .bin file, it just came up running the default "arduino" demo and I was not able to get the UF2 bootloader to start with a doubletap. I manually loaded the uf2bootloader from the tinyuf2 repostiory and it works as expected. Is the linked file in the guide the correct file?

#

@olive light ah -- nevermind -- I guess I was just not timing the doubletaps correctly --it does load the demo, but I can also get it int the UF2 bootloader -- needs a delay between the taps.

solid swallow
ocean flare
#

Ah -- that's the secret!

#

cool!

inland haven
solid swallow
inner bramble
#

Hi all, I was looking though the learning guide for circuitpython canio and found a typo. Under ESP32S2 Metro & External Transceiver "board.CAN_TX" is split into 2 separate code blocks, making it look like there is a space between "board." and "CAN_TX". I have attached a screenshot below.

solid swallow
inner bramble
uncut gulch
#

I don't know exactly when the code embeds changed their look, but I dig the new dark ones with pink buttons!

ocean flare
#

Does it require 6.x or 7.x mpy's? Do you really need to use .mpy's at all...

olive light
#

@ocean flare good question. Let me test and get back to you.

ocean flare
#

Thanks -- I think it would be best just to use .py versions

olive light
#

I'll test mpy. If it fails, I'll just say .py

ocean flare
#

Need to test both 6.x and 7.x .mpy -- it may work with one but not the other.

olive light
#

6.x isn't working, I'll try 7.x

#

neither work. Thanks for catching that.

ocean flare
#

I think py will be cleaner -- the RP2040 has enough RAM so py should be fine!

olive light
#

@ocean flare it should be fixed now.

ocean flare
#

Yes -- I saw it -- Thank you! -- Nice guide!! I liked the Thonny install of MP -- works really well!

#

I have not tried blinka yet -- will probably be tomorrow before I can.

ocean flare
olive light
#

Yes @ocean flare , I was just looking at it. Thanks. 🙂

ocean flare
olive light
#

Oopsie, thanks. I’ll change it tomorrow.

ocean flare
wooden junco
#

Oh yeah, the last 3 examples aren't supposed to run on the funhouse. They're examples of devices you could connect to adafruit io to have stuff to display on the funhouse. I'll edit it to make that more clear

ocean flare
#

Great! Thanks!

wooden junco
#

Done. Let me know if that makes it more clear

ocean flare
#

Yes -- perfect!

vocal parcel
#

I getting good results with the tinypico and a Adafruit I2S MEMS Microphone - SPH0645LM4H and noticed that the instructions for the microphone don't include "ESP32 Wiring & Test". I'm getting clean audio over the network with with a Arduino sketch and small python script here... https://github.com/nodered/ESP32-I2S-Microphone-Speaker

I don't have any other ESP32 boards to test with so I'm not sure if my use case is a one-off or would be useful to others?

GitHub

Contribute to nodered/ESP32-I2S-Microphone-Speaker development by creating an account on GitHub.

#

The code I "found" works but the resulting wav file has no waveform for some reason but the spectrogram is there which worked for speech to text

vocal parcel
brisk ivy
#

Wrong link: Following along the Itsy Bitsy nrf52 learn guide at this page https://learn.adafruit.com/introducing-the-adafruit-nrf52840-feather/circuitpython & the link to download the latest version of CircuitPython liniks to the feather board, not the Itsy Bitsy. At first I thought this was appropriate, but after noticing that CIRCUITPY never came up, I revisited CircuitPython.org and saw there was a file for the ItsyBitsy nrf52 express, installed that, and I got CIRCUITPY. Want to let folks know to help others avoid the same gaffe. Good luck!

Adafruit Learning System

The first Bluefruit Feather with USB and CircuitPython support

brisk ivy
solid swallow
ocean flare
#

@fickle thicket FYI -- I did a quick hack to your deco_macro_pad to use the new "keypad" module in CP 7. Here is the code if you are interested. I'm sure there are more elegant ways to do it

glossy violet
#

Sort of nit picking, but might help us who are ,still learning. The macro pad
Only runs with the UF2 files in “absolute latest”. Latest is already absolute. Putting a link to an old UF2 file will discourage many (NEOPIXEL and things like board.ROTA in the guide don’t work). Drop the green box altogether. Make the UF2 file match the learning guide. Thanks

pliant token
glossy violet
pliant token
#

current Learn Guide:

#

@glossy violet What would you like to see different?

#

we will have an alpha.4 shortly

#

that will work with keypad

brisk ivy
# solid swallow I don't understand. You linked the Feather guide, but you're talking about the I...

Hi @solid swallow Checking this several weeks later. Sorry if I'm not clear. Here's what I'm seeing:
For the incorrect link issue, look at this page in the Infinity Mirror Cube learn guide: https://learn.adafruit.com/neopixel-infinity-cube/software
Scroll down & you'll see text with a link stating: "If you need to install or upgrade CircuitPython, see this guide page on the ItsyBitsy nRF52840."
BUT if you click the link for ItsyBitsy nRF52840 it takes you to the Feather page: https://learn.adafruit.com/introducing-the-adafruit-nrf52840-feather/circuitpython
As for the strip - again using this guide for the Infinity Mirror Cube: https://learn.adafruit.com/neopixel-infinity-cube The suggested LED strip is: "Adafruit Mini Skinny NeoPixel Digital RGB LED Strip - 144 LED/m". But if you look at the video & builds, like at: https://learn.adafruit.com/neopixel-infinity-cube/assemble you can see the density of the neopixels isn't 144/meter (which would be more tightly packed). These ones look like maybe the 60 / meter mini skinnys.

Adafruit Learning System

Mirrored Acrylic and NeoPixel Magic!

Adafruit Learning System

The first Bluefruit Feather with USB and CircuitPython support

Adafruit Learning System

Mirrored Acrylic and NeoPixel Magic!

Adafruit Learning System

Mirrored Acrylic and NeoPixel Magic!

solid swallow
brisk ivy
#

@solid swallow happy to help. Adafruit guides are so helpful & support is always top notch. Errors are very rare, but figured if I saw it, might help someone else to clean up the small issues. Cheers.

astral haven
#

@solid swallow you worked on the adafruit Motorsheild v2 library correct? because i have some questions about the library and its functions.

solid swallow
#

@astral haven I don't believe so, no. I might have contributed a fix or something, but I haven't dealt with it enough to have any useful information about it.

astral haven
#

do you know who i could talk to about it?

#

@solid swallow

#

and is this the correct channel to ask these questions?

solid swallow
solid swallow
astral haven
#

ok thank you so much!

solid swallow
#

You're welcome!

glossy violet
#

Once we figure that out, life is complete.

#

Thanks

pliant token
ocean flare
#

@olive light FYI -- the latest RPI kernel once again appears to break the fbcp for the braincraft on a RPI-4 -- it had been working ok for the past few kernel updates, but I updated it today and now I get nothing on the display if I run raspistill -t 0 the latest kernel is Linux gjnpi4braincraft 5.10.52-v7l+ #1440 SMP Tue Jul 27 09:55:21 BST 2021 armv7l GNU/Linux

olive light
#

Thanks for the head's up @ocean flare. I can do some testing a bit later this week, but am hoping to get a guide finished up by Wednesday.

ocean flare
#

@olive light no pressure from me. I just want to let you know.

atomic ingot
ocean flare
#

@olive light Just curious if you have had a chance to confirm that the braincraft hat is not working with the current RPi kernel? Any idea what the issue is and if a resolution may be in the works -- or is reverting back to the older kernels the only workaround?

solid swallow
olive light
#

I really am not sure what the issue is since they haven't had any new major releases and I had successfully got it working on the May 7 release. Have you tried a fresh install?

ocean flare
#

@olive light I have not tried a fresh install, but will do that later today. It was working for me a few kernels back, but broke when I posted the note above. No worries, it is more a curiosity for me. Not a crisis. i have way to many other projects to work an as well.

olive light
ocean flare
#

@olive light By fresh install, do you mean from a new RPi image on up or just re-running the adafruit install script? I've done the re-install several times, but plan to try from the RPi image on up now.

indigo swan
ocean flare
#

@indigo swan are you using a Pi4?

indigo swan
#

If that's what you're using, I'll test that. I have almost every Pi version, lol

ocean flare
#

yes -- I was using a Pi4

#

Good luck!

indigo swan
#

I'll set it up when I get off work on about an hour and let you know!

#

Just the demo?

ocean flare
#

Also I am not seeing the "console" on the display except it momentarily flashes up when I reboot....

indigo swan
#

Hmm...

ocean flare
#

I have just worked through the guide until the camera test.

indigo swan
#

Which exact image are you using? Desktop full of light, CMD only?

indigo swan
#

Ok, I'll follow exactly then

ocean flare
#

just burned today using raspberry pi imager

#

Thanks!

indigo swan
#

No problem ^_^

ocean flare
#

the colors are a bit odd ... but it is working...

#

colors OK now -- just re-ran the display install and rebooted

indigo swan
#

Hmmm... Not are about unpinning, I've never pinned the kernel

indigo swan
ocean flare
#

No -- had to revert to an old kernel --

indigo swan
#

Ohhh

ocean flare
#

I just wanted to make sure the HW worked. Not my preferred solution!

indigo swan
#

I'll still see if I can replicate with mine then

olive light
indigo swan
#

@ocean flare Ok, so, sorry it took me so long to get into this... Got distracted >~> but I got an error when trying to set up

#

Oh, I did a sudo and it worked

indigo swan
#

@ocean flare Ok, I've got everything set up to the display module -- did you do the "easy way" or the "hard way"? Want to make sure I get as exact to your setup as possible

ocean flare
#

Hard way… that is the only way to use raspistill and the “vision” tools.

indigo swan
#

Ok, I'll continue on it ASAP (stupid "job" gets in the way!)

ocean flare
#

No problem! No rush.

ocean flare
olive light
ocean flare
#

Sorry -- I may be confusing thing -- I'm not sure how the pinned kernel setting matches the kernel

olive light
#

I'm not sure either. @remote onyx wrote it

ocean flare
#

yes a full fresh install yesterday failed.

olive light
#

Which braincraft drivers did you install? What's the failure?

ocean flare
#

it does not disaply anythin when I try raspistill -t 0

#

and the console does not show.

olive light
#

You installed with HDMI mirroring?

ocean flare
#

I followed the guide

olive light
#

Which guide?

ocean flare
#

sudo python3 adafruit-pitft.py --display=st7789_240x240 --rotation=0 --install-type=fbcp

olive light
#

Ok, that's correct

#

Can you try it with raspios lite?

ocean flare
#

it wors OK with the old kernel

olive light
#

It may just be having an issue with the desktop version

ocean flare
#

I am using lite

olive light
#

Is there an issue on github?

ocean flare
#

In what repo?

olive light
#

Raspberry-Pi-Installer-Scripts

ocean flare
#

I don't see one -- I can open one.

olive light
#

Thank you. Please include as many details as possible so I can reproduce the issue.

ocean flare
#

OK - it may be tomorrow morning before I can get it done. Thanks.

#

I can get something in now then add to it.

olive light
#

Awesome, thanks.

ocean flare
remote onyx
#

I don't have any current information about this. At the time I found this workaround, I think we assumed it would be short term but based on this discussion I guess that is not the case.

indigo swan
#

Nothing on the HAT

#

Hmmm... shut down via PuTTY, saw things scroll on the HAT... remove the HDMI, and then nothing at all on the TFT

ocean flare
#

That sounds like what I have seen. I don’t have a display other than the hat.

indigo swan
#

I also had an issue with the sound test where it wouldn't echo the mics

#

Plugged HDMI back in while running, got that image back

ocean flare
#

Hmm. I think that worked but I’ll try it again. I can’t do much until tomorrow though.

indigo swan
#

RIP HAT

ocean flare
#

I’ve been testing various kernels. Having some success.

indigo swan
#

Will this work with a 3B+? Or is it best with a Pi 4?

ocean flare
#

I think it will work with 3b+ but have not tried it.

indigo swan
#

I'll try it on a 3B+ with the other one

ocean flare
#

I’ll be offline for the evening. Good luck!

indigo swan
#

Seeya!

ocean flare
indigo swan
ocean flare
#

Sure -- add anything you think relevant. I am very confused by the "pinning" concept for the kernel, but I do have a working installation now 😉

indigo swan
#

Yay working! Oh, did your mic work? Mine didn't work with the echo test

ocean flare
#

yes -- the mic is working for me (I used headphones and had to set it for that in raspi-config) bad feedback with out headphones

indigo swan
#

Hmm, didn't work with speaker or "headphones" (I couldn't for the life of me find a pair with 3.5mm on them, so I used this novelty handset that looks like a landline handset, lol)

ocean flare
#

ah -- I also had to modify the command sudo arecord -f cd -Dhw:2 | aplay -Dhw:1 since the seed card is card 2, but the headphones are card 1

#
**** List of PLAYBACK Hardware Devices ****
card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
  Subdevices: 4/4
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
  Subdevices: 4/4
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
card 2: seeed2micvoicec [seeed-2mic-voicecard], device 0: bcm2835-i2s-wm8960-hifi wm8960-hifi-0 [bcm2835-i2s-wm8960-hifi wm8960-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
indigo swan
#

Ohhh, maybe that was it? I did 2 for both

#

Although 2 should still have gone to the speaker, right?

ocean flare
#

that still worked for me, but gave feedback on the speaker.

indigo swan
#

I got nada on the speaker, but I'll try doing 1 for headphones for output

ocean flare
#

does speaker-test -c2 work?

indigo swan
#

Wait, which jack did you use? I used the one on the HAT

ocean flare
#

oh -- I am using the one on the pi....

indigo swan
ocean flare
#

did not see the one on e the hat

indigo swan
#

Lol

ocean flare
#

if I use the jack on the hat, I get sound (and feedback) on both the headphones and spekaer!

#

It works fine if I unplug the speaker.

#

that is with sudo arecord -f cd -Dhw:2 | aplay -Dhw:2

#

the microphone is very sensitive.

indigo swan
#

Hmm... I hope mine isn't broken

ocean flare
#

is the audio switch "on"

#

It does not work if the switch is off -- note: I hac to power cycel the pi after flipping the switch ... lost my ssh connection.

#

hmm -- may be something else on mine -- does not like being touched....

#

but make sure the switch is on.

indigo swan
#

Switch is on, I don't see a mic switch

ocean flare
#

just one switch

indigo swan
#

Mmmk, should be working then...

ocean flare
#

should be -- On mine it works if the switch is on -- does not if it is off.

indigo swan
#

Weird

ocean flare
#

I found out why mine did not like being touched... the speaker is mounted right over the Pi board and it can easily short out some contacts if pressed on. .I need to add some kapton tape! But that not relevant to your problem.

indigo swan
#

Lol. I had to use a JST connector and loosely wire a speaker until I found this

ocean flare
#

I have one of them!

indigo swan
#

Hehe, I think I got mine at Five Below ages ago

indigo locust
#

@olive light hi, I would like to suggest an additional methods for adafruit st7735 library and I was told to spoke with you. If you have a time I'll describe the story 😉

olive light
#

@indigo locust I’m not sure which ST7735 library you’re talking about, there’s at least 3-4 of them for different platforms.

indigo locust
#

@olive light Adafruit ST7735 and ST7789 Library

olive light
#

Ah, the Arduino library. I've added a couple of things to that one, but more for the st7789 portion.

indigo locust
#

yes, that one. I thought it's core for all other things 😉

#

maybe I'll describe what I think would be nice to have?

#

it's simple think probably to implement.

olive light
#

Nah, there's the Arduino driver, the CP Displayio drivers (2 of them for 7735 variations), the CP RGB Library, and there's also a kernel driver for the Raspberry Pi.

#

ok, go ahead

indigo locust
#

indeed, that's more than i expected:)

#

so I think would be nice to have methods for mirroring regions. I had an issue with st7735 when text was right to left and mirrored 😄 when I used yours example code.
rotation allows me to move 0,0 correctly but never fixed RTL and mirroring.
I've tweaked these (commented ones are original):
#define ST77XX_MADCTL_MY 0x00 //0x80
#define ST77XX_MADCTL_MX 0x80 //0x40
to get it working.

#

if there was like setRTL() and setMirroring() would be nice as for now it's not possible to change these without tweaking lib files.

olive light
#

You could always submit a PR to the library.

indigo locust
#

on github?

olive light
indigo locust
#

interesting

olive light
#

I'd watch it the PR. A lot of time the arduino submissions are much slower to get approved because what appears harmless can break other things.

indigo locust
#

can be somehow backported to 7735?

olive light
#

It might just work as it is on the 7735

#

If not, then probably.

indigo locust
#

ok, so I'll wait till it come in future 🙂 thx

olive light
#

👍

soft gorge
#

In the learning guide on HID https://learn.adafruit.com/pico-four-key-macropad?view=all

The author wants to implement generate key presses for select/cut/copy/paste.

in the guide, this is presented as
keymap = {
(0): ("Select all", [Keycode.GUI, Keycode.A]),
(1): ("Cut", [Keycode.GUI, Keycode.X]),
(2): ("Copy", [Keycode.GUI, Keycode.C]),
(3): ("Paste", [Keycode.GUI, Keycode.V])
}

If the platform is windows, these keys should have been sent with the control modifier - i.e. Keycode. control instead of Keycode.GUI, as according to https://circuitpython.readthedocs.io/projects/hid/en/latest/

Keycode,GUI is corresponds to the "windows" key, and those combination will not work as required.

Adafruit Learning System

Cut, Copy, & Paste from a single, stylin' keypad!

indigo swan
#

Keyboard.CONTROL instead of Keyboard.GUI for Windows

signal raptor
#

@solid swallow I appreciated the discussion about the use of boilerplate material in guides in today's meeting, however there's another tangential thing regarding the bloat that stuff adds. I think its important to get at least a link to code for any particular guide as "above the fold" (not sure if that term is even that well known any more) as possible. I know when I go to a guide, the main thing I'm looking for first is the code.

#

I often find that it tends to be buried deep underneath a morass of boilerplate.

solid swallow
# signal raptor <@!330227457296957440> I appreciated the discussion about the use of boilerplate...

Fortunately or unfortunately, we have a standard format for guides, and it's unlikely that we'll change it up to that degree. The format is different for project guides versus product guides, but it's pretty standard within each of those categories. Project guide code is often on its own page, which should make it a bit easier to find. Product guide code is always on the language labeled pages (i.e. CircuitPython or Arduino), and possibly on further example pages. This product guide I'm working on right now has 10+ examples, and putting them all at the beginning would be cumbersome. So the examples are nested under the applicable language page. So I think, for now anyway, the code will remain where it has been. Apologies that it's frustrating to you. FWIW, nothing we discussed involved adding more boilerplate. It was mostly restructuring so things were more concise and clear, which I hope would be an attractive prospect to you. That said, I'm sure you're way beyond the Welcome to CircuitPython guide at this point, so the specifics of that discussion probably don't apply to you to begin with, as that specific guide is what we were discussing.

pliant token
#

also the keymap can just be a list or tuple

soft gorge
#

Thanks. May I ask how to submit a pull request ? is there a repo for this guide or other guides ?

pliant token
#

There is this note in the guide, which is incorrect:

#

I will change that right now, until the code is updated.

#

I would do something like:

# Comment this out if using Windows, and uncomment the next line.
MODIFIER = Keycode.COMMAND   # for macOS
# Uncomment this if using Windows, and comment out the line above.
# MODIFIER = Keycode.CONTROL # for Windows.
#

Then use MODIFIER in the keymap table.

fickle thicket
indigo swan
#

Too much time on MacOS? :P

soft gorge
pliant crag
pliant token
#

He was misremembering that on Windows, it's ctrl-c for copy, not windows-c

pliant crag
#

True 🙂

fickle thicket
ocean flare
solid swallow
#

@ocean flare Thanks for catching that. This is still very much a work in progress, and I haven't gotten to the FAQ page yet, but admittedly, I likely would have missed that issue. I'll ask Brent what he thinks is the best option for linking.

indigo swan
#

So, pinout sheets -- I know there was talk of software to generate the pretty ones like the RP2040 has, is that still a work in progress? I'd like to offer help making sheets, it would make me very happy if every board had one

solid swallow
# indigo swan So, pinout sheets -- I know there was talk of software to generate the pretty on...

Definitely still a work in progress. I'm the only one making them and other things keep being prioritised above it. It's a bit of a bonkers process to make them, though much easier than doing the whole thing manually. I don't think any of it is internal-only? But it requires an SVG editor (like Inkscape or Adobe Illustrator), and a level of finesse. All of the diagrams I create are approved by Limor before being finalised, which is I guess the step that's more internal than the rest.

#

You're referring to PrettyPins right?

indigo swan
#

Ahh, gotcha. Yes I am, forgot the exact name for it

solid swallow
#

Ok yeah, making sure I was explaining the right thing.

indigo swan
#

I do have Inkscape, so I can do SVG. By "a level of finesse", do you mean ability to lay everything all pretty and logically?

solid swallow
#

Yeah that's what I mean. Put more literally: doing it the way Limor wants it. Which, you could sort of figure out from the ones already published. Sometimes you have to move things around on the pin label lines, or add lines to be able to point to things that are in the middle of the board but the label is, for example, above it, or whatever - I only mention the adding lines because it means "creating content" that isn't already there (though I usually copy and paste a current line and then move it around and shorten it or whatever). I don't know if you've done SVG editing before, but it's a bit tweaky.

#

I wouldn't mind having someone else doing it, but I don't think Limor would give me the option to teach someone else, mostly because she's still approving these things and so then she'd be involving someone outside of Adafruit etc.

#

Best I think I could do is update the README to explain it better than it does, and then let you do with that what you choose to on your own. It's a weird process though. For example, you have to almost always run it twice to get the Arduino pins to even show up. No idea why.

#

Point being, if you managed to put one together based on the README, and passed it on to me, I'm not going to turn it down. 🙂

indigo swan
#

Ahh, gotcha. Sounds good to me! I'm always up to new challenges! And PrettyPin charts are so satisfying...

solid swallow
#

Ok, I'll try to get the README updated. It's on GitHub under the adafruit user, called PrettyPins. Might be a week or so before I get to it, but I'll try to remember to let you know. Otherwise, keep an eye on it.

indigo swan
#

Sounds good ^_^

solid swallow
next remnant
#

is it just me or did bullseye break something?

ocean flare
#

Yes it did.

#

The camera support has changed.

next remnant
#

not using caners

#

camera

ocean flare
#

Braincraft does if you Install pitft..

next remnant
ocean flare
solid swallow
next remnant
#

aplay and arecord and speakertest work fine

#

I am really feeling dumb

#

(env) pi@grpi:~ $ googlesamples-assistant-audiotest
INFO:root:Starting audio test.
INFO:root:Recording samples.
INFO:root:Finished recording.
INFO:root:Playing back samples.

next remnant
#

ok, it works if I activate venv as root

#

gv_buttontotalk.py works as well

#

only in root venv

ocean flare
#

@solid swallow I see all the new PyLeap guides, but how do i get them to show up in my PyLeap App?

solid swallow
ocean flare
#

ah -- OK - I'll be patient -- at least I'll try 😉

solid swallow
#

🙂 I'll let them know, in case they weren't aware that the guides were published.

ocean flare
#

Thanks for getting them out there -- They look great!

solid swallow
#

Thanks!

runic grotto
#

@ocean flare they are hard coded in the app at the moment so it'll need a version bump. your phone should auto-update through testflight once it is released

ocean flare
runic grotto
next remnant
#

I am trying to port this to the titano with minimal CP exp no exp in HAss or MQTT
https://learn.adafruit.com/pyportal-mqtt-sensor-node-control-pad-home-assistant/overview
between the hdwr changes and the new protocols I dont know where to start.
I have the Titano showing buttons then on code.py line 233 it errors with "typeerror 'module' object is not callable"
Am I asking correctly?

Adafruit Learning System

Take IoT to the next level with this MQTT powered Super Sensor.

#

I #'d all lines dealing with the adt sensor that does not exist on the titano

#

is this the correct channel?

#

I also am not using the pir

solid swallow
# next remnant is this the correct channel?

I suggest #help-with-circuitpython. This channel is meant for discussing guides from a technical standpoint, not getting help with doing the project from a guide. We discourage cross-posting the same question in multiple channels, but in this case, I suggest you repost your question in the CircuitPython help channel.

next remnant
#

understood, thank you

static mist
#

https://learn.adafruit.com/adafruit-esp32-s2-feather/pinouts
With this learn guide: There's a warning about enabling pin 7 to be able to use the stemma connector. But it's listed under "Power". I was searching under the "Stemma QT" and though I had a busted wire because I didn't think to check under Power, since the board was powered and running circuit python without issue. Would that warning make more sense in the stemma qt section?

solid swallow
#

Done.

static mist
#

Awesome! Hopefully that'll mean the time I spent unplugging and plugging in different cables will be time well spent now 🙂

solid swallow
#

Worst part? We're renaming that pin yet again because the next rev of Feathers, the pin won't be inverted. 😄

#

So we'll have a rogue set of them that have the inverted pin, and the rest for all time will not.

static mist
#

haha it happens. Every project has to have a moment where you want to smash it to bits. And oof having two versions is going to make the guides even more fun to manage. But hopefully it'll also make it easy to fix a lot of problems users run into

uncut gulch
#

@cerulean pine I've created a new page "Label Updating" for the existing Display Text learn guide: https://learn.adafruit.com/circuitpython-display_text-library/label-updating?preview_token=u4hwkc8ZyJhER7RdG1bvkw Right now the page is marked as a draft. I believe the new page is ready for moderation and publishing if good. I know the process for brand new guides that haven't been ever published yet, but this is my first time adding a new page to an existing guide. Is there anything specific that I should to do to mark the single page as ready for moderation?

cerulean pine
#

@uncut gulch - copy and paste what you just wrote and email it to me and I'll moderate after I get the newsletter out

#

There is no present way to flag a page for moderation

tame valley
#

Please am working on a school project using Adafruit DHT11 sensor suddenly the sensors started giving sensors not detected check wiring, I have been troubleshooting for days, is there any patch to fix this problem or what do I do

solid swallow
tame valley
#

ok thks

harsh parrot
ocean flare
# harsh parrot i'm just kinda confused rn, in the learn page of this display (https://learn.ada...

In the datasheet for the display https://cdn-shop.adafruit.com/product-files/2719/UG-2864ASWPG14_wisechip.pdf on page 3 it says Host Data Input/Output Bus These pins are 8-bit bi-directional data bus to be connected to the microprocessor’s data bus. When serial mode is selected, D1 will be the serial data input SDIN and D0 will be the serial clock input SCLK. When I2C mode is selected, D2, D1 should be tired together and serve as SDAOUT, SDAIN in application and D0 is the serial clock input, SCL. Unused pins must be connected to VSS except for D2 in serial mode. So it looks like that is why D2 is jumpered to D1 for I2C. The pinout section should be clarified.

harsh parrot
#

alright

#

thanks

pliant token
# ocean flare In the datasheet for the display <https://cdn-shop.adafruit.com/product-files/27...

I edited to say this. I think this is right now?
Pin #7 is Data0 - this pin is the SPI Clock pin, I2C Clock pin and the 8-bit data bit 0 pin. This is a 3V logic level input pin when used with I2C/SPI, and an input/output when used in 8-bit.
Pin #8 is Data1 - this pin is the SPI Data In pin, I2C Data pin and the 8-bit data bit 1 pin. This is a 3V logic level input pin when used with I2C/SPI, and an input/output when used in 8-bit.
Pin #9 is Data2 - this pin is tied to Pin #8 when used with I2C. It is an input/output when used in 8-bit mode.
Pins #10-14 are Data3-7 - Used for 8-bit mode. These are 3V input/outputs when used in 8-bit. Do not connect if using SPI or I2C.

ocean flare
midnight sedge
pliant token
brittle anvil
#

I'm working on a couple of thinks that would make nice learn-adafruit guides. Who can I talk to about getting there on your site when I finsih the projects. I might need some help making them meet your high standard or I could hand them off for someone to dot the eyes and cross the teas.

mystic yarrow
#

Is there a such thing as too many pictures in the assembly part of a guide? I disassembled one of my prototypes and took pictures of everything I thought was important to see, I have 22 pictures and a sentence or two explaining each one

solid swallow
# mystic yarrow Is there a such thing as too many pictures in the assembly part of a guide? I di...

It depends. 😄 I know that's not useful. Basically, what you can do, is make Side2 elements, and include multiple pictures in each Side2, and explain multiple images in the same block of text in the Side2. It shrinks down the length of the page, while still allowing for a lot of images. I feel like it's not that common to do, and that many images is equally uncommon. However, the process I explained might make it work. I imagine that you will otherwise be asked to pare it down some.

mystic yarrow
#

about 1/3 of them are showing the steps to mount the bone conduction transducer to a set of glasses. I'll try the side2 stuff and trim some out if needed

mystic yarrow
#

Thanks! that is a good example.

solid swallow
#

You're quite welcome! Remember you can always email Anne with questions if you don't get a reply here. She's the Learn system guru. 🙂

mystic yarrow
#

side2 makes things look much nicer, i went through with an eye towards redundancy and got rid of a few images/combined steps

timber tangle
#

hi, is there someone I can speak to about learn.adafruit.com please? Have a suggestion to make PyPortal documentation more accessible

atomic ingot
timber tangle
atomic ingot
#

👍🏻

timber tangle
atomic ingot
#

I only suggest the circuitpython Org repo because of visibility.

#

There isn’t really a repo for the Adafruit learn site

#

Plus the folks who help maintain the Adafruit learn site manage the circuitpython org repo

timber tangle
#

if I post an issue for that domain, won't they be a bit confused and close it ok if the team is the same, that makes sense

atomic ingot
#

Just make sure you reference the learn site in the issue title

atomic ingot
#

I always forget there is a feedback option for every learn guide

timber tangle
# atomic ingot One other thought it to use the feedback link on the learn guide

thank you for your help, I opened a new issue. If you have any feedback to make it clearer please let me know. https://github.com/adafruit/circuitpython-org/issues/954

GitHub

Thank you for your website and products. I'm a happy user. Proposing that on learn.adafruit.com, a category is added to ensure PyPortal products are '1st class citizens', li...

eager stag
#

I'm a bit confused about this wording in the guide for the Adafruit Powerboost 1000 Basic: https://learn.adafruit.com/adafruit-powerboost-1000-basic/pinouts

LBO - not a leveraged buy out! this is the Low Battery Output. By default it is pulled high to BAT but when the charger detects a low voltage (under 3.2V) the pin will drop down to 0V. You can use this to signal when its time to shut down or alert the user that the battery is low. There is also a red LED connected to this pin.

Does this mean that the LED is on when the voltage is below 3.2V, or off when the voltage is below 3.2V?

hybrid flare
#

if it goes to 0 volts at low power, and an led feeds off of that...

analog drift
eager stag
#

Okay, thanks

red siren
#

@pliant token images for WSL learn guide feedback.

red siren
#

It probably took me about 1-2 hours to install WSL, Visual Studio Code, GIT, python, packages, submodules, adafruit requirements, etc.. and get it to a place that was ready to code and contribute to Circuit Python. The section of the learn guide dedicated to WSL should be its own learn guide. There are so many pitfalls that can happen like packages not being installed correctly, installing things in the wrong order, etc.. that makes the entire process feel like jumping through 30 hoops. However, once everything is done, having a legitimate Ubuntu distro cmd line within Windows was worth the effort. Visual Studio Code makes working within WSL GIT repositories feel like an optimized experience.

pliant token
red siren
#

it defaults to WSL2 i suppose, i never specified but i did do a version check shortly after it installed to confirm it was WSL2

pliant token
#

In retrospect, do you think it would have been easier to install VMWare or similar and install Ubuntu?

red siren
#

not really, would probably be about the same plus there would be yet another layer wrapped around it with vmware

pliant token
#

The steps of installing WSL have changed over the years, and I would actually like to point to MS doc or similar for the initial install, instead of making a duplicate tutorial that will age and become wrong. For instance, the virtualization BIOS setting you mention might be covered elsewhere.

red siren
#

however at least with the WSL install i did, there's no GUI and with vmware you'd probably get a choice of docker and GUI.

#

it's kind of up to preference

pliant token
#

where does VSCode present a GUI then? Does it know about WSL and do the GUI in windows but access the WSL filesystem?

#

when I wrote the code VScode was much younger

red siren
#

i did see more advanced options after i did the install where i think there might be a gui yeah. i haven't looked into it.

pliant token
#

did you do it on Win10 or Win11?

red siren
#

the vs code integration is very good and easy to use. can definitely recommend taking another look. i had the same experience eh maybe 5 years ago and immediately uninstalled it. it's different now, a pleasure to use.

#

10

#

to the point of being an acceptable substitute for vmmare if you just want a termainl or headless style install

pliant token
#

When I have a chance I will redo my WSL installation(s) and check it out; thanks for taking the time to write the feedback

red siren
#

👍

#

having terminal but with vs code as the gui is pretty sweet. don't have to deal with nano.

#

oh WSL becomes VSCode aware when you install vscode on windows, it does a path hook or something so when in an ubuntu terminal sitting on the circuit python directory for example, type "code" into terminal and it launches vscode in windows but with the directory structure from your repository in ubuntu filesystem.

#

or maybe it's vscode becoming WSL aware, i'm not sure. i have 2 gits, 2 pythons running on both ubuntu and windows and file system interoperability... easy to get confused about what is doing what and where.

#

it's like GIT inception running on windows, within ubuntu, from vscode on windows, with ubuntu file structure.

red siren
#

@pliant token here's a quick demo video i made showing WSL2 integration and usage. the git repo on my ubuntu is only running the latest CP specifically for builds. it's separate from the one i have on windows Github Desktop app for PR's and contributing. so you can run 2 simultaneous GIT's for different purposes if you want with this setup. just showing the different ways to get to Ubuntu through windows cmd line or ubuntu terminal and file transfers between ubuntu <-> windows is seamless. for headless installs you can 1) dual boot 2) vmware 3) wsl If you would have asked me last week my choice would have been vmware, now it's hands down WSL and that's mostly thanks to the VSCode integration but my needs are very basic only for the purposes of running python and git. i think if people can see how well the integration works in the learn guide they'll be happy to go with WSL. Feel free to use this video in the learn guide or for whatever purposes you like.

red siren
junior basalt
#

how do I report a wrong link on the website (links to incorrect Learn article)?

junior basalt
pliant token