Go Down

Topic: Afficher variable sur LCD i2c (Read 3238 times) previous topic - next topic


Ce code ci se comiple et s'exécute sans problème chez moi

Code: [Select]
#include <stdlib.h>

float centigrade = 0;
char centigrade_str[12];

void setup()
centigrade = 123.456;
dtostrf(centigrade, 3, 3, centigrade_str);
Serial.println( centigrade_str );

void loop()                                                     

Quel IDE ? Je suis en 1.0
Barbuduino: Arduino sur Breadboard & VinciDuino: Clone Leonardo // WR703: Mini-routeur hacké // LauchPad MSP430 et Stellaris // Panda II Arduino-like .NetMF sous VisualC#
RTFC: Read That F.....g Code / RTFD: Read That F.....g Doc / RTFDS: Read That F.....g DataSheet / RTFS: Read That F.....g Schematic / Wot da ya wanna D.I.Y. today ?


Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131