Shop OBEX P1 Docs P2 Docs Learn Events
frequency code — Parallax Forums

frequency code

asian123asian123 Posts: 4
edited 2011-03-10 11:05 in Propeller 1
I am using a TLC548 8-bit ADC to convert sound frequency into a digital signal. I am using the propellor chip, but I do not know what code to use to read the sound frequency and display the data output from the ADC ic. Are there any sample codes I can look at?

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2011-03-10 11:05
    You have already posted two other threads on this same subject (here's one). It is against forum rules to cross post. Please do not do it again. In the other thread, there was already one suggestion for sample code for another type of ADC. The way things usually work here is that you ask a question, then someone makes a suggestion. You follow their suggestion and generate one or more other questions which, in turn, produce more suggestions. Eventually you learn enough to answer your question.

    The ADC0831 is similar (but not identical) to the TLC548 and you should be able to adapt the ADC0831 driver in the Object Exchange to work with the TLC548. You should be able to adapt the sample code mentioned above to use the ADC0831 driver instead of the driver included with the sample code. You may be able to find other useful bits of code in the Object Exchange if you browse through the Signal Generation & Processing section.
Sign In or Register to comment.