using an 18F4550
I would just get a pic with more code space. but i need the USB functionality of the 4550.
using an 18F4550
I would just get a pic with more code space. but i need the USB functionality of the 4550.
"I think fish is nice, but then I think that rain is wet, so who am I to judge?" - Douglas Adams
Repeat...Until uses less space than a For...Next, about 3 bytes for each one...
Multiplies and Divides by power's of 2 can be replaced by shifts << and >> ...
For...Next loop that are (for instance) "0 to 7" take up less space than "1 to 8", again, only a few worth...
thanks for the tips
i'll go thru my code
*cringe*
"I think fish is nice, but then I think that rain is wet, so who am I to judge?" - Douglas Adams
Bookmarks