OK then, so you're not going to use the USB feature in?
Let me know, i have some spare time today... to be honest, i'm out of solution to fix my actual Projects bugs.... ARRGGHHHH! Seems i need a break![]()
OK then, so you're not going to use the USB feature in?
Let me know, i have some spare time today... to be honest, i'm out of solution to fix my actual Projects bugs.... ARRGGHHHH! Seems i need a break![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Hi,
I use this:
DEFINE OSC 4
DEFINE ADC_BITS 8
DEFINE ADC_SAMPLEUS 50
' Set clock source (3=rc)
DEFINE ADC_CLOCK 3
......................
for counter2 = 0 to 7
SUM = 0
FOR COUNTER1 = 1 to 10
ADCIN counter2,A[counter2]
PAUSEUS 24 'Pause between ADCINs
SUM = SUM + A[counter2]
NEXT COUNTER1
A[counter2] = SUM/10
And is working very good.
Regard.
I might use the USB feature... I don't know if I need the feature right now though.
I think I will use this code...but are the adc_bits and adc_sampleus numbers arbitrary?
DEFINE OSC 4
DEFINE ADC_BITS 8
DEFINE ADC_SAMPLEUS 50
' Set clock source (3=rc)
DEFINE ADC_CLOCK 3
And mister_e I could use your expertise on a few questions: I am using an infrared emitter and the strength of that beam will be measured by an infrared receiver (which will be measured with the adcin command). However, I cannot seem to find an infrared receiver. Do you know of any online stores that sell them?
The other thing I need are really cheap gearhead motors. Any suggestions?
Last question: If I do end up using the USB feature, what software could I use to receive USB data (or should I write my own) which I can then process?
I appreciate your help and wish you luck with your own projects.
-Mike
Bookmarks