Hello Again Everyone,
Is it possible to alter <h4>DEFINES</h4> by assigning an alias or variable to their value and then making them subject to port input?
I want to alter the DEFINE HSER_SPBRG and LCD lines = X defines by switching port inputs, but I get assembler errors if I try method listed below.
Thank You for your patience, and help.
Joe
DEFINE HSER_SPBRG BAUD ' FOR 20MHZ 129 = 2400, 32=9600,25 @ 4 for 2400
define BAUD Var
BAUD = 129
if PortB.3 =1 then
BAUD = 32
Bookmarks