Hi Darrel, I've tried it however it is not working. I've used the following.
IF (usb_device_state = CONFIGURED_STATE) THEN
high dataled
ELSE
low dataled
ENDIF
During USB connection the dataled is on. However the status of the dataled will not change when the USB cable will be disconnected. When I connect the cable in, for short time the dataled will be turned off and within about 300msec it will be turned on. I think that the Led will be turned off during enumeration.
Do I something wrong why it is not working?




Bookmarks