Notifications
Clear all

Compile Error Arduino IDE

5 Posts
3 Users
0 Likes
372 Views
ronpenrose
(@ronpenrose)
Member
Joined: 1 year ago
Posts: 25
Topic starter  

Ron Penrose


   
Quote
Will
 Will
(@will)
Member
Joined: 3 years ago
Posts: 2531
 

@ronpenrose

I just tried compiling that code in IDE2 for the UNO and got ...

Sketch uses 19890 bytes (61%) of program storage space. Maximum is 32256 bytes.
Global variables use 515 bytes (25%) of dynamic memory, leaving 1533 bytes for local variables. Maximum is 2048 bytes.

In other words, it compiled fine on my system.

Check your includes and libraries, that's the most likely problem area.

Anything seems possible when you don't know what you're talking about.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6971
 

@ronpenrose Check your boards version, and check your libraries version. If you don't know how to do either, let me know.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6971
 

@ronpenrose I get the same error IF I have board esp32 selected, it compiles fine for UNO

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
ronpenrose
(@ronpenrose)
Member
Joined: 1 year ago
Posts: 25
Topic starter  

Thanks everyone for the feedback I have not had opportunity to check but I believe I was trying to compile under ESP8266 instead of Uno. The light came on with @Ron reply. 😆 . I should be using the Uno!

Once I check I will post a reply. Thanks again.

Ron Penrose


   
ReplyQuote