so i guess i actually have 2 issues still, i cant sleep (neither can my device) and the A/D sometimes acts "wonky" depending on the state of the usb pluggedness.
Type: Posts; User: RYTECH; Keyword(s):
so i guess i actually have 2 issues still, i cant sleep (neither can my device) and the A/D sometimes acts "wonky" depending on the state of the usb pluggedness.
Does the USB operation of the 18F4550 have a direct effect on the A/D channels..? Let me explain why i ask....
Case a) when i power up my circuit the A/D values float - not 200 or 300 millivolts -...
Thanks Darrel that did it for me!
Should i wire up an input to the USB V+ and monitor that in addition to the IDLEIF SOFIF registers? USB ---4.7k ----pic input --100k---GND?
Darrel the "extra" data is for parsing strings that come in after my oncomm event in visual basic. I get the stuff in between the letters :) - I haven't successfully used "binarymode" in vb .....
Hi,
I have some mostly working code now using your interrupts thanks to your "hint" about the endpoints earlier...
I was reading another thread that was about "If plugged" - The solution works...
Just gotta figure out now why my adc is all over the place
k i think your hint has moved the situation forward.. i'm now getting some output... :) thanks ... I know I know im a big noob
ahh i see what ur saying darrel.. i' used your code which points to endpoint 1.. i'm going to try it changing it to 3
I wasnt aware that the interrupt system was specifically for HID devices... anyways i'm back to trying to make my code work... it's really annoying.. the device works as expected, until i try and...
thought i'd post my setup:
MPASM 5.20
PBP 2.50b
MCS 3.0.0.5
'
' RCUSB ; Edited 'USBDEMO' from Steve and Darrel
' =======
'
' File name : RCUSBCOMM_INT.pbp
' Company : Rytech Computing
' Programmer : Steve...
I realize i'm likely behind about 2 years on this one.. i've been trying to modify Mister E / Darrel's USBDEMO code so that it works with my existing setup (a vb app that aquires 8 bit a/d result...