number instead of a letter (Integer)
hello everyone,
i new to arduino, not new programming, that´s why got confused.
i im trying run code, servomotor won´t move , lcd shows letters of given values (55 g,...). used ints being numbers. how can solve problem?
int , b between 0 - 10.
if use fixed value ( servomotor.write(45); ), motor runs properly.
degrees = * 10 + b;
lcd.setcursor(8,1);
lcd.write(degrees); //just testing
servomotor.write(degrees);
it awesome if me!

i new to arduino, not new programming, that´s why got confused.
i im trying run code, servomotor won´t move , lcd shows letters of given values (55 g,...). used ints being numbers. how can solve problem?
int , b between 0 - 10.
if use fixed value ( servomotor.write(45); ), motor runs properly.
degrees = * 10 + b;
lcd.setcursor(8,1);
lcd.write(degrees); //just testing
servomotor.write(degrees);
it awesome if me!

post code in code tags or you'll beat around here.
-jim lee
-jim lee
Arduino Forum > Using Arduino > Programming Questions > number instead of a letter (Integer)
arduino
Comments
Post a Comment