Analog to Digital and Digital to Analog conversion for PCF8591

Name ASIP.C
Revision V1.0 - December 20th, 2002
Code size 45 bytes with Keil V5.50 compiler
Needed RAM size 3 bytes

 

These routines allow to read a specified channel from the PCF8591 Analog to Digital converter and to write into the Digital to Analog Converter.

The routine calls the I2C functions available in the resources pages

 

You can Download the code here (ZIP, 2Kb).