#live-broadcast-chat
1 messages · Page 23 of 1
Yeah. Designing, prototyping, adjusting for a month.
I just love everything about that design — the spacing, layout, color…
how true to color will the soldermask be? that's a really nice purple.
i think liz had a project where she used a bigger party parrot.
The default OSH Park mask is quite a bit darker than the rendering. I made it more transparent to help inspect traces and fills.
@sand lotus The Cowbell sequencer design is a hallmark of form and function. Watching it evolve has been fascinating.
wasn't as big as i thought and has a black background, which is kinda cheaty but smart.
Cow
progress! 🙌
that's super fast! sweeeeet!
try make_opaque instead?
hmm goal might be to get true transparency though, that would be nice.
could you flip flop between frames for make_transparent to make_opaque perhaps?
I’m confused about how to use ColorConverter. Is it a static or dynamic filter pipe? What are its inputs and outputs? When does it have to be used and when not?
How does it supplant or supplement a palette?
imagine ram is going to be pretty important for the ability to use animated gifs. the s2 and s3 will obviously perform better but still important to get it working with M4 and M0's if possible too.
i'm think M0's importance for CPE for education and getting kids excited in electronics. they love animated gifs. we live in the era of memes.
does this play?
as a video yes
@nova totem any ideas about the way it's showing the other frames in the background, or the way the left side is teal? (recording just above here)
I tried it on pico_system so I could stay in rp2040 family to start with. It loaded up and displays, but has this stacking thing going on.
the simpsons one he was using didn't have any transparency
Just use bucket fill with black on each transparent section around the parrot each frame.
Each frame is transparent so you'd have to edit each frame. Might just be easier to find an animated gif without transparent frames.
I'm home now (zoo trip with my nephew) but there could be something with transparency acting weird
It is supposed to handle transparency but I wonder if there is some case I am missing in the draw function
If you want what size display are you using? I can send you the GIFs I had for testing
Use EZgif for quick conversions.
I use that for BMP sprite layout creation too. great tool.
pretty sure you should be ticking "as animation" or it might only export a single frame?
Also can you send me the GIF that isn't working? I can try it out later too
Color converter (also an option I have to add to change how it changes)
THey're probably 565 but BE vs LE
might be able to speed it up by reducing the milliseconds delay parameter during file save?
this is the first one I tried. I'm tinkering some with a homer one in gimp as well, still changing things on it
cc = displayio.ColorConverter(input_colorspace=displayio.Colorspace.RGB565_SWAPPED)
when saving your animated gif in GIMP there's a parameter for milliseconds delay below "animated gif" tick box.
Try that (the _SWAPPED)
It won't render it faster (unless you are reading the delay and pausing - I never did)
The code won't pause between frames unless you tell it to
Yes I usually get 3 fps for bmp sprites full size too yes.
Ah I see it's because the parrot was much smaller it improved the fps.
Oh I have an idea what may be up with the parrot gif
It also has transparency so it didn't have to redraw the full background?
I think it is always drawing at Y=0 and the changes happen lower down
Yeah something with that I'll have to look at what the draw function is getting i'm probably missing something
I saw it on another GIF that I had from ages ago but I didn't look into it
Yup I do not process the upper left corner parameters - oops
Yes scale slows it down
faster parrot = harder party
also the delay is saying 40ms, and at 40fps each frame is taking 25ms, so technically you should delay 15ms
also the play_frame function returns the delay to the next frame
sorta:
start = time.monotonic()
delay = gif.play_frame()
display.refresh()
time_taken = time.monotonic()-start
time.sleep(delay-time_taken)
Just double-click the layer comment in the layers' window and a delay in ms enclosed in brackets ()
Thanks for the parrot GIF, going to have to think just to make sure I get missed parameters added in properly.
Yeah could have play_frame that checks the delay, but could have a play_frame(override_time=True)
On Espressif you will need that pragma line I pasted earlier - I think
Or just comment out that one line because it isn't actually called (and I may trim the library down some for CP still)
it is not in gifio yet
(moving there it is in displayio now) the gif.c is in /lib/AnimatedGIF
very start
line 1
should be okay there - i think
it says ignore that warning for that file. A bad idea generally. That will not be the long term fix
I'm guessing so. Didn't dig too deep
CPU is faster 240Mhz i think?
S2 is 240mhz single core. I've also noticed the S3 dual core does slightly better than S2 as well.
CPU definitely matters
Amazing progress @nova totem .
Thanks, this is helping a lot to catch those weird things I didn't think of and see
Haha okay party parrot is in line but not quite right yet
So nice to have extra eyes on projects.
Parallel display on PyPortal
ha sorry didn't mute volume on the video
seems like some artifacts coming in from the left side?
pico pio vs esp32-s2 for animated gifs is the question of the year
state machine vs brute force speed basically
Changing the delay won't speed it up, unless you are delaying yourself as it isn't automatic
if you have a 100 frame gif there's no way you're going to edit each frame parameter, there's gotta be a better way.
the simpson one is about twice the size of the parrot, if you make it smaller bet it would play smoother too. i'm ok with size limitations vs fps. can definitely work with that.
it's a very promising start! thank you Gamblor!
thank you for the stream foamyguy. awesome stuff today.
Thanks for the stream! Great Gif progress today! Have a great one all!
Thanks!
Everyone have a great Superb 🦉 weekend!
👀
?showtimes
Desk of Ladyada - Sunday Evening
JP's Product Pick of the Week - 4pm ET Tuesdays
3D Hangouts - 11am ET Wednesdays
Show & Tell - 7:30pm ET Wednesdays
Ask an Engineer - 8pm ET Wednesdays
John Park's Workshop - 4pm ET Thursdays
Deep Dive w/ Foamyguy - 5pm ET Fridays
FoamyGuy's CircuitPython Stream - 11am ET Saturdays
@gentle jacinth here’s the full lineup of shows!
LIVE! around 9pm ET! Desk of Ladyada - PiCowbell silk & Toy Hacking proto https://youtu.be/lY6355eiP5Q
Desk of Ladyada - PiCowbell silk & Toy Hacking proto
This week at the Desk of Ladyada we also are getting ever closer to releasing the PiCowbell adalogger board, and worked on the silkscreen and demo firmware. We also put together our I2S BFF prototype which allowed us to A) test a cute new BFF that could be very handy for audio projects and B)...
I got confused and thought y’all were going live now XD
Wonder if the Superb Owl will be over by then…
It should be over by then unless it goes into overtime.
WE ARE LIVE! Desk of Ladyada - PiCowbell silk & Toy Hacking proto https://youtu.be/lY6355eiP5Q
Desk of Ladyada - PiCowbell silk & Toy Hacking proto
This week at the Desk of Ladyada we also are getting ever closer to releasing the PiCowbell adalogger board, and worked on the silkscreen and demo firmware. We also put together our I2S BFF prototype which allowed us to A) test a cute new BFF that could be very handy for audio projects and B)...
Good evening.
From an episode of the Adalorian.
I have a BME688 but it always seems to show 10 degrees too warm vs my wall thermostat. Any way to recalibrate it?
super bowl is still like 30 mins from being over. I forgot there's a 30 min halftime show only for the super bowl.
Question -- @gentle jacinth wishes to know, LadyAda, what's your favorite microcontroller board?
Oopsie!
"Not the cool we were looking for, but cool nonetheless"
it was a question on the forum
The streaming software is having a mental breakdown XD
Where in the world is LadyAda's desktop?
ohh i like that backdrop, very cool
someone on the forums was asking about an adapter to use feather wings with the QT PY, and I was thinking that it could take the form of a feather doubler or tripler, with a QT PY slot connecting it to the I2C, SPI, UART, and some of the pins (maybe with jumpers to select some alternatives)
Any watching the Super Bowl
Someone else mentioned preferring the S2 over S3 due to stability issues on the S3
I'll delete my question in favor of Neradoc's, he knows more about that question than i do.
yeah the S2 is still better supported in CP too
although it's more about little issues now I guess like I2C
i2s BFF <3, i want one
i was actually going to post that one, beat me to it 🙂
i love the cowbell logo. are we allowed to use that in open source designs?
@sand lotus yep, drop me a note pt@adafruit.com and we'll send details so it's all good
What's the difference between SPI and SDIO?
@gentle jacinth "I don't have a favorite favorite; I like a lot"
Street Chicken!
Is that the same connector as the PyGamer speaker?
Is it common for color options to be random? I've noticed many Adafruit products with JST connectors have a notice of "the connector color may vary"
Do not skimp on crimpers! It's worth spending $100 on a high quality set because it'll last you an eternity
2 1/2 questions: What code editor does Ladyada use? Should I stick with KiCad or learn Eagle? I know Eagle is considered more "professional", but is it woth the cost/free plan limitations?
I found it a little hard to get JST PH 3-pins cables to use with STEMMA ports on boards like the Fun House (I mean plugs with pre-assembled cables, both male and female for extension for example)
I have successfully imported EAGLE to KiCAD
so nice
In my experience there are very very few instances where there's only ONE way to do a thing...
Usually comes up in particle physics
Thanks @open girder and good night. 🌗
You can import Eagle to EasyEDA too. Eagle is the standard. It doesn't matter what format it is as long as I can import it to some program to work with. I wouldn't have learned nearly as much as I have since joining here because I can actually look at the schematic.
Great show! And yes, computers get confused, lol
I work in the elevator industry I don't think there will ever be a open elevator firmware
Awesome, thanks @open girder and good night!
Shot you an email PT. Thanks for the show. 🙂

and the super bowl just started the 4th quarter. i swear football games say 15 minutes a quarter but it's more like 45 minutes.
15 minutes of game clock, but there can be a minute between plays that take 10-20 seconds XD
Plus the half hour half-time show
I've got some of the flexypins from pimoroni and their breadboard adpaters for the qtpy on their way to try to make my own "doubler/tripler" for testing multiple board for a future project that would require a couple of boards to get it working properly. Trying to minimize having to solder pins or headers for testing various BFF boards face up.
hey foamyguy live again. monday streamday. missed your stream this morning.
Hue is the phillips smart lighting ecosystem
finished my logitech c510 camera housing
thanks for the stream, mqtt stuff is fun to play with. the webcam will be for the 3d printer running octoprint and mqtt. stuff you're working on today is directly related to that webcam housing print in a way. 🙂
lol yes it looks super real. upping my 3d game. 😛
either that or my iphone 5 camera is so old it could be confused for 3d :/
same, my printer is in a different room and there's always that thing in the back of your mind that they're possible fire hazards.
like i can't babysit a 24 hour print
hoping to figure out a way to get the camera to feed to a mobile device too, somehow maybe
A good application for AI
tr-cowbell sections take about 15-25 hours each
pop in anytime, always enjoy learning from your streams
Thanks!
?showtimes
Desk of Ladyada - Sunday Evening
JP's Product Pick of the Week - 4pm ET Tuesdays
3D Hangouts - 11am ET Wednesdays
Show & Tell - 7:30pm ET Wednesdays
Ask an Engineer - 8pm ET Wednesdays
John Park's Workshop - 4pm ET Thursdays
Deep Dive w/ Foamyguy - 5pm ET Fridays
FoamyGuy's CircuitPython Stream - 11am ET Saturdays
Is Lars in the booth today? Pain and suffering: 5 cents.
Lars is always ready to deliver pain and suffering… the price is whatever he can steal from your wallet
Whew someone messed up there. For a second the discounted price was $0.00 👀
It's at $2.98 now all good.
Hiiiii
Got another quick photoshop for ya this week. 🙂
Has it started? YT is still waiting.
Not yet no, we're in pre-broadcast right now
sorry, broadcast difficulties
ok no problem
Dang it Lars!
Big problem… big problem named Lars
...aside from the sloth of course
I bet he chewed a fiber line again
Lars offered to hold the broadcast “football” again today?
I imagine a Technical Difficulties screen with JP screaming and trying to run from a giant Lars in a giant robot suit with lasers
Does Lars know BSD systems? Maybe you should move to an OS family he doesn’t know so he can’t cause as much trouble…
just a bit of the ol' restart everything and now it may just work!
Fingies crossed!
i hear drums
👋
oh yeah time for Tuesday afternoon dance party
Boopadoops!
Ahh, here is the chat.
Multiple???
Gasp
Question: could you have 3 of these drivers, each with 16x9 LEDs, one red, one green, one blue, and have them display an image together?
QT Py with one of those for a little text badge…
Plan on setting up some of these on my octoprint webcam as lights on my 3D printer. This will be perfect!
Got 8, going to play with some for text display instead of the 7-segment backpacks. They use the same I2C address range as the 7-segment backpacks too.
made me think of the 5x5 neopixel bff, but can it control the individual leds at the same level as this driver?
You can control individual LED's np MikeP
8-bit PWM for each LED
It's how he was able to get the heart to display.
sorry, i meant pwm on the 5x5
You can chain more with the PCA multiplexer.
yeah you can use multiple buses with the CircuitPython library
Ordered 3 controllers, 2 red and one blue panel :D
The 5x5 indeed allows individual control of each pixel
The PCA9548 was JP's product pick of the week December 6th. You can chain as many charlieplexed boards as you want with these. https://www.youtube.com/live/gWVxxrDE5S4?feature=share
#adafruitJP’s Product Pick of the Week 12/6/22 PCA9548 8-Channel I2C Multiplexer STEMMA QTBig huge discount during livestream:https://www.adafruit.com/produc...
3 parallels of 16x9 arrays of these controllers; red, green, blue in parallel LEDs. So you’d have a resolution of 256x81 pixels, 36864 LEDs per color, 110592 total
Ah, yeah, single 3-channel controller would be easier instead of 3 1-channel controllers, lol
If you want a bigger RGB matrix go with a matrix panel and featherwing matrix driver yeah. These are good for lighting or scrolling text displays (with a couple of them) instead of the 7-segment or 14-segment backpacks.
Predication: both will run at lower brightness maybe
The PRO of these is that they're a small footprint, if you want a small scrolling display.
red LEDs turn on at a lower voltage than white, so I think it won't work
Yeah, not enough friction from contact, lol
maybe try two reds
but even then it's still a bad idea
diodes in parallel == always bad idea
It looked like the yellow flashed when you pulled it off!
Red LEDs have a lower forward voltage.
Sometimes bad ideas are the best ideas.
… it is? I parallel LEDs a lot 
All the half off LED panels were in stock when I was ordering
parallel LEDs where each LED has their own current-limit resistor is great
Gotta be quick Kyoshii 😉
I fast as lightning
Where (or Who) is Charlie?
Could you use the controller to power super high power LEDs with an external power source?
For like, giant billboard
Good show!
Charlie Plex was the 3rd Neo in The Matrix
thx!
thanks JP
@wind spoke Charles "Charlie" M. Allen
Been loading my cart up all week. I usually order during JP's product pick of the week and throw in some half off stuff at the same time. Because you can usually use the coupon code from ask an engineer at the same time... which this week is twobffs 😉
Charlieplexing (also known as tristate multiplexing, reduced pin-count LED multiplexing, complementary LED drive and crossplexing) is a technique for driving a multiplexed display in which relatively few I/O pins on a microcontroller are used e.g. to drive an array of LEDs.
The method uses the tri-state logic capabilities of microcontrollers in ...
Thanks JP, I'll definitely get some use out of the charlieplexed backpacks.
Wait, you can??? I thought the code would be off by now!
never hurts to try 😉
PT usually let's it slide for an entire week until the next ask an engineer 😉
I shall attempt this in the future when I’m planning a big order… I usually do BIG orders to get the free shipping and the discount code
When they were out on maternity leave I was using an ask an engineer discount code for an entire month 😉
We just can’t do it all the time… we don’t want to bankrupt them!
PT the real mvp. It really helps with allowing a regular schedule of shopping for a week then pulling the trigger during JP's product pick of the week.
Lars may be paying a visit...
hahahaha it was my little secret
I want! But what would I use it for???
There's always a 10% off discount code available somewhere either from JP, 3D Hangouts, or Ask an Engineer. If one doesn't work go back through the youtube videos and try another. It's really a perk of regularly watching the livestreams. Basically free shipping if you order a lot and I do, so I need it every time.
Pick up a couple Rufus and use it as a text scrolling display. I plan on using it as a webcam light. The amount of light they produce alone could be useful.... circuit python powered headlamp perhaps?
blue and green are gone.
It's best to buy stuff at the beginning of the show if possible. They set aside a certain amount just for JP's show and if it's a good product they'll run out of stock fast.
Kudos to Adafruit for also discounting the led boards for the show!!!
At least one of the ones I got I’m gonna make a little badge with
Greetings, good people.
3DHangouts Episode 390 LIVE Feather TFT, Floppy PyPortal and Helical Hearthttps://www.youtube.com/adafruit/live
This week @adafruit we’re making a stand for the Feather ESP32-S2 Reverse TFT. Prototyping a snap fit case for the PyPortal in the shape of a floppy disk. Ti...
good morning folks!
Adafruit Industries, Unique & fun DIY electronics and kits : Free - Tools Gift Certificates Arduino Cables Sensors LEDs Books Breakout Boards Power EL Wire/Tape/Panel Components & Parts LCDs & Displays Wearables Prototyping Raspberry Pi Wireless Young Engineers 3D printing NeoPixels Kits & Projects Robotics & CNC Accessories Cosplay/Costuming Ha...
good morning
Find maker jobs in 3D and CAD, Art, Design, Education, Embedded Development, Engineering, Fabrication, Marketing and Communications, and Web Development
Today's coupon code “tftstand” gets you 10% off your order!
Tufty Stand. 😄
Feather ESP32-S2 Reverse TFT -
https://www.adafruit.com/product/5345
Like Missy Elliot, we like to "put our [Feather] down, flip it and reverse it" and that's exactly what we've done with this new development board. It's basically ...
USB A Cable with Magnetic Tips -
https://www.adafruit.com/product/5652
any good usb-c pd
3D Parts Library on GitHub - https://github.com/adafruit/Adafruit_CAD_Parts
im using this pd wallplug https://amzn.to/3S4lsDS
would be interesting if the magnetic tips could helps for power delivery
fancy 3d project to have boost power for smart soldering iron for example
CircuitPython OctoPrint Controller - https://learn.adafruit.com/circuitpython-octoprint-controller-and-monitor
anyone know why buttons d1 and d2 are pull down on the rev tft board?
how many adafruit io feeds is your octoprint code on the tft rev using?
Update April 24, 2019 Parts sized to fit 250mm x 210mm x 210mm https://youtu.be/aASsWYpQr8c Does the world need… | Download free 3D printable STL models
https://youtu.be/aC278buklrM
Build a physical mailbox for your emails using Adafruit IO and IFTTT! | Download free 3D printable STL models
@videopixil @ecken I DID IT!!! Thank you Ruiz Brothers and @adafruit! Love you guys, you make moments like this possible #StarWars #3dprinting #maker https://t.co/2IUUTG2kQ1
101
could be fancy to 3d print transparent orange filament https://sketchfab.com/3d-models/omni-blade-mass-effect-3-3085c42ccaeb4191aeb527db708048f4
https://www.printables.com/model/153698-led-emeralds/comments/655982 - sonic emeralds
thanks so much for hanging out folks!
thanks folks! cya tonight
thanks guys
Howdy folks 👋
Good evening!
Hi everyone!
Hey Y'll
good evening folks!
Good evening everyone 
Hiiiiiii
Link to join to show and share your project: https://streamyard.com/4yqgcx6625
Good evening everyone.
WE ARE LIVE! SHOW AND TELL! https://youtu.be/QzvuODlscDo
Haven't seen you in a while Paul. Hope you're doing well. I miss the podcasts.
Been busy at the $day_job 😦
hi all!
are we going to see some pysigrok stuff tonight?
nope, just watching. only been bug fixing pysigrok as I use it
😦
needs to push and release
Hihi
that project is going to be awesome i can feel it
Hi! I have some modular synth stuff to show. Mouse in Streamyard
All TRON is good TRON
OctoPrintPus!
Print ALL the octopi
God do I still love the original movie style
love me octopi 🐙
running up and down my stairs to check on my 3d prints is half my exercise for the week
Octopi > octopuses
I'm actually much more active since getting a 3D printer dashing back and forth ensuring I'm not starting a fire.
Liz's guide is extremely helpful. Still waiting on my Pi 4.
I will make a controller for all 5 of my printers
Some of my "hardware" has turned into "retro hardware" 😕
all hardware becomes retro hardware eventually
Only needs some retr0brite 🙂
That is GENIUS for the time
wait that was a real product?? woah.
" My electronic is like a transformer" - Find the decepticon logo oofff RUN!!!!
I've had my partner scouring thrift shops for a boombox for me for the last couple years (so I can mod it)
Placebo antenna?
Even without the Transformers being so popular at the time, the transforming boombox makes sense for the time
I had the Transformers (original) movie memorized as a kid.
Huh wow TIL
that's genius
This is neat
https://www.global.toshiba/ww/outline/corporate/history.html
Too bad Toshiba probably won't be around much longer 😦
Information on our long history.
I would 100000000% get one of those not working just to have it and try to restore it
The old technology I really want to do one day is the Duga radar but I feel like you can't do this even if you had unlimited tech with electronics scale watts
the headphones that clipped onto the ears actually helped to make those with cochlear implants normalized.
😺🎹
Could be a Miyazaki film character 😄
Time traveler know how to age plastic to avoid being detected...
EDKM
Electronic
Dance
Kitty
Music
PANIC BOOP
@haughty quiver Scratches > patches
uggh i didn't know about panic. i could have used that with so many vst's that got stuck. 🤯
What is the kitty keyboard product called?
Meowsic Toy Piano
yissss
yes, Meowsic by B. Toys
available at Target stores primarily, but search online for other sellers
I found a mini one too!
sweet! that's awesome flyingthings!
love that fursuit head!
Paw Control > Paw Patrol.
gotta be hot in there, looks very insulated. good idea with the fan.
Fursuits are invariably hot
good progress, sounds great!
Snack size Perma proto!
love the patch switching mode.
Progress > "finished"
thanks @sand lotus
Spooooop
Loving all of this.
the visor on my fursuit gets foggy before its get too hot. really needed a fan 😄
Meowsic Halloween...
Baby one
is my drug
Moment of neener
@split gazelle I heard you on the Embedded podcast last week!
that baby one!!
Great projects everyone!
Thanks all for sharing. Great projects as always
Bye!
Great stuff, all!
Great projects!
Thanks to all for taking time for us

@open girder y'all should consider adapting JP's project to the baby Meowsic for BabyAda
If you think canines are under represented here well... we've got Phil B.
I feel like we need a MIDI-controlled Speak & Spell next 🙂
Which actually probably wouldn't be that hard...
I've actually used real speak & spell samples in some of my songs. This needs to happen.
I'm sure speak & spell circuit bending has been done plenty before but not sure about a midi controller.
Might be interesting to look at some thin black organza, chiffon, or netting, maybe backed by your clear or smoky plastic, but perforated. That's what we used in this project a while back. https://github.com/oesterle/geekyjacket
lol cat propulsion laboratory. Youtube commenters are funny
I can't imagine connecting an RP2040 to the keyboard matrix would be hard...
Any news from the AdaBox?
I am not subscribed because it is not available in Belgium...
but I am interested anyway because of all the project that pop up for it.
Ohh how about a speak & spell USB keyboard... ahem Jepler.
@wind spoke "should" be shipping march-ish, we're back this year 2023 since the part shortage is "almost" over
And great build, by the way!
Thanks, and thanks for the suggestions! I will look into that
I heard a rumor that JP will be making a "Bee%" keyboard soon
Buzz board
I heard Lars is trying to make a piano with teeth
WE ARE LIVE! ASK AN ENGINEER! https://youtu.be/LDOsXFnXwEw
ASK AN ENGINEER 2/15/2023 LIVE!
Visit the Adafruit shop online - http://www.adafruit.com
LIVE CHAT IS HERE! http://adafru.it/discord
Adafruit on Instagram: https://www.instagram.com/adafruit
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: h...
nyoom manufacturing!
Attinys at law
I think I used this from JoAnn fabrics:
https://www.joann.com/casa-collection-organza-many-colors/4491700.html
You’re seeing this message because some of your behavior on the site looked a little odd. To continue on through the site, help us verify that you’re a real person.
Question: if one does not have 2FA enabled, what happens when you try to order something?
Depends on what you order.
Congrats on BBB accreditation!
I should have specified for the restricted items
So the complaints gave you a better reputation? 😄
ooo thanks
They were hoisted by their own petard
Nice! Congrats
!
It doesn't matter if you're right or wrong; it's never appropriate or OK to be cruel/mean/rude to business people
Will Pi's only show in stick if you are 2FA?
The amount of synth stuff lately is off the charts 🤤
I don't think I have 2FA enabled, but I have seen them in stock
I just haven't tried to order
I'm done hoarding picos, I have way too many already
And not only that, but it's never okay to be rude to customer service folks who are just doing their best.
Here’s a video clip of how the thin mesh camouflages the neopixel strip. https://twitter.com/erico/status/1092261259544674304?s=20
Proud to win #devcamp’s “coolest hack”! @neil_c_heather & I demo #geekyjacket our @flutterio-controlled, blingy wearable.
Flutter controls an @adafruit Feather M0 MCU via Bluetooth LE. NeoPixel LEDs gently diffused w black chiffon (@JoAnn_Stores!)
Thx @dom & @iPhoneDevCamp.
🙏
Well I think the point is the people who couldn't scalp Pi's were getting nasty because they got caught and banned.
Exactly. 99.9999% of the time, whoever you're talking to is quite limited in what they can even do; being rude is just upsetting
[I have been the customer service person being yelled at for something that is not my fault and not something I can fix]
Right. And like, just be kind to people? Life is much more pleasant for everyone if we all just default to kindness.
Raising my nephew I thought I'd go insane if I heard Elmo one more time... and of course I heard it thousands of times more.
what is the name of the screen that is used on the round tft display that is in the store
Exactly! And faster. I had a huge snaffuu trying to order McDonald's the other day, which was quite frustrating... but obviously it was the computer's fault. I was calm and cool, worked with the equally confused and frustrated staff, and they ended up getting me my food for less than I was going to play in the first place... kindness pays
NIN Remix: "I want to bump you like an animal (goat sound), I want to feel you from the outside"
Very very interested in that i2s bff
I watched a bunch of people in an airport a while ago screaming at the poor gate agent because the flight was late (and then canceled) because of a mechanical issue. I went up and thanked the agent for doing her best with a situation she had zero control over, and she started crying. She said "that's the first nice thing anybody's said to me since this started." And none of it was her fault.
Pi Model 4B shows out of stock for me.
wait, you can use twitter for nice things?!!?!
I noticed at least two python on hardware talks at Pycon US 2023 -- https://us.pycon.org/2023/schedule/ -- micropython https://us.pycon.org/2023/schedule/presentation/142/ and microbit https://us.pycon.org/2023/schedule/presentation/65/
People can be so awful... I'm glad there's at least a few of us who are kind 💜
I love seeing circuit playgrounds in exactly the hands they were designed for. 
For now. 😄
This one too: https://us.pycon.org/2023/schedule/presentation/105/
I have a few and I dunno what to do with them, I'm obviously the wrong hands XD
Just in case, I found this about ATtiny816 vs ATtiny817:
- I/Os 18 => 22
- ADC 10-ch => 12-ch (, 10-bit, 115ksps)
- QFN 20-pin => 24-pin
But I guess this will be explained.
I am curious as to the reason for the recent ATTiny breakout explosion
Two of the lights in my dragon mask are basically LED rings which could be circuit playgrounds...
Licensing is hard
Wait the Pico W will do BT classic???
I don't think there's any implementation for classic in CP right?
Which product ID are you looking at?
The python on hardware newsletter is 🔥
seesaw
Theres MMBasic on the Raspberry Pi Pico, is Python next?
I saw they're all seesaw -- are there advantages for each chip? Or is it to make it so there are many choices in the event one or more goes out of stock?
actually don't know full deets myself. but probably just tradeoffs. like the SAMD seesaws had SAM09, 10, etc. for different end uses.
theyll prolly say more during the new prod part of show 🙂
Yep; Ladyada has been revising seesaw to use more available chips.
Options good!
Not sure if you've watched Desk of Ladyada (usually on Sunday evenings), but she spends a lot of time there talking about specific chips in low supply, being retired, or part of the chip shortage, and work arounds.
Yeah, I know she's talked about a few current products having dual designs to work with two compatible chips or packages -- was just surprised to see several ATTiny seesaw boards come out at once
Boxing glove surgery!
I'd love to know how durable that design is
Mmm fresh boards
'night all, have a good 💤
Question: do the picky place machines have names?
Nini!
nite @robust horizon !
Oh yeah, you're right. Looks like RAM and flash capacity choices are the key differences.
The solder spouts are the coolest thing
Watching the selective solder machine do its thing is one of my favorite parts of Ask an Engineer.
what I really want now is Adafruit to get into the business of making springs, those spring-making machines videos are amazing
I need a weekly does of that too
I actually was thinking about using one of the seesaw compatible chips to design my own super-duper crazy pin count board, hehe... these breakouts are useful for testing
Have you seen the Inheritance Machining youtube channel? It's gold.
"Side Project Count" 😄
"Side Project Count: 17" 😄
I wish I'd been able to get the Reverse TFT Feather when I did my big order DX
helical heart is such a great design. looks satisfying to put together.
My project count is at like 189343 and my side project count is like 9578434234853742
no, but now I'll check it out 👍
I really want the tiny UPS truck
🆕
The dude inherited his grandpa's machine shop, and he's been doing amazing things with it.
Watched this with family recently; really inspiring. Some of the machines are 100+ years old. https://blog.adafruit.com/2023/01/21/how-the-last-artificial-flower-factory-in-nyc-handcrafts-designs-for-celebrities/
Adafruit 2.13" 250x122 Tri-Color eInk / ePaper Display with SRAM - SSD1680 Driver https://www.adafruit.com/product/4947
Easy e-paper finally comes to microcontrollers, with this breakout that's designed to make it a breeze to add a tri-color eInk display. Chances are you've seen one of those ...
Old machines are the coolest, I love when people keep very old things going
I like the RFM vs actual LORA.
(While i've been watching AAE I've been playing with my KIM Uno. I wrote a 24-bit counter - on paper - in 6502 assembly, and it's running right now - and it worked on the first try. 🥳 )
RFM69HCW 433 MHz Transceiver Radio Module https://www.adafruit.com/product/5693
RFM69HCW 915MHz Transceiver Radio Module https://www.adafruit.com/product/5692
PCB microscope 🔬
5MP 25mm Telephoto Lens for Raspberry Pi - M12 - 18 Degree FOV https://www.adafruit.com/product/5697
2.7mm 12MP Wide Angle Lens for M12 High-Quality Camera https://www.adafruit.com/product/5698
This is the 25mm 5MP Telephoto Lens, an essential for the M12 Raspberry Pi High-Quality Camera. It has a narrow field of view and high lens magnification for seeing things far ...
Question @open girder
With all of the QTPY BFFs being created, will there be female headers? Is there a suppler that could produce them ?
you can use stacking headers...
Adafruit ATtiny816 Breakout with seesaw - STEMMA QT / Qwiic https://www.adafruit.com/product/5681
Adafruit ATtiny1616 Breakout with seesaw - STEMMA QT / Qwiic https://www.adafruit.com/product/5690
This breakout board is a "three in one" product:The ATtiny816 is part of the 'next gen' of AVR microcontrollers, and now we have a cute development/breakout board for it, ...
a tinier tiny?
I've fallen in love with Wire Wrap headers.
I use stacking headers to get female headers on microcontrollers. Just cut them to length. https://www.adafruit.com/product/5582
I'd probably try these, and carefully snip them. When I've done this before, I usually aim for having an extra pin, since the cut end may sacrifice a pin. https://www.adafruit.com/product/2940
All the options 
or just use female headers https://www.adafruit.com/product/5583
Question will there be an ATTINY board either Feather / QTPY / ItsyBitsy ? @open girder
and cut them to length for the BFF
5206
Well .. Clarification… a 7 pin header
What are the dimensions of the ATtiny breakout boards?
Question: I'm looking into creating boards and kits for the company I work for, and want to make it open source if they'll allow. What all is involved in creating open source licensing for products? And how do you separate the open source nature of it from the protected parts, like Adafruit has the Feather name, Adafruit logos and characters, etc., or are all those open source too?
I think Github has some good tips and comparisons between the different OSS licenses.
There's no learn guide for them yet so no dimensions which are usually in the schematics section of the learn guide.
If you have any links that'd be awesome
there's a fab print with dimensions here:
https://learn.adafruit.com/adafruit-attiny817-seesaw/downloads
CAN = Automaker chips
https://www.oshwa.org/
I found the information I used on the open source hardware association site
Awesome, thanks :D
Ohhh chip zooms and musics
Non-judgmental guidance on choosing a license for your open source project
Question-what is the name of the screen that is used on the round rect tft display that is in the store
Question: What's the best way to parse small bits of xml in CircuitPython Requests?
Adafruit Chip Tunes is like Journey to the Microcosmos, but with electronics
Thank you!
chiptunes!
This will be the most homework reading since I got out of school :P
No chance to convert it to JSON? There is a regular expression library that could help
Question: is it possible for a company to make a board with the same wifi module as the pico W ? Have you thought of doing that ?
Other things to consider: Who will own the license, you or your organization?
That's definitely something I was thinking about, but it's totally unclear at this point, so will need to keep in mind
It’s pretty amazing how good desktop camera microscope are now
So is my logo usage OK for the following?:
Pro tip: When dimensions aren't shown, I count the header pin holes on the edge. There are 10 in 1 inch / 25.4 mm.
best use of desktop microscopes is by a twitch streamer called openset
I'm going to champion open source with my company because we can still profit on the hardware sales, but the community can benefit from the resources we generate, and we can benefit from community input
adafruit is best model for that
And my prime example to bring forward for it!
I ported quickly a Micropython Library for XML, I think it's usable as is https://github.com/Neradoc/Circuitpython-ElementTree
@unkempt shoal yup, all good
as far as I know, it's the only option we have
I want a CircuitPython BeautifulSoup
I usually cheat, and use something way simpler like CSV.
This looks great. i'll give it a try! Thanks
Thought it would be a cheaper board if you have a super simple project…. Would it be worth it ? Question
Thanks @open girder and good night. 🌘
Thank you for taking time for us.
Thanks guys
Thanks, @open girder !
Oh, question -- if we want to have a custom PCB made from Adafruit's stuff, can we still order with Adafruit logos if it's just for us?
thanks guys!
Thanks @open girder Thanks community!
Thanks @open girder - take care, all!
Have a great night
thanks y’all
Thanks!
Take a look at this project for an example: https://github.com/ayourk/eyeSPI-FeatherWing-PCB
Great show! G'night folks!
Was the Adafruit logo
on there originally? Or just Feather and EyeSPI?
zen ☺
There are 2 pics, top is of the front, bottom is of the back
@haughty quiver Will have to watch Super Troopers clips tonight. Can't believe that's 20+ years old.
Ah, I'm blind, I missed the Adafruit one on the second XD
Super Troopers movie clips: http://j.mp/1WPct72
BUY THE MOVIE:
FandangoNOW - https://www.fandangonow.com/details/movie/speed-2-cruise-control-1997/1MVe983b514c3e0cbc59df04876e74d422f?cmp=Movieclips_YT_Description
iTunes - http://apple.co/1ImG8zz
Google Play - http://bit.ly/1SZoqoU
Fox Movies - http://bit.ly/1H5QGS1
Don't miss the HOTTEST NEW TRA...
#duet with @davidcsmalley How this made me feel in real time. #1900skid #eldermillenial #AOL #dialup #theoldendays #kidsthesedays #fyp #greenscreen
I feel like an antique
Try explaining when you had to dial a phone and put it onto a modem box
And then listen to the robots screech at each other to decide if they’d talk
Right there with ya.
Wonder how kids would react knowing that there used to literally be people moving wires around to connect phone calls…
I took a synth class years ago, and the ARP 2600 we used wouldn't really make a useful sound until you patched the modules together with wires.
The first computer I learned to program on was a PDP8/E. It had 8K of memory, shared by three users on teletypes. I "saved" my first programs on paper punched tape.
Mmmm punch tape
Professors John Kemeny and Tom Kurtz along with a band of Dartmouth undergraduates invent the Basic computer language.
👋
Good afternoon.
good afternoon folks
hi there all!
hiiiiii
hello all
I hear blerpblorps
🇸🇪 👋
Bleepage and Bloopage
Good Evening mr. Callaway!
@clever summit Greetings, and well met.
👋
A sweet discount code.
sugarsnaps?
Sugar Smacks!
SugarCrisps?
I think Honey Combs had a sugar-coated version called Sugar Combs
So many sugar
That's perplexing, Charlie...
there is some polytypes too
Audio's now out of sync.
Sugar Smacks are still around :D
so audio sync out it is, is not just me
Ohhh, glowy
audio sync yeah
yeah, couple secs out of sync
n'sync
Audio's back. 👍
Lars sucking up all the bandwidth again
yep, after quick video jump looks good now
Lol
back N*SYNC!
Sync confirmed!
Smooth
Smoother than Commander Riker’s face
lars downloading icecream cones with pitch bend
Sometimes it’ll auto reload like 4-6 times when i save code
useful. Is there anything else super-duper in the supervisor library, other than .runtime?
there are many useful things in supervisor
Is runtime only for auto reload?
cool, few gems in there, thanks
Who supervises the supervisor?
the hypervisor ?
e.g. if you want to know if your CircuitPython is both connected to a computer AND if someone has opened the REPL:
if supervisor.runtime.usb_connected and supervisor.runtime.serial_connected:
print("ahah! I see you human")
Who shall judge the judges?
oh I love that, the hypervisor, but its got to be the watchdog with the final word
Love it has a Cereal Connection
(I might be hungry)
Hypervisor - a hyperventilating supervisor...
Was imagining a hyper caffeine fuelled supervisor supervising other less caffeinated supervisors, like an exam invidulator
Andy would lars be that hypervisor?
Lol
JP, how many of those did you buy? XD
@teal river I think he bought all of them.
see one could be Lars face piano
As if Lars isn’t terrifying enough…
A photocell in the mic could be Thereminically fun, too.
Try to loosen it with isopropyl alcohol.
If you can’t open the ice cream cone without sawing or melting, maybe 3D printing a clone is an option
I gotta go, ttyl!
Jimi Hendrix playing a cat!
instead of enable/disable - have a button re-zero the accelerometer
Wasn't tht the Knight Rider theme music? 🤔
The cone could be converted into a NeoPixel disco light wand.
The possibilities are endless...
ooontz-ooontz-ooontz-ooontz-ooontz-ooontz
Using the The Turbo Encabulator, presumably...
Floats are fun with Python
0.1 + 0.2 == 0.3
False
lol yeah floats in all languages have that issue
0.1 does not equal 0.10000000000000000
it's why a lot of languages have a "Decimal" or "Fixed Decimal" data type. Important when dealing with money values
True
A very useful decimal module for CircuitPython: https://github.com/jepler/Jepler_CircuitPython_udecimal
oh! didn't know it got ported to CirPy, nice! thx jepler!
Just downloaded AudioKit and getting a lightning to USB-A cable for the iPad.
AudioKit is really good. Thanks @haughty quiver for letting us know about it! I wish it was multitimbral so we could have a sequencer do multiple sounds from it
I don't have one already, will look in the adafruit store, sure np!
only apple adapter i own is lightning to ethernet, and that was for IT work.
I've been using my iPhone as a "record audio quickly, with video" device, using that Lightning USB adapter and a USB audio interface
https://www.adafruit.com/product/3940 this one?
pretty handy
MIDI Note Be Gone!
the clapper for midi
yeah serious sync issue between audio/video
I have the official Apple one ("Lightning to USB 3 Camera Adapter"), but yeah
Thanks, @haughty quiver 👍
Thanks for the stream @haughty quiver !
Thanks JP. I absolutely love your meowsic project. It's perfect.
yeah, I have that, and the powered one for CircuitPython devices 🙂 --> oh that is the powered one
Thanks @haughty quiver 😺 🎹
meow
ahh perfect timing with the discount code, definitely using that 🙂

lol
👋
Good afternoon
Testing the newest StringCar racer FeatherWing today. Being able to choose almost any MCU and Stemma sensor will make this a fun and flexible robot.
Imagine using this
Lol
It’s an FPGA so probably much hard to use with but it would be interesting
🏎️ 💨
A few generations younger than this: https://learn.adafruit.com/basic-string-car-racer/string-car-history
The switches detect end-of-string
Yes, to trick them out for speed, smarts, autonomy, and longevity.
… and esthetics like lights and sound.
have we lost the stream ?
Not working on YTube or Twitch for me.
technical difficulties 😦 trying to get it back going
oh no...
there and back again !
If 4 is 0.04 then 100 is 1.00 (and that is one second).
If you want to see frames, you can put digit 1 2 3 4 ... 30 as images, generate the gif, then display, then film at high speed (like with an iPhone).
🇸🇪 👋
make transparent is doing 0xFFFFFF
What is the index of green?
There might be 50 shades of Green... did you took the right one?
0xFF00 ?
john has a parsec wideo with make_transparent
#circuitpythonparsec
Use 'make_transparent' to knock out an indexed color for sprite transparency in CircuitPython.
The sad clown is actually happy on the inside.
To learn about CircuitPython: https://circuitpython.org
Visit the Adafruit shop online - http://www.adafruit.com
LIVE CHAT IS HERE! http:/...
Animated GIFs have multiple palettes; one “master” and one for each frame?
I guess they would share the pallet for saving???
good evening
Per frame local palette... that is the key information here.
Maybe "our" gif player has limitation and will fail on those tricky gif that try to break the limit?
From what I remember, GIF had a lot of trick possible, like text, partial update, ...
Did you break it? 🙂
I used ColorConverter for this
Palette support would be nice but I hadn't built it yet
yeah if it is there its leftover
Surprised the build didn't throw a warning about unused reference
It's not in the dictionary
yeah that thing
Default animated GIF format has a separate palette for each frame. Apparently there’s an extension to the standard for using a single global palette, but that’s not the default mode.
I didn't look at how tilegrid/bitmap handles that
Each frame has its own transparency list; not shared.
That is part of TileGrid/Bitmap drawing as opposed to the GIF
I'll take a look, I'd think the bitmap color is accessible so should be able to see
‘cept in CircuitPython, apparently
The color in the bitmap is 0x0 like looking at gif.bitmap[0] it returns 0
What are you expecting to show through the transpancy? Do you have something behind it?
Where's the green come from?
Glad that works 🙂
look at gif.bitmap[0] should show the color
And I had thought a learn guide page(s) to show how to use it will be good. And as we (meaning me) see what its being used for or not can add features
With the swapped colorspace (maybe I should make it so we don't have to swap it or have the parser configure it) it may have to be flipped but pure green probably
The actual RGB565 value
0x00ff00 is 24 bit. We need the 565 value
that makes sense
it can have colors not a palette. I don't think it is documented much
Black is 0 and was at position zero...
0x07e0
^^^Try that
is green some kind of special color that's hardcoded somewhere else not to be transparent?
Maybe it always does black and the number is the transparency.
Try 0x07e0 in the make transparent...
try 1 and see whether it is still transparent
So example for Bitmaps without a Palette:
bitmap = displayio.Bitmap(50,50,65535)
# 50x50 with 65535 possible colors 16 bit
cc = displayio.ColorConverter(input_colorspace=displayio.Colorspace.RGB565)
tile = displayio.TileGrid(bitmap, pixel_shader=cc)
is it a new thing that YouTube stops streaming if I switch to a different browser tab?
Also can you toss the GIF into discord I can try it out if you want
not logged in?
You need a rainbow as first frame, and see what color goes transparent depending on the value you provide...
it could be some weird internet glitch, had this happen last time too
yeah mobile requires youtube premium for that feature on mobile devices.
I'm on desktop, not logged in
works fine on desktop for me, on firefox
not logged in?
im logged in, maybe that's the difference?
I'll keep watching the recording. But that gif animation thing is really great addition to CP. I love it.
Glad you do!
I think I gave you the wrong color with the byte swapping and stuff going on
Big/Small endian hurts my brain
Try this!
cc.make_transparent(0xe007)
The color is 0x07e0 but things are byte swapped... so 0xe007
gif.bitmap[0]
the name is Gamblor, Mark Gamblor
its not swapping within them I may have made a typo earlier copying things
Human view: 07 E0
Swapping E0 07
yes
That would work if you don't know your background color.
Something to think about is how the bitmap stores the color vs what humans see it as
you can use struct.unpack
i honestly never use REPL but now I can see why it's so useful for thrown small ideas at it.
i only use it for debugging output
Long story short: the gif parser reads the GIF (which has a palette) and converts it to RGB565 little endian. That is what gets stored in the bitmap object. Reading left->right as a human it seems backwards. But that is how displays read them.
We could parse the GIF into RGB565 big endian which reads more like a human left->right but the ColorConverter has to swap the bytes.
I did it this way with an eye on a future optimization to TileGrid and the converters. If we don't have to convert the color it saves time.
yeah go with the optimized state and we can adjust it later to be more human readable, agreed.
because right now we need every miniscule amount of optimization we can get for like 1 more fps
however at some point we're going to throw human readable conversion at some point..
>>> data = b'\xE0\x07'
>>> import struct
>>> struct.unpack(">H", data)[0]
57351
ColorConverter can be kinda slow. Maybe it can be optimized to (at the expense of size) but for common conversions. Right now everything goes input->RGB888->RGB565 (I believe)
it returns a tuple that is why we use [0]
i would have never thought to throw struct at something like that
🙂
It needs to pass it to the colorconverter so not sure if it's ideal or not
yeah that one needs to be in the library for easy color conversions or at least something like that.
Probably could expand ColorConverter
then later people could converter to RGB, HSV, HEX, etc..
having conversions from something to something would make everyone's lives easier.
GIFs are palettes. I saved them as RGB565 as the library converts them for a display
just FYI ..Fancyled library has some color conversions
I have to take off now, but feel free to ping me later about any questions/thoughts/ideas.
Thank you very much
Thanks @nova totem This is AWESOME stuff. Great work!
Great! I'm open to adding/tweaking things after it goes live and people use it too
Coffee with Tim, see you tomorrow ☕
Super work @nova totem ! Also thanks to @smoky island for taking us along on his walk through animated GIF country.
Getting started for the morning now. I'm still in displayio land, but not looking at GIFs specifically today. Getting back to core arg validation PR and then some experimenting with ColorConverter. You can follow along on YT: https://www.youtube.com/watch?v=CkxPNoStjHg or Twitch: https://www.twitch.tv/foamyguy_twitch
‘Morning. Looking forward to understanding more about ColorConverter but will be needing some ☕
Good luck, may drop by later but have to go look at appliances right now 😦
565 fits in two memory bytes
as says @inner spade - RGB888 occupies 24 bits and RGB565 occupies 16 bits
some displays use RGB565 for storing colors like ST7789 - https://www.waveshare.com/w/upload/a/ae/ST7789_Datasheet.pdf page 82
So does ColorConverter just strip least significant bits when converting from 8 to 5 bits unless dithering is True?
RGB888 to RGB565
r_565 = (red_888 >> 3) & 0x1F
g_565 = (green_888 >> 2) & 0x3F
b_565 = (blue_888 >> 3) & 0x1F
rgb_565 = r_565 << 11 | g_565 << 5 | b_565
The dithering produces a small amount of red occasionally when the 888 value for red is 0x07 or less?
Rather than just black
Fill an object with rgb888 value of 0x070000, ColorConverter will fill all black when dithering is False. With dithering True, would there be random red pixels?
Is the number of possible bitmap color values not compatible with rgb888?
Isn't ColorConverter designed to load images in different formats? It's mentioned with the function OnDiskBitmap.
Bitmap - This is pretty much what you expect, a 2D array of pixels. Each pixel contains an index into a "pixel shader", typically a Palette, which is where the actual color information comes from.
OnDiskBitmap - This creates a Bitmap image (picture) from a file stored on a disk, like omg_cute_kitteh.bmp. It must also be used in conjunction with a pixel shader, typically ColorConverter, to provide the color information.
Palette - This is a simple list of colors. A Bitmap's pixel value is an index into this list.
ColorConverter - Use to convert between color formats.
Imagine the bitmap with actual RGB values in it and color converter changes them to the RGB values the display needs
pixel_shader i believe is a word for either Palette or ColorConverter (not sure if its a good word for it)
Bitmaps only support palettes or RGB values of 8/16/32 bits (and some modes less then 8 bits like black and white for ink)
e.g. bitmap = displayio.Bitmap(10,10,65535) means each pixel has 16 bits. Not a huge fan of that API myself (which leads to the issues checked for 32 bits and overflowing ints in C)
But you could (its broke it won't work) do: bitmap = displayio.Bitmap(10,10,4294836225) to make a Bitmap with each pixel have 32 bits. 24 bits would also ber useful to be supported.
Then it is just how those bits map to RGB values. 16 bits is usually RGB565. 32 bits would be RGB888 with the first 8 bits 0 (or alpha channel). 24 bits would be RGB888.
(It was broken before I don't think it ever worked)
ColorConverter then lets you take that pixel (be it 8/16/24/32 bits) in your bitmap and change it to RGB565 for a display. ColorConverter's output is hardcoded for RGB565
So say bitmap[0] = 0x00FF0000 (bright red 32 bits).
ColorConverter(input=RGB888) would change that into 0xF800 (RGB565)
cosmic rays? 🙂
That's... strange
What color were you trying to start?
>>> hex(cc.convert(0xff0000))
'0xf8'
>>> hex(cc.convert(0xff0000))
'0xf800'
I'm running KB2040 with my latest build. But that should return the same thing
I'm getting the opposite of you. Mostly the 0xf8 and rarely the 0xf800
To the C code!
QCode?
If you want we can find time and have a voice chat about it, may be easier to talk it through one day. (the bitmap/ColorConverter)
Extra fun... ColorConverter.c has not had a new commit in 2 years...
Oh the shared-bindings did
Last commit I see only changed the new object construction...
Printing shouldn't
ColorConverter seems slow in my testing - I think it's an area that could be improved for displayio speed
Only ColorConverter. I didn't test palettes (yet)
If it could be a timing issue try a quick sleep after each conversion
I ran 10,000 runs and got 4 wrong (without printing except if it didn't match)
it seems like conversion between RGB888 and RGB565
converter = displayio.ColorConverter(input_colorspace=displayio.Colorspace.RGB888)
for r in range(0, 255, 16):
for g in range(0, 255, 16):
for b in range(0, 255, 16):
input_color = r << 16 | g << 8 | b
rgb_convert = converter.convert(input_color)
print(f"input: {input_color:#024b}, conv: {rgb_convert:#016b}")
printf debugging the core now and the incorrect value is being returned from common_hal_displayio_colorconverter_convert
try it yourself - input: 0b111100001111000011110000, conv: 0b1001111011110111
I think there may be something with an int vs uint in the core (could be wrong)
Okay see something
maybe different value is due to enabled dithering?
colorspace->reverse_bytes_in_word if its not 0 you swap the bytes.
Not sure if it means anything but all the runs its set to 145.
But when its wrong it is set to 0
at 0 you don't swap the bytes which is what we are seeing
It looks like a rare memory overwrite error
Got it i think
In shared-bindings/ColorConverter.c line 76:
_displayio_colorspace_t colorspace;
colorspace.depth = 16;
uint32_t output_color;
The colorspace depth is set to 16, that's cool, but the structure isn't initialized
and later we use colorspace->reverse_bytes_in_word
Which is random based on what memory the structure is placed in. C won't initialize it to 0 for you
Added: colorspace.reverse_bytes_in_word = true;
yup
It looks like that fixes it (maybe we should initialize the structure to 0 and then set it in case other values are ever used)
memset... i'l write it out in a moment
Zero errors now for me
memset(&colorspace, 0, sizeof(_displayio_colorspace_t));
That will blank the structure
Better yet that colorspace should be a constant. It is used on every call.
Like add it to the ColorConverter construct.
Also would allow it to easier change in the future to convert to arbitrary colorspaces
I'd put it in the displayio_colorconverter_t structure
we have input_colorspace just store output_colorspace
typedef struct displayio_colorconverter {
mp_obj_base_t base;
bool dither;
uint8_t input_colorspace;
uint32_t transparent_color;
} displayio_colorconverter_t;
The whole structure
_displayio_colorspace_t colorspace; And rename it ouput_colorspace
Yeah will do, or if I have a moment today/tomorrow I'll submit a PR to fix it
You still need the reverse_bytes_in_word to be true
You commented it out on line 77
That zeros it out. true will set it to 1.
It is consistent - but consistently wrong 🙂
yup
It is converting it to 565 little endian I think by default
Your bitmap bits look wrong. you have it set to 15 bits I think?
I think it is 65535
Yeah it works for me 65535 is a valid value
<Bitmap>```
Oh yeah 65536 I think
oh hmm
I think the reverse bytes swap should be false. Maybe... I may have made assumed it should be true because it had been, but in reality it should be false
Is color converter converting twice, once when instantiated and again during .fill? Oh, I so don’t understand how the converter works.
Yeah I will comment and test it more I need a break too myself
(and yeah that was the problem I built a version now it looks right - but haven't tested it besides the REPL)
Thanks!
👋
no hacker o'clock tonight?
I've seen hacker o'clock after 11pm
yes but things might be a little different now with babyada in the mix.
yeah, probably even later. lol
?showtimes
Desk of Ladyada - Sunday Evening
JP's Product Pick of the Week - 4pm ET Tuesdays
3D Hangouts - 11am ET Wednesdays
Show & Tell - 7:30pm ET Wednesdays
Ask an Engineer - 8pm ET Wednesdays
John Park's Workshop - 4pm ET Thursdays
Deep Dive w/ Foamyguy - 5pm ET Fridays
FoamyGuy's CircuitPython Stream - 11am ET Saturdays
"random" hacker times
🤗 
I think LadyAda has reduced the randomness variable
LIVE IN 5 🙂 The Desk of Ladyada - More RP2040 Tester Brains https://youtu.be/Qg2qjeiy4pg
The Desk of Ladyada - More RP2040 Tester Brains
This week at the Desk of Ladyada, we spent more time on our RP2040 Tester Brains board: this is our board that is replacing the Teensy3.6-based testers that we've been using for years with an available chipset. We've now published the CAD files on github (https://github.com/adafruit/RP2040-Based-T...
bleepbloop!
is that a Pico with Stemma? 😯
that's for SWD
no, on the pico h that's where swd is
we dont post photos of kiddo, but this one is OK 🙂
ohh it's just a different swd port
"Is this supported"? lol
i do like looking at a good tester jig. custom design for a single purpose is always cool.
How many TBs is your private album? I'd be taking pictures CONSTANTLY, hehe
Arduino based ESPTool, very nice. I like the web flasher but sometimes it has an issue of getting locked to the bus. When that happens I have to use ESPtools to brute force a race condition to beat the lockout.
yah, lots of photos and videos for sure 🙂
Hehe
Baby! <3
God I'm just so happy for y'all and excited for her future
I can't imagine growing up with the coolest hacker parents ever
Same
Question: speaking of PCB designs that can help but are not products, are the RP2040 Feather ‘bones’ files available or still in the works ?
I was confused about the bones -- it was previously stated that they were published, but I couldn't find them
Hehe BabyAda in the background “hey!”
Ohhh
Come soon ™️
yeah i think it was specifically for the scorpio bones
which is still a feather though
I’ve considered uploading a feather template with USB-C and LiPo stuff in place
Question: Is there any reason that an end user might want to re-flash what these tester/programmer boards are doing? Perhaps security issues for WiFi devices?

Audio amps! who doesn't love audio amps?
mmm jelly beans
oh this is a buzzer not an amp.
bzzzz
classic PAM. yeah i think most stuff is going to a MAX variant now.
Class D is life... i'm biased though.
therefore, digikey's substitutes aren't always right.
that sounds like something digikey's web team would be interested in correcting.
Does logic voltage vs. power voltage matter? Like, you said you use bat/5V input and 3.3v logic, but would 3v input and 3.3v logic work?
BGA ok if you have pick & place but for the rest of small makers... BGA is kind of a no go. maybe someone like Skerr could deal with that but I can't do it.
With the EyeSPI connector, is there a lib or documentation to use the MemCS over SPI?
scary
question: what's the difference between DFN, QFN, etc.. i don't understand the naming conventions for SMD footprints.
i actually miss some of the older designs that had a DIP switch you could change the gain manually easily.
@open girder Question: why reduce the gain to one?
Oh, do the Charlieplex boards or controllers generate much heat? Is it safe to sandwich like this?
Thanks for a great show AdaFamily
Is Mem Chip Select on EyeSpi supposed to allow access to the VRAM?
Sleepy baby 💜
Thank you 🙏 @open girder
Nini!
Bye
Thanks!
I always miss my last question XD