gramo
New Member
Just trying to figure out the equivilent for Proton+ picbasic,
PICBASIC Pro bit setting/clearing with a variable:
porta.0[Variable] = 1 'sets bit(variable) of porta
porta.0[Variable] = 0 'clears bit(variable) of porta
Proton+ :
doesn’t work.. it can only modify register bits with addressing of constants in that manner.
If someone knows how to over come this - please let me know
PICBASIC Pro bit setting/clearing with a variable:
porta.0[Variable] = 1 'sets bit(variable) of porta
porta.0[Variable] = 0 'clears bit(variable) of porta
Proton+ :
doesn’t work.. it can only modify register bits with addressing of constants in that manner.
If someone knows how to over come this - please let me know