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
Nächste Überarbeitung Beide Seiten der Revision
arduino [2015/03/24 21:32]
karl [Error when moving host platform]
arduino [2016/04/06 21:40]
dokuwikiadmin
Zeile 1: Zeile 1:
 ====== Arduino ====== ====== Arduino ======
 10.12.2014 10.12.2014
 +
 +====== Eclipse Arduino IDE ======
 +4.4.2016
 +
 +https://www.youtube.com/watch?v=GZJ6UH_V_fg
 +
 +  * Download and extract Eclipse IDE for C/C++ Mars.2
 +  * Go to Help->Eclipse Marketplace
 +  * Install Arduino eclipse IDE V2
 +  * Install AVR Eclipse Plugin V2.3.4
 +  * Window -> Preferences -> Arduino: Point to your Arduino IDE installation (V1.6.5 recommended)
 +
 +===== New Project =====
 +  * Create a new Arduino Project
 +  * rename your .ino file into .cpp
 +  * add #include <Arduino.h>
 +
 +Now you are ready to go!
 +
 +
  
 ===== Sublime IDE ===== ===== Sublime IDE =====
Zeile 7: Zeile 27:
 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 - The Command Line Interface =====+===== ino/Arturo - The Command Line Interface =====
 10.12.2014 10.12.2014
  
Zeile 24: Zeile 44:
 Here is the documentation for it: \\ Here is the documentation for it: \\
 http://inotool.org/quickstart http://inotool.org/quickstart
 +
 +==== Update: ino forked into Arturo ====
 +since ino wasn't supported any more, a fork of the project named "Arturo" was created:
 +https://github.com/scottdarch/Arturo
 +
 +
  
 ==== ~/.inorc ==== ==== ~/.inorc ====
Zeile 188: Zeile 214:
 http://www.nongnu.org/avrdude/user-manual/avrdude_6.html http://www.nongnu.org/avrdude/user-manual/avrdude_6.html
  
 +===== Arduino and size optimization =====
 +  * http://blog.oscarliang.net/check-ram-memory-usage-arduino-optimization/ 
 +  * http://www.avrfreaks.net/forum/how-optimize-size
 +  * http://www.avrfreaks.net/forum/tut-c-gcc-and-progmem-attribute?name=PNphpBB2&file=viewtopic&t=38003
 +  * very interesting: PROGMEM and strings in flash with <code> PSTR("My String in flash")</code>  \\ access this string with <code> pgm_read_byte_near(str+i) </code>, where str is the pointer given by a PSTR()-expression. 
 +  * http://playground.arduino.cc/Main/CorruptArrayVariablesAndMemory
 +
 +====== Arduino IDE for the ESP8266 ======
 +https://github.com/esp8266/Arduino
 +
 +====== C++ new operator ======
 +Here is a great article about this topic. 
 +
 +http://arduino.land/FAQ/content/4/20/en/can-i-use-new-and-delete-with-arduino.html \\
 +http://www.cplusplus.com/reference/new/operator%20new/
 +
 +Most useful is the placement operator for static allocated memory. 
  
arduino.txt · Zuletzt geändert: 2018/03/26 00:45 von karl