4 votes

How to compile without adding the bootloader?

Seeing .bootloader section in size output doesn't mean it's really present. It just means the sum of all three is 4152 bytes. You can check the hex file if it contains large block of data at the ...
KIIV's user avatar
  • 4,742
2 votes

How to compile without adding the bootloader?

I strongly doubt the compiler adds the bootloader. What that message is probably trying to tell you is that the bootloader is being included in its assumed address space. There are various bootloaders,...
Nick Gammon's user avatar
  • 37.9k
2 votes

How to compile without adding the bootloader?

I found this question which shows that the bootloader's address space is 7800 to 7FF0. I also confirmed that by taking a look at atmega328p's bootloader hex file stored in /usr/share/arduino/hardware/...
php_nub_qq's user avatar
2 votes

Compilation error: 'Serial' does not name a type

In C & C++, executable statements must be within a function. Your third statement, Serial.begin(9600); is (or should be) executable but since it is outside any function, the compiler tried to ...
JRobert's user avatar
  • 15.1k
2 votes
Accepted

ATmega328 drop-in replacement with more flash memory

Is there a ATmega328 drop-in replacement with more flash memory? No Alternatively, is there a board that has the exact dimensions and pins as an Arduino UNO, but with more flash memory? Yes, but it'...
KIIV's user avatar
  • 4,742
2 votes

DHT20 and Oled display not working together

The basic problem I don't have this sensor kit. But am able to observe what you're describing with substitutes and stand-ins. There seem to be two things you can do. The basic problem is that the ...
timemage's user avatar
  • 4,990
2 votes

Arduino Uno, does a lower Aref voltage work well for measuring current? without increasing ADC integral non-linearity

If you used the 3.3 volt pin as external AREF a 1.5Ω resistor would drop 3V @ 2 Amps, 3V would produce an ADC value of 930 or 2.15mA per ADC count. If you use the 1.1V internal AREF, a 0.5Ω resistor ...
JC Allen's user avatar
1 vote

Why my pushbutton always reads LOW?

When you press the button, you short the bottom blue (GND) and the bottom red (+5V) lines. That will in the least serious case cause your Arduino to reset, but could also damage the button, burn a ...
PMF's user avatar
  • 1,261

Only top scored, non community-wiki answers of a minimum length are eligible