Einstellungen

http://sites.prenninger.com/arduino-uno-r3/einstellungen

http://www.linksammlung.info/

http://www.schaltungen.at/

                                                                                             Wels, am 2015-05-10

BITTE nützen Sie doch rechts OBEN das Suchfeld  [                                                              ] [ Diese Site durchsuchen]

DIN A3 oder DIN A4 quer ausdrucken
**********************************************************************************
DIN A4  ausdrucken
*********************************************************

ARDUINO Sketch Liste
http://playground.arduino.cc/Main/SketchList
ARDUINO Tutorial
http://www.ladyada.net/learn/arduino/lesson1.html


Arduino-Board:                                            ARDUINO UNO Rev.3 (früher Duemilanove und Diecimilia)

Arduino-Plattform ab 2010.12.24:                 ARDUINO-IDE 0022
Arduino-Plattform ab 2011.11.30:                 ARDUINO-IDE 1.0
Arduino-Plattform ab 2014.09.16: Classic ARDUINO-IDE 1.0.6  (für AVR-Prozessoren)
Arduino-Plattform ab 2015.05.06:             ARDUINO-IDE 1.6.4  (für AVR & ARM-ProzessorArchitektur  für Due, Leonardo, Yun)
http://www.arduino.cc/en/Main/ReleaseNotes


       ARDUINO-IDE Voreinstellungen ändern


MENU > Datei > Einstellungen


ARDUINO-IDE Standardeinstellungen 
# Documents and Settings > [username] > Application Data >
C:\Programme (x86)\Arduino\lib\preferences.txt  NICHT bearbeiten ! ! !
C:\User\fritz\AppData\Roaming\Arduino\preferences.txt  Diese Datei von diesem ORDNER kann bearbeitet werden


Arduino IDE keywords

http://acsweb.ucsd.edu/~sbliven/2012/01/arduino-ide-keywords/
Schlüsselwort-Datei für Farbmarkierungen

C:\Program Files (x86)\Arduino\lib\keywords.txt

Objekte und Typen durch Tabulatoren  getrennt ! ! !

Klassennamen, Datentypen und C ++ Stichworte  haben den      Typ   KEYWORD1  (diese werden rot fett angezeigt)
Methoden und Funktionen haben den Typ   KEYWORD2
(diese werden orange / hellrot angezeigt)
Setup und Loop-Funktionen, sowie Serial haben den Typ   KEYWORD3 (diese werden Blau angezeigt)

Konstanten haben den Typ   LITERAL1         
(unbenutzt in der Standardeinstellung)
Built-in Variablen haben den Typ   LITERAL2  (diese werden Cyan angezeigt)

#FUNCTIONS COLOR #D35400 - ORANGE keyword1
#FUNCTIONS COLOR #D35400 - ORANGE keyword2
#STRUCTURE FARBEN #5E6D03 - GREEN Begriff3
#VARIABLES COLOR #0000FF - Blau LITERAL1

#ERROR COLOR # A61717 - RED
#Kommentare // COLOR # FF00FF - Magenta
#Kommentare / *   * / COLOR # 434F54 - DARK GREY


# TEXT - KEYWORDS
editor.keyword1.style = #cc6600,plain (rot = R204, G102, B000)                NEU #d35400,bold  (RGB  211, 84, 0)
editor.keyword2.style = #993300,plain (rot dunkel = R153, G051, B000)      NEU #cc0000,plain (ROT = R211, G084, B000)
editor.keyword3.style = #993300,bold  (rot dunkel = R153, G051, B000)     NEU #336600,plain (GRÜN = R211, G084, B000)

# TEXT - LITERALS

editor.literal1.style = #006699,plain  (BLAU dunkel = R000, G102, B153)     NEU #0000FF,plain (BLAU dunkel = R000, G000, B255)
editor.literal2.style = #0099cc,plain  (blau hell = R000, G153, B204)            NEU #339999,bold (CYAN = R000, G255, B255)

# TEXT - COMMENTS
editor.comment1.style = #FF00FF,plain
editor.comment2.style = #95a5a6,plain
                                                   NEU #999999,plain (mittelgrau)

WEISS        #000000,plain (weiß       RGB 0, 0, 0)
SCHWARZ #FFFFFF,plain (schwarz  RGB 255, 255, 255)

http://www.farb-tabelle.de/de/farbtabelle.htm
http://www.farbtabelle.at/farben-umrechnen/

In je einer Zeile kommt immer ein Schlüsselwort gefolgt von einer Kategorie.
Schlüsselwort und Kategorie müssen genau mit einem Tabulator voneinander getrennt sein.
Beispiel einer keywords.txt:
setTime KEYWORD2

Arduino IDE keywords

http://acsweb.ucsd.edu/~sbliven/2012/01/arduino-ide-keywords/

http://oberguru.net/elektronik/arduino-keywords.txt.html

Sketch-Farbmarkierungen
C:\Programme (x86)\Arduino\lib\theme\theme.txt
https://github.com/arduino/Arduino/blob/master/build/shared/lib/theme/theme.txt
https://github.com/arduino/Arduino/blob/master/build/shared/lib/theme/theme.txt
https://android.googlesource.com/platform/external/arduino-ide/+/f876b2abdebd02acfa4ba21e607327be4f9668d4/build/shared/lib/theme/theme.txt

https://code.google.com/p/arduino/source/browse/trunk/build/shared/lib/theme/theme.txt?r=959
https://cells-source.cs.columbia.edu/plugins/gitiles/platform/external/arduino-ide/+/f876b2abdebd02acfa4ba21e607327be4f9668d4/build/shared/lib/theme/theme.txt



/* InputDevices / Ultrasonic / Simple / Simple.ino */

const unsigned int PING_SENSOR_IO_PIN = 7;
const unsigned int BAUD_RATE = 9600; // Serial-Monitor

void setup() {
  Serial.begin(BAUD_RATE);
}

void loop() {
  pinMode(PING_SENSOR_IO_PIN, OUTPUT);
  digitalWrite(PING_SENSOR_IO_PIN, LOW);
  delayMicroseconds(2);

  digitalWrite(PING_SENSOR_IO_PIN, HIGH);
  delayMicroseconds(5);
  digitalWrite(PING_SENSOR_IO_PIN, LOW);

  pinMode(PING_SENSOR_IO_PIN, INPUT);
  const unsigned long duration = pulseIn(PING_SENSOR_IO_PIN, HIGH);
  if (duration == 0) {
    Serial.println("Warning: We did not get a pulse from sensor.");
  } else {
    Serial.print("Distance to nearest object: ");
    Serial.print(microseconds_to_cm(duration));
    Serial.println(" cm");
  }

  delay(100);
}

unsigned long microseconds_to_cm(const unsigned long microseconds) {
  return microseconds / 29 / 2;
}


Typische ARDUINO-Bibliothek

C:\Programme (x86)\Arduino\libraries\Wire\Wire.h
                                                               Wire.cp
                                                               keywords.txt



Hintergrundinformationen und viele Standard-Lizenzen.
http://www.opensource.org
http//github.com
https//code.google.com



*********************************************************
                              theme_fritz.txt                  ALT
                              theme_fritz_1a.txt    NEU
#C:\Programme (x86)\Arduino\lib\theme\theme.txt (v1.6.4  2015-05-06)


#FUNCTIONS COLOR  #FF0000 - ROT fett KEYWORD1
#FUNCTIONS COLOR #d35400 - ORANGE / rot KEYWORD2 #STRUCTURE COLOR  #38761d - GREEN fett KEYWORD3 #VARIABLES COLOR  #006699 - BLUE LITERAL2 #ERROR COLOR #a61717 - RED     error.color #COMMENTS // COLOR #95a5a6 - LIGHT GREY comment1 #COMMENTS /**/ COLOR #434F54 - DARK GREY comment2 # plain=normal, fg=Vordergund, bg=background # GUI - STATUS status.notice.fgcolor = #002325 status.notice.bgcolor = #17a1a5 status.error.fgcolor = #FFFFFF status.error.bgcolor = #e34c00 status.edit.fgcolor = #000000 status.edit.bgcolor = #F1b500 status.font = SansSerif,plain,12 # GUI - TABS # Einstellungen für Registerkarten oben # (Registerkarten Bilder werden in dem lib\theme ORDNER gespeichert) header.bgcolor = #17a1a5 header.text.selected.color = #005b5b header.text.unselected.color = #007e82 header.text.font = SansSerif,plain,12 # GUI - CONSOLE console.font = Monospaced,plain,11 console.font.macosx = Monaco,plain,10 console.color = #000000 console.output.color = #eeeeee console.error.color = #e34c00 # GUI - BUTTONS buttons.bgcolor = #006468 buttons.status.font = SansSerif,plain,12 buttons.status.color = #FFFFFF # GUI - LINESTATUS    linestatus.color = #FFFFFF linestatus.bgcolor = #006468 # EDITOR - DETAILS   (weiß, schwarz) # Vordergrund- und Hintergrund-Farben editor.fgcolor = #000000 editor.bgcolor = #FFFFFF # Markieren Sie für die aktuelle Zeile  (hellgrau) editor.linehighlight.color=#e2e2e2 editor.linehighlight=true # Einfügemarke blinkt und Einfügemarke Farbe  (schwarz) editor.caret.color = #333300 # Farbe wird für den Hintergrund verwendet, wenn "externer Editor" aktiviert editor.external.bgcolor = #c8d2dc # Auswahl Farbe editor.selection.color = #FFcc00 # area that's not in use by the text - replaced with tildes (dunkelgrau fett) editor.invalid.style = #7e7e7e,bold # little pooties at the end of lines that show where they finish (dunkelgrau) editor.eolmarkers = false editor.eolmarkers.color = #999999 # Klammern/Klammern hervorheben (dunkelcyan) editor.brackethighlight = true editor.brackethighlight.color = #006699 # TEXT - KEYWORDS Sketche # FUNCTIONS z.B. Serial, Keyboard, Mouse (rot fett) oder RGB(255,0,0) editor.keyword1.style = #FF0000,bold

# METHODS z.B. analogRead, log, map, delay (orange / hellrot) oder RGB(204,0,0) editor.keyword2.style = #d35400,plain # STRUCTURES z.B. setup, loop, return, (dunkelgrün fett) oder RGB(56,118,29) editor.keyword3.style = #38761d,bold # TEXT - LITERALS Sketche # CONSTANTS & DATATYPES  editor.literal1.style = #006699,plain # p5 built in variables: z.B. null, true, TWO_PI (hellblau) oder RGB(11,83,148) editor.literal2.style = #006699,plain # http://arduino.cc/ (blau unterstrichen) editor.url.style = #0000FF,underlined # z.B. + - = /  (rot) editor.operator.style = #434F54,plain # ?? vielleicht ist das für Worte, gefolgt von einem Doppelpunkt (dunkgrau fett) # like in case statements or goto editor.label.style = #7e7e7e,bold # TEXT - COMMENTS (hellgrau RGB(153,153,153) - dunkelgrau RGB(68,68,68)) editor.comment1.style = #434F54,plain editor.comment2.style = #95a5a6,plain # LINE STATUS - Editor Zeilennummer Statusleiste am unteren Rand des Bildschirms  linestatus.font    = SansSerif,plain,10 linestatus.height  = 20
*********************************************************
                           keywords_fritz_1a.txt

#C:\Programmme (x86)\Arduino\lib\keywords.txt  (v1.6.4 2015-05-06)


#FUNCTIONS COLOR 			#FF0000 - ROT fett		KEYWORD1
#FUNCTIONS COLOR			#D35400 - ORANGE / hellrot	KEYWORD2
#STRUCTURE COLOR  			#38761d - GREEN	fett		KEYWORD3
#VARIABLES COLOR 			#006699 - BLUE			LITERAL2


# LITERAL2 Variables  (blau) # Konstanten HIGH LITERAL2 Constants LOW LITERAL2 Constants INPUT LITERAL2 Constants OUTPUT LITERAL2 Constants INPUT_PULLUP LITERAL2 Constants # LED_PULLUP true LITERAL2 false LITERAL2 Constants # integer constants # floating point constants # Data Types void LITERAL2 Void boolean LITERAL2 BooleanVariables boolean LITERAL2 boolean_ char LITERAL2 Char char LITERAL2 char_ # unsigned char byte LITERAL2 Byte byte LITERAL2 byte_ int LITERAL2 Int int LITERAL2 int_ unsigned LITERAL2 # unsigned integer word LITERAL2 word_ long LITERAL2 long_ long LITERAL2 Long # unsigned long short LITERAL2 float LITERAL2 float_ # double # string String LITERAL2 String # array DEC LITERAL2 Serial_Print BIN LITERAL2 Serial_Print HEX LITERAL2 Serial_Print OCT LITERAL2 Serial_Print PI LITERAL2 HALF_PI LITERAL2 TWO_PI LITERAL2 LSBFIRST LITERAL2 ShiftOut MSBFIRST LITERAL2 ShiftOut CHANGE LITERAL2 AttachInterrupt FALLING LITERAL2 AttachInterrupt RISING LITERAL2 AttachInterrupt DEFAULT LITERAL2 AnalogReference EXTERNAL LITERAL2 AnalogReference INTERNAL LITERAL2 AnalogReference INTERNAL1V1 LITERAL2 AnalogReference INTERNAL2V56 LITERAL2 AnalogReference const LITERAL2 Const float LITERAL2 Float null LITERAL2 new LITERAL2 private LITERAL2 protected LITERAL2 public LITERAL2 signed LITERAL2 static LITERAL2 Static # KEYWORD1 Functions  (rot fett) Serial KEYWORD1 Serial Serial1 KEYWORD1 Serial Serial2 KEYWORD1 Serial Serial3 KEYWORD1 Serial SerialUSB KEYWORD1 Serial Keyboard KEYWORD1 Mouse KEYWORD1 # KEYWORD2 Methods  (rot hell) # Digital I/O pinMode KEYWORD2 PinMode digitalWrite KEYWORD2 DigitalWrite digitalRead KEYWORD2 DigitalRead # Analog I/O analogReference KEYWORD2 AnalogReference analogRead KEYWORD2 AnalogRead analogWrite KEYWORD2 AnalogWrite # Advanced I/O tone KEYWORD2 Tone noTone KEYWORD2 NoTone shiftOut KEYWORD2 ShiftOut shiftIn KEYWORD2 ShiftIn pulseIn KEYWORD2 PulseIn # Time millis KEYWORD2 Millis micros KEYWORD2 Micros delay KEYWORD2 Delay delayMicroseconds KEYWORD2 DelayMicroseconds # Math min KEYWORD2 Min max KEYWORD2 Max abs KEYWORD2 Abs constrain KEYWORD2 Constrain map KEYWORD2 Map pow KEYWORD2 Pow sq KEYWORD2 Sq sqrt KEYWORD2 Sqrt exp KEYWORD2 Exp round KEYWORD2 log KEYWORD2 Log degrees KEYWORD2 floor KEYWORD2 Floor ceil KEYWORD2 Ceil # Trigometrie sin KEYWORD2 Sin cos KEYWORD2 Cos tan KEYWORD2 Tan acos KEYWORD2 ACos asin KEYWORD2 ASin atan KEYWORD2 ATan atan2 KEYWORD2 ATan2 radians KEYWORD2 # Random Numbers random KEYWORD2 Random randomSeed KEYWORD2 RandomSeed # bit and Byt lowByte KEYWORD2 LowByte highByte KEYWORD2 HighByte bitRead KEYWORD2 BitRead bitWrite KEYWORD2 BitWrite bitSet KEYWORD2 BitSet bitClear KEYWORD2 BitClear bit KEYWORD2 Bit # External Interrups attachInterrupt KEYWORD2 AttachInterrupt detachInterrupt KEYWORD2 DetachInterrupt # Interrups interrupts KEYWORD2 noInterrupts KEYWORD2 NoInterrupts yield KEYWORD2 Yield begin KEYWORD2 Serial_Begin end KEYWORD2 Serial_End peek KEYWORD2 Serial_Peek read KEYWORD2 Serial_Read print KEYWORD2 Serial_Print println KEYWORD2 Serial_Println available KEYWORD2 Serial_Available availableForWrite KEYWORD2 flush KEYWORD2 Serial_Flush setTimeout KEYWORD2 find KEYWORD2 findUntil KEYWORD2 parseInt KEYWORD2 parseFloat KEYWORD2 readBytes KEYWORD2 readBytesUntil KEYWORD2 readString KEYWORD2 readStringUntil KEYWORD2 trim KEYWORD2 toUpperCase KEYWORD2 toLowerCase KEYWORD2 charAt KEYWORD2 compareTo KEYWORD2 concat KEYWORD2 endsWith KEYWORD2 startsWith KEYWORD2 equals KEYWORD2 equalsIgnoreCase KEYWORD2 getBytes KEYWORD2 indexOf KEYWORD2 lastIndexOf KEYWORD2 length KEYWORD2 replace KEYWORD2 setCharAt KEYWORD2 substring KEYWORD2 toCharArray KEYWORD2 toInt KEYWORD2 press KEYWORD2 release KEYWORD2 releaseAll KEYWORD2 accept KEYWORD2 click KEYWORD2 move KEYWORD2 isPressed KEYWORD2 # KEYWORD3 Structure (dunkelgrün fett) setup KEYWORD3 Setup loop KEYWORD3 Loop # Kontroll Strukturen if KEYWORD3 If else KEYWORD3 Else for KEYWORD3 For case KEYWORD3 SwitchCase while KEYWORD3 While do KEYWORD3 DoWhile break KEYWORD3 Break continue KEYWORD3 Continue return KEYWORD3 Return goto KEYWORD3 Goto class KEYWORD3 default KEYWORD3 SwitchCase double KEYWORD3 Double register KEYWORD3 switch KEYWORD3 SwitchCase this KEYWORD3 throw KEYWORD3 try KEYWORD3 # Kontroll Strukturen # define # include # operators aren't highlighted, but may have documentation += IncrementCompound + Arithmetic [] arrayaccess = assign & BitwiseAnd | BitwiseAnd , // Comments ?: {} Braces -- Increment / Arithmetic /* Comments . dot == < greaterthan <= greaterthanorequalto ++ Increment != inequality << Bitshift < lessthan <= lessthanorequalto && Boolean ! Boolean || Boolean - Arithmetic % Modulo * Arithmetic () parentheses >> Bitshift ; SemiColon -= DecrementCompound
C++
Quelle: http://www.cplusplus.com/reference/cmath/floor/
        http://www.arduino.cc/en/Reference/HomePage



 

DIN A4 ausdrucken
*********************************************************

Impressum: Fritz Prenninger, Haidestr. 11A, A-4600 Wels, Ober-Österreich, mailto:schaltungen@schaltungen.at
ENDE








Comments