I took a part one of the display boards (10x[4x8] blocks) and wired it up to PIC24FJ64GB002, then created a simple loop that`ll call the shift register on the block and attempt to display a message on it
The idea was to check my connection and pin-probing
the pseudo code I wrote was something like -
while(true){
// Set Row IDs for current row (row 4):
ROW_1 = 0
ROW_2 = 1
ROW_3 = 1
// Shift for each pixel in the row -
for each pixel in row {
SRCK = 0
Green Bit = 1 // Turn pixel ON
SRCK = 1
// Shift next row
}
RCK = 0
RCK = 1
}
This code generated to following -
And -
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.