Author Topic: Very basic program required  (Read 2659 times)

alexisalexus

  • Guest
Very basic program required
« on: March 24, 2009, 02:25:07 pm »
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

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Very basic program required
« Reply #1 on: March 24, 2009, 02:34:17 pm »
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.