Hello. I am new to this forum. So recently i am working on a project. So it consists on the annikken andee to. So there was this error which says,
"Andee.h:: No such file or directory"
So can somebody tell me why is there a problem like this. Please Help Thank You
It cannot find the indicated file. It is not in the search paths setup in the IDE.
Move the library for the device into the library directory.
Weedpharma
If that does not help you then post the code you are trying to compile and use the <> icon to do it.
#include <SPI.h>
#include <Andee.h>
AndeeHelper displaybox;
AndeeHelper button;
// The setup() function is meant to tell Arduino what to do
// only when it starts up.
void setup()
{
Andee.begin(); // Setup communication between Annikken Andee and Arduino
Andee.clear(); // Clear the screen of any previous displays
setInitialData(); // Define object types and their appearance
}
// This is the function meant to define the types and the apperance of
// all the objects on your smartphone
void setInitialData()
{
// Let's draw a display box!
displaybox.setId(YO MUM); // Each object must have a unique ID number
displaybox.setType(DATA_OUT); // This defines your object as a display box
displaybox.setLocation(0, 0, FULL);
displaybox.setTitle("Inject Insulin");
displaybox.setData("Waiting for insulin pump");
button.setId(1); // Don't forget to assign a unique ID number
button.setType(BUTTON_IN); // Defines object as a button
button.setLocation(1,0,FULL);
button.setTitle("Emergency");
// Optional:
button.requireAck(true);
// By default this is already set to true to prevent accidental presses
// after the first button press.
// You can't use setData() and setUnit() for buttons.
}
// Arduino will run instructions here repeatedly until you power it off.
void loop()
{
// Here's how you code a single-press button action.
if( button.isPressed() )
{
// Prevents a repeated button press. Button will not be available until Arduino
// replies the smartphone with an acknowledgement message.
button.ack();
// Add action here!
// In this example, pressing the button will change the text in the display box above
displaybox.setData("Injecting Insulin");
}
displaybox.update(); // Don't forget to call update() or else your objects won't show up
button.update();
delay(500); // Always leave a short delay for Bluetooth communication
}
These are my codes for the annikken andee. Please tell me where i am wrong. Thank you
Grumpy_Mike:
If that does not help you then post the code you are trying to compile and use the <> icon to do it.
In what possible way was that code posted using the code icon ????
How are you going to understand any answer if you can not do this.
Please read this:-
How to use this forum
and edit that last post.
Also supply a link to that library Andee.h and post the path to it on your computer.