Hello everyone, i was wondering if any of you would be as kind as to give me some pointers on where to start with ADC with one of these particular chips (18f-2550/4550)
basically i need to understand how ADC works since im trying to build a USB Throttle cuadrant for a flight sim, i know the USB aspect of things (ive made a 32 button "Joystick" with no axis that works fine) but i have no idea on how to do the following using PBP3:
---conifgure Fuses for ADC operation (configuration bits)
---recieve analog input from Pot and turn it into a digital value (this would be an axis)
---have a second analog input for a second axis
(i already know how to make the descriptor and comm. with the pc via HID class)
any guide or well commented code would help me greatly, i appreciate any input and thanks for the time.
Scumari's examples here : http://www.picbasic.co.uk/forum/showthread.php?t=11950
are helpful but i dont understand how the ADC conversion works in that program,
if someone by any chance can explain or "comment" this code i would really appreciate it.
JSAGS
Bookmarks