New answers tagged

0

Ahhhh... There is a more profound problem than these mentioned because the MEGA treats double precision declarations as floating point ( far less precision ). I was working with 1 CM GPS Location coordinates requiring double precision variables. It took a while for me to discover that ONLY the DUE compiles to a true double precision variable. The MEGA and ...


1

MCUFriend went through a number of revisions of the same 2.4" TFT shield over time. I guess it depended on what TFT screens they could get hold of cheapest at any given moment. I have two versions here, neither of which are the same as yours. Both have their own voltage regulator onboard for the 3.3V power (which yours doesn't). Both of them also have ...


0

The short answer is to beef up your power supply: Don't use small batteries or power supplies. For instance use D Size Cells instead of 9 Volt Cells. Or use a 3 Amp power supply instead of a 100mAmp power supply. The longer answer: Make sure you have mitigated any power problems. Like long or thin power lines. Long or thin wires have more resistance. ...


10

The Arduino framework does some initializing for you before going into setup() and loop(), for example configuring Timer0 correctly for millis(), delay() and siblings. This is done in the main() function, which then after the first initializing calls setup() and loop(). But the creation of globally defined objects (and thus the execution of their ...


Top 50 recent answers are included