led_mux_toggle

Description

This function inverts the state of a single LED (turns on a LED that is off and turns off a LED that is on). The LED to invert is identified by its co-ordinates in the 8 by 8 matrix

Definition

led_mux_toggle(ubyte x, ubyte y)

Library

LIB/led_mux_lib.bas

Usage

On entry:
x is the x co-ordinate of the LED to toggle (for an 8 by 8 matrix x must be in the range 0 to 7, 0 is the left and 7 is the right)
y is the y co-ordinate of the LED to toggle (for an 8 by 8 matrix y must be in the range 0 to 7, 0 is the top and 7 is the bottom)
On exit:
There is no return value