chipKIT® Development Platform

Inspired by Arduino™

UECIDE error For compiling LCd Program

Created Thu, 27 Mar 2014 06:16:38 +0000 by ajitnayak


ajitnayak

Thu, 27 Mar 2014 06:16:38 +0000

dear all, i am using UECIDE ide for programming. I am trying to upload below code . I am getting below error let me know how to solve this issue.

[attachment=0]lcd error.JPG[/attachment]

#include <LiquidCrystal.h>
#include"lcd.h"
LiquidCrystal lcd(12, 11, 7, 6, 5, 4);

void setup()
{
 Serial.begin(9600);
 lcd.begin(16, 2);
  lcd.print("hello, world!");
}
void loop()
{
   lcd_call();
   	Serial.println("hello");
	Serial.println(".......................");
	delay(1000);
}

lcd.h

#ifndef LCD_H
#define LCD_H

void lcd_call();
#endif

lcd.ino

#include <LiquidCrystal.h>
#include"lcd.h"
void lcd_call()
{
lcd.begin(16,2);
lcd.setCursor(0,0);
lcd.print("UECIDE");
	
}

pito

Thu, 27 Mar 2014 06:52:47 +0000

Try

#include "lcd.h"

Mind the space.