how do I store the no1 in permeant memory

Look at the [color=blue] eeprom_put[/color] example (among others) in the IDE - File/examples/eeprom