arduino
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| arduino [2016/04/06 21:40] – dokuwikiadmin | arduino [2018/03/26 00:45] (aktuell) – [C++ new operator] karl | ||
|---|---|---|---|
| Zeile 18: | Zeile 18: | ||
| * add #include < | * add #include < | ||
| - | 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:// | https:// | ||
| This should be great, since it has the sublime autocompletion, | This should be great, since it has the sublime autocompletion, | ||
| - | ===== ino/Arturo - The Command Line Interface ===== | + | ====== ino/Arturo - The Command Line Interface |
| 10.12.2014 | 10.12.2014 | ||
| Zeile 184: | Zeile 185: | ||
| </ | </ | ||
| - | ===== 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:// | http:// | ||
| Zeile 207: | Zeile 208: | ||
| - | ===== Fuse Bit Calculator ===== | + | ====== Fuse Bit Calculator |
| http:// | http:// | ||
| - | ===== avrdude ===== | + | ====== avrdude |
| ==== Example Invocations ==== | ==== Example Invocations ==== | ||
| http:// | http:// | ||
| - | ===== Arduino and size optimization ===== | + | ====== Arduino and size optimization |
| * http:// | * http:// | ||
| * http:// | * http:// | ||
| Zeile 232: | Zeile 233: | ||
| Most useful is the placement operator for static allocated memory. | Most useful is the placement operator for static allocated memory. | ||
| + | < | ||
| + | #include <new> // very important, otherwise you get helpless compile errors! | ||
| + | #include " | ||
| + | |||
| + | #define m(x) new (MemoryDispenser:: | ||
| + | |||
| + | |||
| + | // usage example: | ||
| + | JobController job = m(JobController(2)); | ||
| + | </ | ||
| + | |||
| + | {{tag> | ||
arduino.1459971641.txt.gz · Zuletzt geändert: von dokuwikiadmin
