Programming help, Arduino GPS Speed

we are working on a discovery project concerning coding on arduino cards. We must acquire the GPS speed using a module and the TinyGPS ++ GPS library and thus display it on an I2C display to subsequently carry out a simulation on Proteus.
You will find attached a copy of our program (which obviously does not work :roll_eyes: ).

Thank you in advance for your answers and your indulgence towards our incompetence.

The SSI group, Lycée Charles de Gaulle, Muret, FRANCE :sunglasses:

Arduino Code :

#include <LiquidCrystal_I2C.h>
#include <Wire.h>
#include <TinyGPS++.h>
#include <liquidcrystal_I2C.h>
#include <SoftwareSerial.h>

static const int RXPin = 4, TXPin = 3;
static const uint32_t GPSBaud = 4800;

// The TinyGPS++ object
TinyGPSPlus gps;

// The serial connection to the GPS device
SoftwareSerial ss(RXPin, TXPin);

// set the LCD address to 0x27 for a 16 chars and 2 line display
LiquidCrystal_I2C lcd(0x27,20,4);

float vitesse; //crée la variable vitesse

void setup()

void loop()
while (ss.available() > 0)
if (gps.speed.isUpdated())
Serial.print(“VITESSE=”); Serial.println(gps.speed.kmph());
lcd.print("VITESSE ");lcd.print(vitesse);



"Does not work" is an insufficient description of the problem. Does the code compile? What does the code do that is not right?

Why include 2 liquid crystal libraries? And I am pretty sure that the liquidcrystal_I2C.h does not exist.

Read the forum guidelines to see how to properly post code.