mpc8082 - Problems with I/O pins

Discussion created by axpuru on Jun 25, 2007
Latest reply on Jun 26, 2007 by CrasyCat
I am programing  one mpc8082 with Codewarrior IDE.
I have never programed something like that and i need help. well, i have opened the codewarrior and have started one new proyect with  that microcontroller.
I have read in the datasheet that the registers that i have power on  to activate I/O pins, are PDATA,PDIRA,PPARA,PSORA,PODRA. (for A port)
well, how can I active this registers? when I write PDATA=1; the codewarriors don't debug an write this problem:
" Not an lvalue "

Message Edited by Alban on 2007-06-26 11:05 AM