PORT D bug on DSPIC33FJ64(128)MC804
Posted: Wed Jan 27, 2010 12:16 am
Hi Lubin and group,
I am new user for DSPIC and actually I am trying to use your very useful blockset (just downloaded it today).
However I have problems regarding the Digital Input. When I try to compile to DSPIC33FJ128MC804, the following error occurs:
dsPIC_33f_Explorer16.c:165: error: 'PORTDbits' undeclared (first use in this function)
Looking into the .h files, I could notice that DSPIC33FJ128MC804 does not present any definition for PORTDbits.
It seems that the digital Input for DSPIC33FJ128MC804 is made in a different way, but I am not quite sure about that.
However it seems that this is the only error so far.
Can you enlighten me here, please?
I imagine I can use the Analog Input as a digital Input, just by configuring it correctly. But then I guess if the Analog Input is also implemented for this specific DSPIC.
Thank you and regards,
Mikio
I am new user for DSPIC and actually I am trying to use your very useful blockset (just downloaded it today).
However I have problems regarding the Digital Input. When I try to compile to DSPIC33FJ128MC804, the following error occurs:
dsPIC_33f_Explorer16.c:165: error: 'PORTDbits' undeclared (first use in this function)
Looking into the .h files, I could notice that DSPIC33FJ128MC804 does not present any definition for PORTDbits.
It seems that the digital Input for DSPIC33FJ128MC804 is made in a different way, but I am not quite sure about that.
However it seems that this is the only error so far.
Can you enlighten me here, please?
I imagine I can use the Analog Input as a digital Input, just by configuring it correctly. But then I guess if the Analog Input is also implemented for this specific DSPIC.
Thank you and regards,
Mikio