Dubbio su C18 Microchip

Salve a tutti, utilizzando il convertitore A/D a 10 bit del PIC18F252 (opportunamente configurato, ecc..), perchè questa istuzione mi ritorna un valore errato? Flow è ovviamente una variabile unsigned int.

Flow = ADRESL+ADRESH

Reply to
Fabio Riscica
Loading thread data ...

"Fabio Riscica" ha scritto nel messaggio:

Reply to
qUAD dAMAGE

Hai perfettamente ragione, in ANSI C la priorità dell'operatore + è superiore a quella dell'operatore

Reply to
Fabio Riscica

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.