cyb3rfreak
New Member
hi to all!
i would like to ask some help from the experts in using ADC of 877. i already read the datasheet with regards on using adc but i have difficulty in understanding the details. im using PICSimulator IDE as my compiler (that uses C environment) and Proteus by simulating the program. i also search the net and forum for example but unfortunately i didn't find any that can help me. if it's not too much to ask, can somebody provide an example program that will require analog signal (e.g 0V to 5V) and will display 3-bit digital output (i.e. 3 LED). i only know how to set the pins as input but i dont know how to obtain or where to get the output from the adc.
any reply is very appreciated! thnx
i would like to ask some help from the experts in using ADC of 877. i already read the datasheet with regards on using adc but i have difficulty in understanding the details. im using PICSimulator IDE as my compiler (that uses C environment) and Proteus by simulating the program. i also search the net and forum for example but unfortunately i didn't find any that can help me. if it's not too much to ask, can somebody provide an example program that will require analog signal (e.g 0V to 5V) and will display 3-bit digital output (i.e. 3 LED). i only know how to set the pins as input but i dont know how to obtain or where to get the output from the adc.
any reply is very appreciated! thnx