HI!
I’m replacing my fried Teensy 3.2 with a new itsy bity M4 board, but somehow I can’t infer which pins are used in the built firmware for SDA and SCL from the docs and the code?
I had no problem finding it was 18 and 19 for the teensy version, but now I have no idea how I did that
EDIT : could it be that it’s the pins on the M4 that say SDA/SCL?
EDIT2 :
And just like that, my grid was back up now running on a brand new itsy bitsy M4! Amazeballs! I’m overdue a debriefing on my process, there are thing I wished I knew when I started this 2 years ago
For those struggling with the m4 not being recognized, I had to copy the addresses from the multitrellis example as well.
Yes, as @ReallyRad mentioned, for those who want to use SAMD M0/M4 MCU, compile code under this folder: neotrellis_monome_m0, please note that the I2C addresses are different than which in the teensy and the test code.
I’m still trying to diagnose an issue I keep having where my neotrellis grid feels like is slows down in response time significantly (half a second between button press and grid update) or exhibits unpredictable behaviour such as buttons appearing to “hold” when not held…
I am considering lowering the brightness of my grid, but as I didn’t build it, it fills me with some dread that I end up bricking it.
I thought it might be useful to see what power is being drawn by grid, so I connected it to this little usb whatsit and played for a bit …it seems that I am often getting above 0.69A which I am assuming is quite a bit of draw to put on the USB (I am seeing the !!! Next to the CPU load too even though CPU doesn’t pass 60%) … do you think it is worth trying to decrease brightness to get some power headroom back? I am using an official pi PSU (5.1v at 3amps)
This would need some pin assignment changes but should work (similar to an RP2040 QTPy from adafruit) - mounting is a little more tricky with no mounting holes, and because the mcu is on the bottom - so it’s a thicker unit altogether to fit in a case
I thought i had fallen into “the knowledge gap” trying to update a neotrellis grid that i hadn’t personally built…but I also fought my way out of it, so I thought I would leave this here so it is searchable for others as inexperienced as me… this is my own step by step guide to update a neotrellis grid to install the Paletted grid as of 2023 using these exact steps…
again unzipped it to my laptop, opened it with my grid connected, and saw it change from the ! to an icon to show the grid was connected reading “monome”
5.clicked upload and selected neotrellis_monome_teensy_paletted.ino.TEENSY32.hex selected it
this completed and the grid seemed now shows this new version ,
I then connected to norns… something to be aware of at this point…
as soon as i pressed within a row to select that palette, … the new palette displays for about half a second across all the rows THEN IT SEEMS TO JUST CUT OUT and go blank. and loading in a script just kept a blank grid…queue much regret…until i worked out, what i had to do was…
go into SYSTEM>DEVICES>GRID and update the grid as, for whatever reason, the serial number had now changed.
but with this bit done, I can now very happily load up my grid in this lovely colour !!!
So that’s GPIO 26 and 27 - which are pin numbers 32 and 32 (Along with 5v and GND)
You can choose to use different GPIOS for I2C1 if you like and then change the code appropriately. See https://pico.pinout.xyz/ for general pico pinout info