Hi, I've recently upgraded from a PI2 to a Pi4 and I cannot get my program working. At first I just swapped the SD card from the PI2 to PI4 and the program ran for a few seconds and then crashed. I later reinstalled PI os and upgraded the runtime/device(in codesys) to version 4. but my program won't compile and gives me the following error: [ERROR] raspberry pi peripherals, 4.0.0.0 (3s - smart software solutions gmbh): C0521: The library "raspberry pi peripherals, 4.0.0.0 (3s - smart software solutions...
Sometimes the sloppy solution is the only solution! Especially when it's for yourself and when look matters as much as functionality.
The file is located on the root folder on my pi You'll have to re-do it every time you download a new program. But it only takes a minute and once the program is done I don't plan on updating it so it works for me. Any re-download from codesys will break it and you'll have to re-do it. otherwise it'll stay there forever. Like I said I don't plan to keep updating my code so once it's final I'll download it to the pi, change the colors and leave it there forever so it should never break.
You'll have to re-do it every time you download a new program. But it only takes a minute and once the program is done I don't plan on updating it so it works for me.
Ok so I was able to do it. I edited the webvisu.js file with the find/replace function. The animation is still there but it's all black so it's impossible to see. Here are the colours I replaced "#F4F4F4" TO "#000000" "#a90018" TO "#000000" "#CD001C" TO "#000000" "#FFFFFF" TO "#000000" This solution might not work for everyone but since I've not used any white text/shape/lines etc I have not seen any issues.
Ok so I was able to do it. I edited the webvisu.js file with the find/replace function. The animation is still there but it's all black so it's impossible to see. Here are the colours I replaced "#F4F4F4" TO "#000000" "#a90018" TO "#000000" "#CD001C" TO "#000000" "#FFFFFF" TO "#000000" This solution might not work for everyone since but since I've not used any white text/button tooltip I have not seen any issues.
Not possible at all might be a bit harsh no? Changing the background to black should just be a color value in the htm or .js file and removing the animation maybe removing a few lines in the .js file? EDIT: Yep, that was it. See solution below.
Ok so I was able to do it. I edited the webvisu.js file with the find/replace function. Here are the colours I replaced "#F4F4F4" TO "#000000" "#a90018" TO "#000000" "#CD001C" TO "#000000" "#FFFFFF" TO "#000000" This solution might not work for everyone since but since I've not used any white text/button tooltip I have not seen any issues.