Show Posts
Pages: [1]
1  Using Arduino / Programming Questions / Re: WiFi Web Server on: April 22, 2013, 11:48:19 am
ty

that was it

devobtch
2  Using Arduino / Programming Questions / WiFi Web Server on: April 22, 2013, 11:42:29 am
hi
i am using WiFi Web Server example
the problem i am having is

client.print("<body bgcolor="#00FF00">");

gives this error

wifiServer:87: error: stray '#' in program
wifiServer.ino:87:41: error: invalid suffix "FF00" on integer constant
wifiServer.ino: In function 'void loop()':
wifiServer:87: error: expected `)' before numeric constant

so i am trying to change background color of the web page
shouldn't this work?
is there another way?


i am using a arduino 2560 and the wifi shield
i am trying to set up a web page that monitors
water level and temp of my grow room

thanks

devobtch
3  Using Arduino / Programming Questions / Re: fixed point variables? on: February 04, 2013, 05:09:25 pm
thanks AWOL

devobtch
4  Using Arduino / Programming Questions / Re: fixed point variables? on: February 04, 2013, 04:33:39 pm
hi guys

i have a similar question
how do you limit the amount of digits to the right of the decimal point

 temp_f = sht1x.readTemperatureF();
 lcd.print("Temperature: ");
 lcd.print(temp_f, DEC);

prints way to many digits i just want to print 2 digits to the right of decimal point


thanks

devobtch
5  Using Arduino / Programming Questions / Re: Arduino UNO @ 20MHz on: February 04, 2013, 04:06:43 pm
would you not just change the crystal to a faster one?
do you really need to change the code?

devobtch
6  Using Arduino / Programming Questions / Re: I2C not working on: January 27, 2013, 04:39:27 pm
hi
ok i did what you said and used 0023 and it worked thanks
know where i can get a 1.03 liquidcrystall_I2C library?

so should i ever put anything in the arduino folder or always use the arduino folder in the documents folder?


thanks again
7  Using Arduino / Programming Questions / Re: I2C not working on: January 27, 2013, 04:21:59 pm
hi

"You have several issues. First, user downloaded libraries do NOT go in the core library folder. Doing that causes all kinds of issues.

The pde extension is for pre-1.0 versions of the IDE. You appear to be using one with post-1.0. Why?"

ok i read that was where i should put them and i was trying with both 1.03 and 0023
and have same problems
so where should LiquidCrystall_I2C go?
should i redownload arduino 1.03 and start over?

thanks

devobitch
8  Using Arduino / Programming Questions / Re: I2C not working on: January 27, 2013, 04:03:49 pm
hi 

ok deleted the folders
now i get this

error compiling

In file included from HelloWorld.pde:3:
C:\arduino-1.0.3\libraries\LiquidCrystal_I2C/LiquidCrystal_I2C.h:81: error: conflicting return type specified for 'virtual void LiquidCrystal_I2C::write(uint8_t)'
C:\arduino-1.0.3\hardware\arduino\cores\arduino/Print.h:48: error:   overriding 'virtual size_t Print::write(uint8_t)'


heres my email mark_robare@charter.net

thanks
9  Using Arduino / Programming Questions / Re: I2C not working on: January 27, 2013, 03:41:22 pm
hi
i renamed the old library and put the 2004LiquidCrystal_I2C.rar (unrared) in the
library fold and renamed it to LiquidCrystall_I2C

i tried the example in the example folder and got the same error
i am useing arduino 1.03 and tried arduino-0023

devobitch
10  Using Arduino / Programming Questions / Re: I2C not working on: January 27, 2013, 03:29:43 pm
hi

i get the same error


devobitch
11  Using Arduino / Programming Questions / Re: I2C not working on: January 27, 2013, 02:49:48 pm
hi

i get a error on this line

LiquidCrystal_I2C lcd(0x20,16,2);

error invalid conversion from 'int' to 't_backlightPoll'

12  Using Arduino / Programming Questions / I2C not working on: January 27, 2013, 02:30:06 pm
hi
i have a uno v1 with a sensor sheild v4 connected to a ywrobot I2C lcd 16,2
and can't get this simple program to display

#include <Wire.h>
#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x38);  // Set the LCD I2C address

#define BACKLIGHT_PIN     13

void setup()
{

  // Switch on the backlight
  pinMode ( BACKLIGHT_PIN, OUTPUT );
  digitalWrite ( BACKLIGHT_PIN, HIGH );
 
  lcd.begin(16,2);               // initialize the lcd

  lcd.home ();                   // go home
  lcd.print("Hello, ARDUINO "); 
  lcd.setCursor ( 0, 1 );        // go to the next line
  lcd.print (" WORLD!  ");   
 
 
}

void loop()
{

}

can anybody see what i am doing wrong?

i also tried a sainsmart 20,4 lcd with no results

devobitch
13  Forum 2005-2010 (read only) / Development / Re: Arduino Mega with ATmega2560 on: June 10, 2010, 08:34:54 pm
the atmega2560's are on ebay
i bought 2
but most of the lcd's and other boards
i bought dont work i am still in the process of
trying to learn how to program and modify the i/o ports


mark
14  Forum 2005-2010 (read only) / Development / Re: Arduino Mega with ATmega2560 on: April 23, 2010, 05:35:16 pm
yes thanks it works now

15  Forum 2005-2010 (read only) / Development / Re: Arduino Mega with ATmega2560 on: April 22, 2010, 02:17:48 pm
hi all

just getting into the mega now

i cant get the mega 2560 to work
its says

avrdude: Expected signature for ATMEGA1280 is 1E 97 03
         Double check chip, or use -F to override this check.

any ideas?

devo
Pages: [1]