Skip to content

Commit

Permalink
Preserve latest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ironsheep committed Sep 27, 2021
1 parent 1b5a33a commit a8b93c8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
# macOS files
.DS_Store

# my scripts
checkDropbox

# Object files
*.o
*.ko
Expand Down
11 changes: 8 additions & 3 deletions driver/isp_hub75_anlyCheck.spin2
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ CON { I/O PINs }
#0[16], PINS_P0_P15, PINS_P16_P31, PINS_P32_P47, PINS_P48_P63

' the user-selected location: one of 0, 16, 32, and 48
MTX_LED_BASE_PIN = PINS_P16_P31
MTX_LED_BASE_PIN = PINS_P48_P63

MTX_LED_SPARE_2 = MTX_LED_BASE_PIN + 15
MTX_LED_SPARE_1 = MTX_LED_BASE_PIN + 14
Expand Down Expand Up @@ -66,12 +66,17 @@ PUB start() : ok | addr, rgb1, rgb2, ctl, ctr
'debug("`term temp size 82 50 textsize 10")
pinclear(MTX_16PINS)
pinlow(MTX_16PINS)
{
'{
' check all pins for passthru on hub75 card
repeat
repeat ctr from 0 to 65535
pinwrite(MTX_16PINS, ctr)
}
pinwrite(MTX_16PINS, 0)
waitms(1000) ' 1 second
pinwrite(MTX_16PINS, 65535)
waitms(1000) ' 1 second

'}

' check all hub75 signal pins by group
repeat
Expand Down

0 comments on commit a8b93c8

Please sign in to comment.