H Bob, belated merry Christmas.
When you get a chance later in the New Year can you have a look over an error log trying to update v 338.
I get error messages when compiling the Arduino. Version 336 works fine but this does not compile with the same settings with a Nano.
Attached is the Arduino log
Error while detecting libraries included by C:\Program Files (x86)\Arduino\libraries\NewLiquidCrystal\LCD.cpp
Error while detecting libraries included by C:\Program Files (x86)\Arduino\libraries\NewLiquidCrystal\LiquidCrystal.cpp
Error while detecting libraries included by C:\Program Files (x86)\Arduino\libraries\NewLiquidCrystal\LiquidCrystal_I2C.cpp
Error while detecting libraries included by C:\Program Files (x86)\Arduino\libraries\NewLiquidCrystal\LiquidCrystal_I2C_ByVac.cpp
Error while detecting libraries included by C:\Program Files (x86)\Arduino\libraries\NewLiquidCrystal\LiquidCrystal_SI2C.cpp
Error while detecting libraries included by C:\Program Files (x86)\Arduino\libraries\NewLiquidCrystal\LiquidCrystal_SR.cpp
Error while detecting libraries included by C:\Program Files (x86)\Arduino\libraries\NewLiquidCrystal\LiquidCrystal_SR1W.cpp
Error while detecting libraries included by C:\Program Files (x86)\Arduino\libraries\NewLiquidCrystal\LiquidCrystal_SR2W.cpp
NewLiquidCrystal library is the issue. Use Library Manager to find the version number. When it was updated like 9months ago it got broken. I think the fix at the time was to delete the _ in front of the MODE keyword in the file
C:\Program Files (x86)\Arduino\libraries\NewLiquidCrystal/LCD.h
I think the library is also part of the firmware in the extracted zip folder Libraries_To_Install
I see that the Internt link is broken and the github copy has not been updated in years.
So you have two solutions
1. delete the _ and recompile
2. delete the existing library for NewLiquidCrystal and install the library from Libraries_To_Install
Regards
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Robert I have tried out both solutions by Deleting the u the version from underscore (If I have correctly understood this solution which did not compile the nano
There fore I deleted out the existing library for NewLiquidCrystal and installed from Libraries_To_Install as solution2.
This again does not compile and I have copied the error log attached. I have already looked in other displays that looked for the_ MODE to no avail
Error log is attached if you can advise
Thanks Charles Clark
Suggestion1
In file included from C:\Program Files (x86)\Arduino\libraries\myFP2_DRV8825_338\display.h:21:0,
from C:\Program Files (x86)\Arduino\libraries\myFP2_DRV8825_338\myFP2_DRV8825_338.ino:67:
**You really should not have the firmware sitting in that path. **
Reason: Anything in folder libraries is meant to be a library. The firmware is not a library. Best to place firmware some other place.
I would recommend you place the firmware folder into your documents folder.
Move the folder myFP2_DRV8825_338 out of Arduino\libraries into documents
Suggestion2
Is there a reason why you are running an outdated Arduino IDE?
Arduino: 1.8.18
Suggestion3
All the errors relate to the NewLiquidCrystal library.
To resolve.
Exit all running programs like Arduino
Use an explorer window to navigate to this folder
C:\Program Files (x86)\Arduino\libraries
Select the sub-folder NewLiquidCrystal
Delete the NewLiquidCrystal folder.
Download the attached zip file.
Extract the zip file.
There will be a folder named
Newliquidcrystal_1.3.5
Right mouse click and copy
Navigate back to C:\Program Files (x86)\Arduino\libraries
Click Paste
I had previously tried myFP2_DRV8825_338 in a download file and moved that into desperation thinking to move it into libraries but it gave the previous error.
However when you advised that I had an older version of Arduino: 1.8.16 I deleted it and installed Arduino: 1.8.18 together with the updated version you sent me for NewliquidCrystal
I have made some progress compiling it with no display. When I include LCD1602 but it will not compile. The error message looks for TwoWire in the error. I may have updated the display library but I cannot find out how to correct it unless it is buried in NewLiquidCrystal.
I would be grateful if you have a look at the error log to see if I have done something stupid
Hi Robert thanks for you prompt response
On a previous I thought that the update 0f Arduino IDE was to bethe correct version to use with 1.8.8 and updated the Newcrystal version you sent me. Ithought I had the latest version of OneWire updated with Library Manage
I now have installed Arduino IDE 2.3.4 and updated OneWire version of 2.3.8
I have to say I struggled a bit with the new version of Arduino 2.3.4 but have gone through it
My Arduino is a Nano which ran okay with a bootable version ATMega 328 Bootable with AVRisp MKii
I have tried different versions of Nano and programs but it fails to compile with lcd1602 display
but v 335 works okay.
I have only come in my mind that my Nano does not compile with this Arduino version.
I have attached my latest Arduino logfile if you have any thoughts with nano setup any thought?
and complies without error. Please zip up the firmware folder for myFP2_DRV8825_338 and send it to me please.
You stated it works with v335 with LCD1602 enabled right?
In the log file it has issues with OneWire, which is shipped with Arduino IDE. Yet, as u have said that when firmware 335 is compiled with LCD1602 enabled, the 335 firmware compiles clean, which surprises me a bot cause that would point to the OneWire and LCD libaries are fine.
Hence, please zip the entire folder and I will take a look
Regards
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Robert thanks for your patience. I used Aduino ide 1.8.16 when it was compiled and uploaded okay I had been using that because I understood it to stick with the version of Arduino IDE. I have updated v 1.8.18 trying FP2_DRV8825 which did not compile and I have recently updated with IDE 2.3.4
I have even enabled the 12C option to see if it made any to benefit it
OneWire and Newcrystal have as well been updated in the libraries
Attached as requested the zip file of v338
I hope I have not missed anything stupid by me missing something that is enabled by me or missing something that should be enabled
I have even enabled the 12C option to see if it made any to benefit it
I am not sure what the is or how you enabled it? The display requires it but there should not be a way to enable it as it should always be enabled.
I am flat out with the myFP2ESP8826 update which is not quite finished. I have not forgotten and I will slot some time this coming weekend to look at your issue in detail.
Something else I could do with - can you please zip your entire Arduino Libraries directory and post that also?
As for Arduino IDE version, yes the IDE was recommended to be 1.8.19 BUT that applied mostly to the ESP based projects. These have been ported to work with the Arduino IDE 2.3.4 release. myFP2 v338 specifies in the .ino file to use Arduino 2.x IDE/
Regards
Robert
Last edit: brownrb 2025-03-04
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Robert, thanks for your prompt reply. I have found that in my documents users folder are in Onedrive and there are two libraries for one reason I don't know one library is in Arduino folder and one in documents. I think they are both information in both libraries but I do not know if this causes a problem. may be one library is left when I uninstalled IDE 1.8.18
I have zipped up the Documents with both Libraries
Hope this gives you the information you requested
Hi Robert,
Since forwarding Arduino Libraries on Onedrive which I did not wish to use any Documents on it. I have also found Arduino Libraries on Documents on my hard drive. I do not know which Libray the Arduino IDE is using. I have copied OneWire onto the Document version of Onedrive onto the Hard drive of my laptop but it still fails to compile. I just wish Microsoft just updates and alters settings, which I am blaming for multi versions of libraries.
Regards Charles Clark
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
H Bob, belated merry Christmas.
When you get a chance later in the New Year can you have a look over an error log trying to update v 338.
I get error messages when compiling the Arduino. Version 336 works fine but this does not compile with the same settings with a Nano.
Attached is the Arduino log
Thanks in anticipation
Regards Charles Clark
Hi
First the error messages
Error while detecting libraries included by C:\Program Files (x86)\Arduino\libraries\NewLiquidCrystal\LCD.cpp
Error while detecting libraries included by C:\Program Files (x86)\Arduino\libraries\NewLiquidCrystal\LiquidCrystal.cpp
Error while detecting libraries included by C:\Program Files (x86)\Arduino\libraries\NewLiquidCrystal\LiquidCrystal_I2C.cpp
Error while detecting libraries included by C:\Program Files (x86)\Arduino\libraries\NewLiquidCrystal\LiquidCrystal_I2C_ByVac.cpp
Error while detecting libraries included by C:\Program Files (x86)\Arduino\libraries\NewLiquidCrystal\LiquidCrystal_SI2C.cpp
Error while detecting libraries included by C:\Program Files (x86)\Arduino\libraries\NewLiquidCrystal\LiquidCrystal_SR.cpp
Error while detecting libraries included by C:\Program Files (x86)\Arduino\libraries\NewLiquidCrystal\LiquidCrystal_SR1W.cpp
Error while detecting libraries included by C:\Program Files (x86)\Arduino\libraries\NewLiquidCrystal\LiquidCrystal_SR2W.cpp
Now the identified error(s)
NewLiquidCrystal library is the issue. Use Library Manager to find the version number. When it was updated like 9months ago it got broken. I think the fix at the time was to delete the _ in front of the MODE keyword in the file
C:\Program Files (x86)\Arduino\libraries\NewLiquidCrystal/LCD.h
I think the library is also part of the firmware in the extracted zip folder Libraries_To_Install
I see that the Internt link is broken and the github copy has not been updated in years.
So you have two solutions
1. delete the _ and recompile
2. delete the existing library for NewLiquidCrystal and install the library from Libraries_To_Install
Regards
Robert
Hi Robert I have tried out both solutions by Deleting the u the version from underscore (If I have correctly understood this solution which did not compile the nano
There fore I deleted out the existing library for NewLiquidCrystal and installed from Libraries_To_Install as solution2.
This again does not compile and I have copied the error log attached. I have already looked in other displays that looked for the_ MODE to no avail
Error log is attached if you can advise
Thanks Charles Clark
Hi Charles
Thanks for the logfile.
Suggestion1
In file included from C:\Program Files (x86)\Arduino\libraries\myFP2_DRV8825_338\display.h:21:0,
from C:\Program Files (x86)\Arduino\libraries\myFP2_DRV8825_338\myFP2_DRV8825_338.ino:67:
**You really should not have the firmware sitting in that path. **
Reason: Anything in folder libraries is meant to be a library. The firmware is not a library. Best to place firmware some other place.
I would recommend you place the firmware folder into your documents folder.
Move the folder myFP2_DRV8825_338 out of Arduino\libraries into documents
Suggestion2
Is there a reason why you are running an outdated Arduino IDE?
Arduino: 1.8.18
Suggestion3
All the errors relate to the NewLiquidCrystal library.
To resolve.
Exit all running programs like Arduino
Use an explorer window to navigate to this folder
C:\Program Files (x86)\Arduino\libraries
Select the sub-folder NewLiquidCrystal
Delete the NewLiquidCrystal folder.
Download the attached zip file.
Extract the zip file.
There will be a folder named
Newliquidcrystal_1.3.5
Right mouse click and copy
Navigate back to C:\Program Files (x86)\Arduino\libraries
Click Paste
Then it should be good to go
Regards
Robert
Hi Robert, thanks for your prompt response
I had previously tried myFP2_DRV8825_338 in a download file and moved that into desperation thinking to move it into libraries but it gave the previous error.
However when you advised that I had an older version of Arduino: 1.8.16 I deleted it and installed Arduino: 1.8.18 together with the updated version you sent me for NewliquidCrystal
I have made some progress compiling it with no display. When I include LCD1602 but it will not compile. The error message looks for TwoWire in the error. I may have updated the display library but I cannot find out how to correct it unless it is buried in NewLiquidCrystal.
I would be grateful if you have a look at the error log to see if I have done something stupid
Hi Charles
Why are you not using Arduino IDE 2.3.4?
OneWire
Your environment is using an older version 2.3.7
Delete OneWire library and then install the latest version 2.3.8
or use the Library Manager and update to the latest version
Library is found here
https://github.com/PaulStoffregen/OneWire
On the Arduino IDE, File Preferences, make sure to Set Compiler Warnings to
Default or None.
Regards
Hi Robert thanks for you prompt response
On a previous I thought that the update 0f Arduino IDE was to bethe correct version to use with 1.8.8 and updated the Newcrystal version you sent me. Ithought I had the latest version of OneWire updated with Library Manage
I now have installed Arduino IDE 2.3.4 and updated OneWire version of 2.3.8
I have to say I struggled a bit with the new version of Arduino 2.3.4 but have gone through it
My Arduino is a Nano which ran okay with a bootable version ATMega 328 Bootable with AVRisp MKii
I have tried different versions of Nano and programs but it fails to compile with lcd1602 display
but v 335 works okay.
I have only come in my mind that my Nano does not compile with this Arduino version.
I have attached my latest Arduino logfile if you have any thoughts with nano setup any thought?
Regards Charles Clark
Hi Charles
I have compared the log with my ownm using Arduino 2.3.4 IDE and firmware myFP2_DRV8825_338.
I have enabled
and complies without error. Please zip up the firmware folder for myFP2_DRV8825_338 and send it to me please.
You stated it works with v335 with LCD1602 enabled right?
In the log file it has issues with OneWire, which is shipped with Arduino IDE. Yet, as u have said that when firmware 335 is compiled with LCD1602 enabled, the 335 firmware compiles clean, which surprises me a bot cause that would point to the OneWire and LCD libaries are fine.
Hence, please zip the entire folder and I will take a look
Regards
Robert
Hi Robert thanks for your patience. I used Aduino ide 1.8.16 when it was compiled and uploaded okay I had been using that because I understood it to stick with the version of Arduino IDE. I have updated v 1.8.18 trying FP2_DRV8825 which did not compile and I have recently updated with IDE 2.3.4
I have even enabled the 12C option to see if it made any to benefit it
OneWire and Newcrystal have as well been updated in the libraries
Attached as requested the zip file of v338
I hope I have not missed anything stupid by me missing something that is enabled by me or missing something that should be enabled
Thanks for your help
Hi Charles
It looks like you edited one of the files
display.h
line 16-17-18
which looks like,
so the compiler tries to interpret those extra text comments as code, which they are not.
When I delete those three lines
and try a recompile I get a good result
Hi Robert, thanks for that deleting those lines allowed it to compile and i managed to upload it with the bootable Nano ATP mega328p (Old Bootable)
Many thanks for sorting that out for me
Regards Charles Clark
Thanks, I will take a look and let you what I find.
Hi Charles
You wrote
I am not sure what the is or how you enabled it? The display requires it but there should not be a way to enable it as it should always be enabled.
I am flat out with the myFP2ESP8826 update which is not quite finished. I have not forgotten and I will slot some time this coming weekend to look at your issue in detail.
Something else I could do with - can you please zip your entire Arduino Libraries directory and post that also?
As for Arduino IDE version, yes the IDE was recommended to be 1.8.19 BUT that applied mostly to the ESP based projects. These have been ported to work with the Arduino IDE 2.3.4 release. myFP2 v338 specifies in the .ino file to use Arduino 2.x IDE/
Regards
Robert
Last edit: brownrb 2025-03-04
Hi Robert, thanks for your prompt reply. I have found that in my documents users folder are in Onedrive and there are two libraries for one reason I don't know one library is in Arduino folder and one in documents. I think they are both information in both libraries but I do not know if this causes a problem. may be one library is left when I uninstalled IDE 1.8.18
I have zipped up the Documents with both Libraries
Hope this gives you the information you requested
Hi Robert,
Since forwarding Arduino Libraries on Onedrive which I did not wish to use any Documents on it. I have also found Arduino Libraries on Documents on my hard drive. I do not know which Libray the Arduino IDE is using. I have copied OneWire onto the Document version of Onedrive onto the Hard drive of my laptop but it still fails to compile. I just wish Microsoft just updates and alters settings, which I am blaming for multi versions of libraries.
Regards Charles Clark