Jump to content
PLC Forum


[domanda] Program. E2prom Del Pic


gzorzi
 Share

Recommended Posts

Quale istruzione nel codice sorgente fatto con PICBASIC o assembler devo usare per dire a ICPROG di scrivere determinati valori nella eeprom del PIC ?

Grazie :wacko:

Link to comment
Share on other sites


In ASM devi usare il comando DE ma prima devi dire da quale indirizzo vuoi partire.

per un PIC 16F877 puoi usare questo esempio:


    ORG  H'2100'
    DE  .0,.1,.2,.3,.4,.5,.6,.7,.8,.9

scrive nelle prime 10 locazioni della eeprom i valori decimali da 0 a 9 

Per il PICBASIC non posso aiutarti

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...