We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
posted on 2016/04/28 10:58:24 AM CEST
Hi please help me to complete this code , I am new to PIC.
//Controller : Pic18f4585
//DAC8574
void Put_dac(int address, int dac_data)
{
return
}
void Get_adc(int address, int adc)
{
return
}
main:
{
Put_dac(1,20000); it sends dac address and voltage in decimal
Put_dac(2,20000);
Get_adc(2,ADC); ADC is variable to store adc value
}