Go Down

Topic: Arduino DUE print with Serial Enabled 20x4 LCD (Read 550 times) previous topic - next topic


I have a Arduino DUE and I m trying to print on an Serial Enable 20x4 LCD from Sparkfun and its not working. Instead of printing correctly, the LCD will show some weird characters. Here is my code.

Thank you for your help

#include <SparkSoftLCD.h>

// LCD transmit pin
#define LCD_TX 2

// define lcd
SparkSoftLCD lcd = SparkSoftLCD(LCD_TX);

void setup() {

// setup lcd 
 pinMode(LCD_TX, OUTPUT);
 // hidden cursor

long tps_init;
long tps_fin;

void loop() {

   tps_init = 12345;
   tps_fin = 6789;



Is it the same characters every 10 seconds or different?
"The problem is in the code you didn't post."

Go Up