// EEPROM File : clear(@no) function clear(no){ var adrs=no*2048; var count=0, n; while(count<2048){ i2cw(0x50|(((adrs>>16)&1)<<2), (adrs&0xff00)>>8,adrs&0xff, 0); sleep(10); adrs=adrs+1; count=count+1; } } log("input @number\n"); var s=input(); clear(s);