Joined: 06 Sep 2003 Posts: 659 Location: Sydney, Australia
Posted: Sun Jun 20, 2004 5:04 pm
I don't think there is a function with that name in CCS.
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Sun Jun 20, 2004 6:08 pm
Quote:
I don't think there is a function with that name in CCS.
There is, but it's an accessory function in INPUT.C
(Found in c:\Program Files\Picc\Drivers)
I don't know whether he just wanted the above information
or an explanation of how to use it.
Haplo
Joined: 06 Sep 2003 Posts: 659 Location: Sydney, Australia
Posted: Sun Jun 20, 2004 6:39 pm
If you want information on how to use it, as PCM Programmer said take a look in the INPUT.C file.
You have to call it with no arguments. It reads string from the serial port (up to 7 caharacters) with echo, converts it to long and returns it. Here is the prototype:
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