Hello
I try to make a convertor from analog signal to a digital signal for my alpine mp3 car player. i found all the sequences to control the alpine, but the code generated is very long and i think memory of pic16f876a isn't enough.
a short description: i simulated in Proteus the circuit from my car command(analog), and the pic. i create in mikro C the program for pic. i used a ADC for sensing commands made and using values from conversion i make a specific function/command to alpine.
Everything seems to working ok, conversion from analog input, also the digital output is ok. But here is something tricky. instead using the "real" functions for my apline, i put some "simple" digital output sequences. If i put the real ones, the program will not build/create the hex. it tell me that is not enough memory or it will compile, but will not work after loading the hex in pic memory.
hope you understand what i try to say here. in zip are the file from simulation(alpine_sim) and the program created in mikro c(MyProject.c) and the c file with real digital output sequences for alpine(alpine.c).
at bellow address you can see from where i was inspiring
**broken link removed**
can anybody help me with a solution?
I try to make a convertor from analog signal to a digital signal for my alpine mp3 car player. i found all the sequences to control the alpine, but the code generated is very long and i think memory of pic16f876a isn't enough.
a short description: i simulated in Proteus the circuit from my car command(analog), and the pic. i create in mikro C the program for pic. i used a ADC for sensing commands made and using values from conversion i make a specific function/command to alpine.
Everything seems to working ok, conversion from analog input, also the digital output is ok. But here is something tricky. instead using the "real" functions for my apline, i put some "simple" digital output sequences. If i put the real ones, the program will not build/create the hex. it tell me that is not enough memory or it will compile, but will not work after loading the hex in pic memory.
hope you understand what i try to say here. in zip are the file from simulation(alpine_sim) and the program created in mikro c(MyProject.c) and the c file with real digital output sequences for alpine(alpine.c).
at bellow address you can see from where i was inspiring
**broken link removed**
can anybody help me with a solution?