I had made a program using Visual Micro and here my sketch compiled without error. But in Arduino IDE 2.0 I get a lot of compiler error about stray characters. First I might point out that I have read previous threads about that and they did not help me. I upload my code.
The first lines of output reads
C:\Users\Jan Work\OneDrive\Dokument\Arduino\MegaDisplayStation\DataReader.ino:1:1: error: stray '\357' in program
#include "UserFunctions.h"
^
It seem to point at the # token ?! It's a valid character and there are no token before it. I surely can't see where any stray characters could be. Why not implementing an editor feature that can display them ? Btw what is \357 ?
DataReader.ino (1.3 KB)
MegaDisplayStation.ino (10.0 KB)
RtcClock.ino (3.4 KB)
TFTDisplay.ino (11.4 KB)
UserFunctions.h (1.6 KB)