can I name I/O pins ?
I have ina[noparse][[/noparse]15] connected to the data-valid pin of an external chip. My code would be more readable if I could say
repeat until DV==1
rather than
repeat until ina[noparse][[/noparse]15] == 1
I tried defining a Constant DV = ina[noparse][[/noparse]15]
but it won't take. Is there a way to do this?
How about naming a range of I/O pins like
Touchtone = ina[noparse][[/noparse]14..11] ?
TIA
-- Don
repeat until DV==1
rather than
repeat until ina[noparse][[/noparse]15] == 1
I tried defining a Constant DV = ina[noparse][[/noparse]15]
but it won't take. Is there a way to do this?
How about naming a range of I/O pins like
Touchtone = ina[noparse][[/noparse]14..11] ?
TIA
-- Don
Comments