// initialize the library by associating any needed LCD interface pin
// with the arduino pin number it is connected to
const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
lcd.begin(16, 2);
Serial.println("Data & Time, Mesurement");
}
void loop() {
// put your main code here, to run repeatedly:
while(Serial.available()==0);
char val = Serial.read();
Serial.write(val);
lcd.write(val);
can i send large amount of data upto 10kb usnig this code?? #define SERIAL_BUFFER_SIZE 256 #include <LiquidCrystal.h>
// initialize the library by associating any needed LCD interface pin
// with the arduino pin number it is connected to
const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
lcd.begin(16, 2);
Serial.println("Data & Time, Mesurement");
}
void loop() {
// put your main code here, to run repeatedly:
while(Serial.available()==0);
char val = Serial.read();
Serial.write(val);
lcd.write(val);
If it’s static data, you’re limited by the amount of FLASH, if it’s stored in variables - you’re limited by RAM…
if it’s generated programmatically, or off chip (SD card etc, or network), effectively no limit.
@kd2000
Topic locked, you don't seem to be properly engaging with the advice given or providing much information for people to help you with. Please read the forum instructions shown to you in reply #10