mpc8082 - Problems with I/O pins

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

mpc8082 - Problems with I/O pins

2,224 次查看
admin
Specialist II
hello
 
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 "
 
Thanks


Message Edited by Alban on 2007-06-26 11:05 AM
标签 (1)
0 项奖励
回复
1 回复

758 次查看
CrasyCat
Specialist III
Hello
 
Are you getting the message when you are building the code?
How (and where) did you define PDATA?
 
CrasyCat
0 项奖励
回复