Hi, I would like to use internal EEPROM with ERAM. At the beginning of my code will be a default values. The problem is, that after restart MCU a default values will be always written. I would like to write a default values only once. Any idea ?
Example:
[code:1:3f71f16839]Dim Eb(5) As Eram Byte
For I = 1 To 5
Eb(i) = I ' default values 1, 2, 3, 4, 5
Next I
If Pina.0 = 1 Then
For I = 10 To 15 ' new values
Eb(i) = I
Next I[/code:1:3f71f16839]
[b:3f71f16839][color=red:3f71f16839](BASCOM-AVR version : 2.0.7.6 )[/b:3f71f16839][/color:3f71f16839]
↧