From a8b93c845d56180a9fe05f77ef0ed6c45102709d Mon Sep 17 00:00:00 2001 From: "Stephen M. Moraco" Date: Mon, 27 Sep 2021 14:45:48 -0600 Subject: [PATCH] Preserve latest changes --- .gitignore | 3 +++ driver/isp_hub75_anlyCheck.spin2 | 11 ++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index b8a5d6b..619febc 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,9 @@ # macOS files .DS_Store +# my scripts +checkDropbox + # Object files *.o *.ko diff --git a/driver/isp_hub75_anlyCheck.spin2 b/driver/isp_hub75_anlyCheck.spin2 index ec60fce..2f10717 100644 --- a/driver/isp_hub75_anlyCheck.spin2 +++ b/driver/isp_hub75_anlyCheck.spin2 @@ -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 @@ -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