Hallo. I'm having trouble compiling the LiquidCrystal library on a W806 board. Code below:
LiquidCrystal lcd(PB5, PB6, PB7, PB8, PB9, PB12);
void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(16, 2);
// Print a message to the LCD.
lcd.print("hello, world!");
}
void loop() {
// set the cursor to column 0, line 1
// (note: line 1 is the second row, since counting begins with 0):
lcd.setCursor(0, 1);
// print the number of seconds since reset:
lcd.print(millis() / 1000);
}
This is the error I get at compile time:
In file included from C:\Users\Robcio\AppData\Local\Temp\.arduinoIDE-unsaved202371-4072-u7yovo.zpxzp\HelloWorld\HelloWorld.ino:44:0:
C:\Users\Robcio\AppData\Local\Arduino15\libraries\LiquidCrystal\src/LiquidCrystal.h:4:22: fatal error: inttypes.h: No such file or directory
#include <inttypes.h>
^
compilation terminated.
exit status 1
Compilation error: exit status 1
No problem with Atmega, STM32 or Pico 2040 boards.
Please help.
Robert.
Thanks for info, but I think i tried that and got a different error. I'll try onece again.
Of course, I will describe everything on the forum, maybe it will be useful to someone.
Implements the RF amplifier driver project. Measurements of voltages, currents, temperature. I need the results to be on the LCD. The speed of measurements and simple mathematical calculations for the proper operation of protections is important.
Thank You. Robert