I thought the ARM spec calls out for ADC/DACs does the Raspberyy PI have these? I couldn't find any mention of them on the datasheets, just regular GPIO.
I thought the ARM spec calls out for ADC/DACs does the Raspberyy PI have these? I couldn't find any mention of them on the datasheets, just regular GPIO.
Unfortunately not - the easiest way is to use an SPI or I2C ADC or DAC device connected to the GPIO.
There are to PWM channels that give 'moderate grade' audio - you might be able to use these for something else but they are A/C coupled to the outside world.
Thanks for the explanation, Pete. I had been wondering the same but hadn't been able to deduce that by comparing the datasheet with the pinout. Since the PWM is A/C coupled, would it not be possible then to use it to fade an LED or control a servo?
Thanks for the explanation, Pete. I had been wondering the same but hadn't been able to deduce that by comparing the datasheet with the pinout. Since the PWM is A/C coupled, would it not be possible then to use it to fade an LED or control a servo?