I would like to call function like port(P0,1,2).i want to assign the values of 0 and 1 to P0.1 and P0.2 using that function prototype only...how can i assign the values to port pins.what are the steps i need to follow...
Thanks in advance
chinnaye
look mate. you dont know what my thesis says cause you havent seen it! i just said you can do it here. not my fault that some random guy jumps in and says you cant when you can. sure ram is better but other way works too.
The important thing here is that self-modifying code in flash is really irrelevant for a case where a port pin needs to be toggled. Even doing a pin toggle once/day multiplied with two different pins, would result in 700 flash erase cycles/year.
you are very negative. use some imagination. maybe you should read my thesis. you could learn a lot.