error in code please help

Discussion of the online video show SuperHouseTV, where Freetronics co-founder Jonathan Oxer hacks on his house using various Open Source hardware and software. [SuperHouseTV site]
Post Reply
Smartie91
Posts: 1
Joined: Tue Dec 22, 2015 10:03 am

error in code please help

Post by Smartie91 » Tue Dec 22, 2015 10:06 am

Hi Great forum

i have just compiled the sensor4toMQTT sketch but have this error has anyone got any ideas please

Code: Select all

Arduino: 1.6.7 (Windows 10), Board: "Arduino/Genuino Uno"

Sketch uses 32,968 bytes (102%) of program storage space. Maximum is 32,256 bytes.
Global variables use 2,129 bytes (103%) of dynamic memory, leaving -81 bytes for local variables. Maximum is 2,048 bytes.
processing.app.debug.RunnerException: Sketch too big; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing it.
	at cc.arduino.Compiler.size(Compiler.java:315)
	at cc.arduino.Compiler.build(Compiler.java:156)
	at processing.app.Sketch.build(Sketch.java:1108)
	at processing.app.Sketch.build(Sketch.java:1083)
	at processing.app.Editor$BuildHandler.run(Editor.java:2011)
	at java.lang.Thread.run(Thread.java:745)
Sketch too big; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing it.

  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.

andrew
Freetronics Staff
Freetronics Staff
Posts: 978
Joined: Sun Jul 14, 2013 7:06 am
Location: Melbourne, Australia
Contact:

Re: error in code please help

Post by andrew » Wed Dec 23, 2015 1:55 am

Your sketch is too large for the Uno, try a Mega or other board with more space.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest