Arduino programming help required

Discussion in 'Software' started by anonymous_fz, Oct 31, 2012.

  1. anonymous_fz

    anonymous_fz

    Joined:
    Oct 31, 2012
    Messages:
    1
    The following code does not compile in arduino IDE 0022:

    Even when the attached file has been put into the libraries folder.

    Code:
    //Compatible with Arduino IDE 22/23 #include <sunflower.h>     //library #define MoistureSensor 3  // the port moistureSensor connected to sunflower flower; void setup() {   Serial.begin(115200); //Baudrate 115200   flower.Initialization(); //Initialization } void loop() {   flower.SerialSet(MoistureSensor); //get the settings from the PC software and the moisture value   flower.process(); //get the temperature and humidity value   flower.Potentiometer(); //get the watering threshold value   flower.print(); //output data including temperature, humidity, watering threshold value, moisture value.   delay(500); }
    The reason is that the members Potentiometer and Serialset are not a part of the sunflower.cpp and sunflower.h.

    I have no idea about c++ programming and really need help with introducing these members in the library,

    like void potentiometer(){}
    The potentiometer is supposed to set the watering threshold level at which the system will stop watering the plants.

    and also i would like help in coding so as to control the system and inputs from the "flowers life" software.

    Please search ecoduino on a search engine and click the first link for a better understanding of what i have said.
     

    Attached Files:

    anonymous_fz, Oct 31, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Phate

    [newbie question] need help programming in c++

    Phate, Oct 1, 2003, in forum: Computer Support
    Replies:
    3
    Views:
    516
    °Mike°
    Oct 1, 2003
  2. Nicola Mezzetti

    Help about windows programming with DLL

    Nicola Mezzetti, Jan 30, 2006, in forum: VOIP
    Replies:
    1
    Views:
    465
    ravinderthakur@gmail.com
    Jan 30, 2006
  3. Bill D

    Programming Help

    Bill D, Nov 19, 2005, in forum: Computer Support
    Replies:
    5
    Views:
    497
    Duane Arnold
    Nov 19, 2005
  4. dimon
    Replies:
    7
    Views:
    527
  5. Marcus P.

    Help! 64-bit programming question for an MVP

    Marcus P., Feb 28, 2006, in forum: Windows 64bit
    Replies:
    15
    Views:
    622
    Rob Perkins
    Mar 2, 2006
Loading...

Share This Page