I want if the value is 0 (0-1023) to show like this picture:
I want if the value is 0 (0-1023) to show like this picture:
I forgot to send the diagram for the CA3089. Sorry... I will soon.
Now about the bar at 0, why not put an IF-THEN statement after ADC subroutine to test if the ADC result is 0.
Or the more elegant Darrel's solution. Same result.
Ioannis
Unfortunatly CA3089 seem to be discontinued, and hard to get, well, tehre are a few on ebay, but more common places seem to be out of stock ?
I would love to see the schematics you used anyway Ioannis.
On the attached check page 8-29 the up left schematic. Output is on pin 13 and there is no need for coils etc as that part is not needed. In fact no components are needed on the pins 5,6,7,8,9,10,12 and 15.
On 13 there must be a load resistor to get the output voltage and on input pin 1 the capaciotors from .01 and .02 should be large enough for the audio spectrum as the values shown are for 10,7MHz IF. Put 10 or even 100 uF to get decent low freq. response. The chip works from almost 0 Hz!
Ioannis
Last edited by Ioannis; - 7th February 2010 at 12:27.
I have a problem with this program.I made everything,put the .bas file in the same folder where the program is.But when I compile it,it says that I have a WARNING: Unable to open INCLUDE file LCDBAR_INC.BAS. I made a extension .bas file for the Include file and it's not workingany sugestion?
Hi,
It works perfectly fine here. Make sure you have the file in the correct folder (either in the same folder as your source file or in the PBP folder). Also make sure that the actual filename, including extension, matches exactly what it says in the code.
INCLUDE "LCDBar_INC.bas"
The filename should be LCDBar_INC.bas but when you download it from the first post in this thread it's LCDBar_INC.bas.txt and you need to remove the .txt from the end.
/Henrik.
I did that,but it's not working.When I make an extension of the .txt file in .bas file I go File> Save as.. and File name:LCDbar_INC.bas.bas Save as type:All files Encoding:ANSI
Is there a problem?Am I Ок?
Last edited by SKOLS1; - 28th January 2011 at 10:47.
Bookmarks