Changes for page Front I/O
Last modified by Kevin Wiki on 2024/07/07 22:48
From version
2.4
edited by Kevin Wiki
on 2024/07/04 21:06
on 2024/07/04 21:06
Change comment:
There is no comment for this version
To version
2.5
edited by Kevin Wiki
on 2024/07/04 22:57
on 2024/07/04 22:57
Change comment:
There is no comment for this version
Summary
Details
- Page properties
-
- Content
-
... ... @@ -151,6 +151,28 @@ 151 151 } 152 152 {{/code}} 153 153 154 +== SAA1064T data for driving center IO == 155 + 156 +Center IO stack is a stack of 23 LED's, 22 blue and 1 green for ethernet activity. These are duplicated next to each other and driven by each their SAA1064T chips. Earlier we found the i2c address and just by playing around figured out that 4 segments of 1 byte binary values are used to set ship register. 157 + 158 +{{code language="C++"}} 159 +void fillColumns() { 160 + Serial.println("filling columns"); 161 + Wire.beginTransmission(saa1064); 162 + Wire.write(1); 163 + Wire.write(0x7F); // 127 - 1111111 164 + Wire.write(0x7F); // 127 - 1111111 165 + Wire.write(0x7F); // 127 - 1111111 166 + Wire.write(0x1F); // 31 - 11111 167 + Wire.endTransmission(); 168 + 169 + colsFilled = 1; 170 +} 171 +{{/code}} 172 + 173 +(% class="wikigeneratedid" %) 174 +Here the last byte we send only is 5 bits since we only have 5 LEDs instead of 6 to address (total of 23). Also note that we start the transmission with a single bit. 175 + 154 154 == Pinouts voltages from MLB == 155 155 156 156 Powered off: ... ... @@ -177,7 +177,6 @@ 177 177 * Power LED P3V3 - 3.30V 178 178 * Power LED - 0.87 V 179 179 180 - 181 181 182 182 ))) 183 183 ... ... @@ -199,5 +199,6 @@ 199 199 200 200 201 201 223 + 202 202 ))) 203 203 )))