Hi! I looking for a sample project in ccs i want to use 20MHz xtail, 18f4550...
and i want only switch a led from a win.aplication i have Delphi for it...
thanx chipchup
NicolasC
Joined: 14 Sep 2006 Posts: 27
Posted: Sun Mar 04, 2007 3:21 pm
Use ex_usb_serial example. Put your code :
Code:
if (usb_cdc_kbhit()) {
c=usb_cdc_getc();
...here...
... if ( c == 'O')....
...to turn led on.
With Delphi, open the emulated COM and send the char you choosed to turn the led on.
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