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
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. Sketch too big; see for tips on reducing it.
	at cc.arduino.Compiler.size(
Sketch too big; see for tips on reducing it.

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

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

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