Trellis Datasheet
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Trainmaster2
- Posts: 4
- Joined: Mon Oct 01, 2018 8:48 pm
Trellis Datasheet
I'm looking for a datasheet or list of commands for the Trellis board (Product ID: 1616). The store page sends me to the tutorial, but the tutorial doesn't seem to have the datasheet. A quick look through Google results didn't look promising, either. The only other thing I've thought of is digging through the Arduino library to find every command, and I'm willing to do that if it's the last option. Thanks in advance.
- dastels
- Posts: 15760
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Trellis Datasheet
There doesn't seem to be any. Looking at the examples in the repo https://github.com/adafruit/Adafruit_Tr ... r/examples are probably your best bet. I usually skip documentation and go directly to the code anyway... it's all you can fully trust.
Dave
Dave
- Trainmaster2
- Posts: 4
- Joined: Mon Oct 01, 2018 8:48 pm
Re: Trellis Datasheet
I realized that the Trellis boards are basically just premade circuit boards and silicon for the HT16K33, which does have a datasheet. I'll give another update later if there is anything to note after comparing the datasheet with the Arduino library, just in case someone else with the same issue finds this.
https://cdn-shop.adafruit.com/datasheet ... 33v110.pdf
https://cdn-shop.adafruit.com/datasheet ... 33v110.pdf
- Trainmaster2
- Posts: 4
- Joined: Mon Oct 01, 2018 8:48 pm
Re: Trellis Datasheet
https://cdn-shop.adafruit.com/datasheet ... 33v110.pdf p.33
------------------------------
Display data Address pointer
The A# bits can be set from 0x0 to 0x7, but should be 0x0 to address all LEDs. The first nibble of the LED address refers to the byte the data will be in, the second nibble is the bit in that byte.
System setup
Works as written.
Key data Address pointer
The K# bits should all be zero. Need to read 6 bytes to clear interrupt, but only the first 4 have information on the buttons. The first nibble of the button address refers to the byte the data will be in, the second nibble is the bit in that byte.
INT flag Address pointer
Alternative to using interrupt pin, 0 is no interrupt, 255 is an interrupt.
Display setup
Works as written.
ROW/INT set
Works as written, but I’m not sure what “ROW driver output” means.
Dimming set
Works as written.
------------------------------
Interrupt Pin
If enabled, the interrupt pin will be set as long as any button is pressed.
LED Addresses
0x72, 0x67, 0x65, 0x64,
0x50, 0x51, 0x43, 0x44,
0x26, 0x33, 0x21, 0x20,
0x16, 0x15, 0x14, 0x02
Button Addresses
0x07, 0x04, 0x02, 0x22,
0x05, 0x06, 0x00, 0x01,
0x03, 0x10, 0x30, 0x21,
0x13, 0x12, 0x11, 0x31
------------------------------
Display data Address pointer
The A# bits can be set from 0x0 to 0x7, but should be 0x0 to address all LEDs. The first nibble of the LED address refers to the byte the data will be in, the second nibble is the bit in that byte.
System setup
Works as written.
Key data Address pointer
The K# bits should all be zero. Need to read 6 bytes to clear interrupt, but only the first 4 have information on the buttons. The first nibble of the button address refers to the byte the data will be in, the second nibble is the bit in that byte.
INT flag Address pointer
Alternative to using interrupt pin, 0 is no interrupt, 255 is an interrupt.
Display setup
Works as written.
ROW/INT set
Works as written, but I’m not sure what “ROW driver output” means.
Dimming set
Works as written.
------------------------------
Interrupt Pin
If enabled, the interrupt pin will be set as long as any button is pressed.
LED Addresses
0x72, 0x67, 0x65, 0x64,
0x50, 0x51, 0x43, 0x44,
0x26, 0x33, 0x21, 0x20,
0x16, 0x15, 0x14, 0x02
Button Addresses
0x07, 0x04, 0x02, 0x22,
0x05, 0x06, 0x00, 0x01,
0x03, 0x10, 0x30, 0x21,
0x13, 0x12, 0x11, 0x31
Please be positive and constructive with your questions and comments.