I'd like the double number 200.00 shown as 200.00 on my LCD screen.
For instance, when I pass just a number (int) like 40 to the LCD, it uses it as an ASCII code to show a character on the display.
Now I want to send a double to it and it should be displayed as a double.
#include <Wire.h>
void setup() {
Wire.begin(0x63);
}
double f;
void loop() {
f = 200.00;
Wire.beginTransmission(0x63);
Wire.write(byte(0x00));
Wire.write(4); //HIDE CURSOR
Wire.write(12); //CLEAR SCREEN
Wire.write(13); //CURSOR 2nd LINE
Wire.write("Frequenz: ");
Wire.write(f); //<- How to do this?
Wire.write("Hz");
Wire.endTransmission();
}