Hi Alan,
Yes you're right - it seems like the adc value is almost redundant, and the frequencies end up just as a by-product of the code execution time.
Thanks for the code suggestion. I think 50hz to 60Hz might end up too slow for the project though.
Cheers
Chris
Hi guys
Hope all is well, and glad to see Hippy back again these days!
I'm using 5No 08M2's to generate sine waves in a harmonic series. E.g/
Pic 1 - f0 = 100Hz
Pic 2 - f1 = 200Hz
Pic 3 - f3 = 300Hz
Pic 4 - f4 = 400Hz
Pic 5 - f5 = 500Hz
Have tried this in a 'do' loop:
Do
Readadc C.4, w1
PWMout...
Hi guys
I'm using a 20M2 with an external clock input, which then triggers an output pin to light a few LEDs.
The clock is manually introduced to the circuit and so there might be long periods of time where I'd like the LED to remain off, when the clock isn't being used.
I'd like this time...
Hi Bill
I would use a regular Light Dependent Resistor (LDR) and use it in a voltage divider set-up. As the light fades it's resistance will increase, and you can use this in your circuit to send a voltage to your Picaxe. Use the 08M2 ADC input to monitor the voltage as it changes. Calibrate...
Hi guys, hope you're all well
If you have two buttons A and B connected to separate input pins, is there a logical way of achieving:
While A is pressed and held (i.e pin A is high) then subsequent presses of B can act as one-shot inputs.
While B is pressed and held then subsequent presses of A...
Hi guys
I've hit a speed wall in my program. I purchased a 40X2 with 16MHz resonator in the hope to include some extra code/features with an ongoing circular buffer program I've been working on to drive a home-made drum machine at the desired speed of 120bpm.
A quick summary of the program's...