#foamguy is31 help
1 messages ยท Page 1 of 1 (latest)
forgive the questions & lack of understanding but,,,,
i have been working from the following documentation... kindly provided by your good self earlier
https://circuitpython.readthedocs.io/projects/is31fl3741/en/latest/api.html
where is the Adafruit_RGBMatrixQT coming from?
It comes from the library code here: https://github.com/adafruit/Adafruit_CircuitPython_IS31FL3741/tree/main/adafruit_is31fl3741 However it appears that it's not included in the readthedocs pages for some reason. I'm not sure why that is the case we'll definitely want to get it represented on the docs pages.
so is the adafruit_is31fl3741.IS31FL3741_colorXY documentation not applicable in my case or has the RGBMatrixQT now supplanted it?
I know this is a new product so there will always be teething troubles with documentation - ican be quite a struggle for novices like myself sometimes to know what it is they are supposed to be using
Adafruit_RGBMatrixQT class extends IS31FL3741_colorXY class so all of the documentation for the latter would apply to Adafruit_RGBMatrixQT as well.
In general the resources I find most helpful when I get new hardware are:
- Learn guide for the product. This is great for pinouts and information about getting started with a device.
- Readthedocs for the library. This one is more of a comprehensive reference type resource that will list all of the classes and functions that you can use with the library.
- examples directory inside the library repo. There is always at least one example (usually it's shown in the learn guide as well). For some libraries there are additional examples that show more of the functionality.
Success both in taking my 1st small steps in using this wonderful new display & in an even smaller step in my understanding!!
My latest code ....
import board
import busio
import adafruit_is31fl3741
from adafruit_is31fl3741.adafruit_rgbmatrixqt import Adafruit_RGBMatrixQT
i2c = busio.I2C(board.GP9, board.GP8)
is31 = Adafruit_RGBMatrixQT(i2c,allocate=adafruit_is31fl3741.PREFER_BUFFER)
is31.set_led_scaling(0xFF) # turn on LEDs all the way
is31.global_current = 0xFF # set current to max
is31.enable = True # enable!
while True:
is31.fill(0x00ff00)
is31.show()
time.sleep(0.5)
is31.fill(0x0000ff)
is31.show()
time.sleep(0.5)
is31.fill(0xff0000)
is31.show()
time.sleep(0.5)
now works & i thnk a glimmer of understanding is forming in by brain....
will look through & investigate the Adafruit_RGBMatrixQT class - hope it won't be too look before there is some documentation for it - wish i had the ability to help with that..
None iof this small victory would have been possible without your kindness & patience
Big Thanks!!!
@lofty steppe must not forget to add my thanks to the also wonderful Kattni!!
You're entirely welcome! Glad you got it sorted out!
a very small step along a very long trail but i'll take whatever help i can get on the journey!
That's how it starts. The steps get bigger with time. ๐
@lofty steppe @karmic lantern
1st thing I always do with new sparkly things is make a simulation of a Big Clive Supercomputer....
The trail just got 1 tiny step shorter ...
Awesome! that looks great. Good job.