i have read related topics but still can not sove problem
My arduino IDE is 1.8.19.
when i go to examples and compile the code it works without error but when i save file on my destop or any other location it give me error
here is the error message
Arduino: 1.8.19 (Windows 10), Board: "Arduino Uno"
5110_LCD.lnk:4:10: fatal error: fonts/Small_LCD_Fonts.h: No such file or directory
#include "fonts/Small_LCD_Fonts.h"
^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
fonts/Small_LCD_Fonts.h: No such file or directory
just by compiling example there is no error, when i do some changes in code it need to save the file some location, after i save the file and then compile at that time i get error
here you can see image code is 100% same one i directly run from Example and other i just save at different location. and after that during compiling i get error
See all those squares in the code. That is the forum software making a mess of it. This is why we ask all users to post code using code tags. You should have got a warning about this but chose to ignore it and "post anyway".
The "Save As" capability of Arduino IDE 1.8.19 does not support subfolders of sketches. It will only save the files from the root of the sketch folder:
You are very close, but you did not follow my instructions correctly. You copied the files from <sketchbook folder>\libraries\Nokia_5110_LCD_library\examples\Nokia_LCD_Font\fonts. You were supposed to copy the folder.
Hi man thank you so much, it was my first post on forum, your response is so good, like profesionals, thanks again.
my problem is solved here is the image.