News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Very basic program required

Started by alexisalexus, March 24, 2009, 02:25:07 PM

Previous topic - Next topic

alexisalexus

Hi,

I am trying to use Code:Blocks to control a Pico ADC 11 Data logger.  The ADC 11 has two Digital outputs which can be controlled using various programming languages including C, C++, and numerous others.  I have a very vague idea of what I am doing after using True Basic back in school but that is no help at the minute.

Using the ADC 11 user guide I have found out that I can set or clear the digital outputs using calls to adc11_set_do and adc11_set_do2.

I need the 1st digital output to issue a constant clear functioin - i.e. like a flat 0 digital output?

And the 2nd digital output to run an  'up.....down...up...down' function like a digital clock. 

I was hoping that someone might be able to point me in the right direction about the code required.

Thanks
AR

Jenna

I don't see any C::B related question in your post.

So I lock the topic.

If I misunderstood anything, feel free to open a new topic and describe more exactly where your problem with the usage of C::b is.

If a possible new topic isn't related to C::B again, it will be silently removed.