At 1st attempt(2.4v-which worked earlier) it didn't worked as expected.
but I tried givinga bit high voltage combining 2 rechargeable cells(3.7v+2.4v=6.1v)
whoops!! it started to work.I'm so impressed thats why I put this on.
This is also th 1st time I've encountered such a thing.
please can experts tell me why then the microchip data sheet explains maximum clock <= 20Mhz.
Please mind me if this looks stupid.
Code: Select all
int clk ;
void main() {
PORTB = 0;
TRISB = 0;
clk = Clock_mhz();
Eeprom_Write(0x01,clk);
while(1) {
PORTB = ~PORTB;
Delay_ms(1000);
}
}
Code: Select all
FF1CFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF