while(TRUE)
{
while(!modbus_serial_receive(FALSE)); <-- this is the function call not defined
...
All of this relates to modbus.c located in the drivers directory. I tried to define it extern modbus_serial_receive(byte) but that caused more problems with "different from previous definition" on
It appears that in the current version of the compiler (4.xxx), CCS has
re-named and re-written that function. Its new name is modbus_kbhit().
Look in the modbus.c file to see it.
Kevin Doney Guest
Modbus problem
Posted: Tue Sep 29, 2009 2:27 pm
Thank you for the fast response. Yes all of the code you saw came from the wizard. I had made some minor corrections first but this one I couldn't solve. I have 4.099 of all of the tools.
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Tue Sep 29, 2009 2:42 pm
You should send an email to CCS support about this Wizard issue.
Tell that that it's in vs. 4.099.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum