R32V2020 LED Ring

From Land Boards Wiki
Revision as of 12:49, 10 April 2022 by Blwikiadmin (talk | contribs) (Created page with "* A4-CE6 and A4-CE10 have 12 LEDs in a ring configuration === Sample Code === <pre> ; ; putValueToRingLEDs ; passed r8 - value to send to the ring LEDs ; putValueToRingLEDs...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • A4-CE6 and A4-CE10 have 12 LEDs in a ring configuration

Sample Code

;
; putValueToRingLEDs
; passed r8 - value to send to the ring LEDs
;

putValueToRingLEDs:
	push	PAR
	push	r8
	lix		PAR,0x4800		; Ring LED address
	spl		r8				; Write out LED bits
	pull	r8
	pull	PAR
	pull	PC