Benutzer-Werkzeuge

Webseiten-Werkzeuge


arduino

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
arduino [2016/04/06 21:40]
dokuwikiadmin
arduino [2018/03/26 00:45]
karl [C++ new operator]
Zeile 18: Zeile 18:
   * add #include <Arduino.h>   * add #include <Arduino.h>
  
-Now you are ready to go!+Now you are ready to go! \\ 
 +If you want to open this project in Arduino IDE, rename the .cpp file back to .ino
  
  
  
-===== Sublime IDE =====+====== Sublime IDE ======
 https://sublime.wbond.net/packages/Arduino-like%20IDE https://sublime.wbond.net/packages/Arduino-like%20IDE
  
 This should be great, since it has the sublime autocompletion, which is really missing in the original Arduiono IDE.  This should be great, since it has the sublime autocompletion, which is really missing in the original Arduiono IDE. 
  
-===== ino/Arturo - The Command Line Interface =====+====== ino/Arturo - The Command Line Interface ======
 10.12.2014 10.12.2014
  
Zeile 184: Zeile 185:
 </code> </code>
  
-===== avrdude and AVR ISP mkII with USB on Linux =====+====== avrdude and AVR ISP mkII with USB on Linux ======
 unlike as decribed here, which is a bit more complicated unlike as decribed here, which is a bit more complicated
 http://stackoverflow.com/a/5414566 http://stackoverflow.com/a/5414566
Zeile 207: Zeile 208:
  
  
-===== Fuse Bit Calculator =====+====== Fuse Bit Calculator ======
 http://www.engbedded.com/fusecalc/ http://www.engbedded.com/fusecalc/
  
-===== avrdude =====+====== avrdude ======
 ==== Example Invocations ==== ==== Example Invocations ====
 http://www.nongnu.org/avrdude/user-manual/avrdude_6.html http://www.nongnu.org/avrdude/user-manual/avrdude_6.html
  
-===== Arduino and size optimization =====+====== Arduino and size optimization ======
   * http://blog.oscarliang.net/check-ram-memory-usage-arduino-optimization/    * http://blog.oscarliang.net/check-ram-memory-usage-arduino-optimization/ 
   * http://www.avrfreaks.net/forum/how-optimize-size   * http://www.avrfreaks.net/forum/how-optimize-size
Zeile 232: Zeile 233:
 Most useful is the placement operator for static allocated memory.  Most useful is the placement operator for static allocated memory. 
  
 +<code,c++>
 +#include <new> // very important, otherwise you get helpless compile errors!
 +#include "memorydispenser.h"
 +
 +#define m(x) new (MemoryDispenser::get(sizeof(x))) x
 +
 +
 +// usage example:
 +JobController job = m(JobController(2));
 +</code>
 +
 +{{tag>software english collection}}
arduino.txt · Zuletzt geändert: 2018/03/26 00:45 von karl