I hereby claim:
- I am jdieg0 on github.
- I am jdieg0 (https://keybase.io/jdieg0) on keybase.
- I have a public key ASD-sE-leO4ZXvUUER_dGADpq-AMHYDr5ML6zZiGTFOczgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #include <SD.h> | |
| const int CS = D8; | |
| const char FILENAME[] = "RANDOM.TXT"; | |
| unsigned long time; | |
| int randNumber; | |
| File myFile; |
| #include <SD.h> | |
| // Chip-Select-Pin für SPI definieren | |
| const int CS = D8; | |
| File myFile; | |
| void setup() { | |
| Serial.begin(9600); | |
| Serial.print("\r\nInitialisiere SD-Karte..."); |
| /* | |
| SD card test | |
| This example shows how use the utility libraries on which the' | |
| SD library is based in order to get info about your SD card. | |
| Very useful for testing a card when you're not sure whether its working or not. | |
| The circuit: | |
| * SD card attached to SPI bus as follows: | |
| ** MOSI - pin 11 on Arduino Uno/Duemilanove/Diecimila |
| #include <Wire.h> | |
| #include <Adafruit_Sensor.h> | |
| #include <Adafruit_BMP085_U.h> | |
| Adafruit_BMP085_Unified bmp = Adafruit_BMP085_Unified(10085); | |
| void setup() { | |
| // Serielle Kommunikation initialisieren | |
| Serial.begin(9600); | |
| Serial.println("\r\n\r\nDrucksensor BMP180\r\n"); |
| void setup() { | |
| // LED-Pin (D4 oder auch BUILTIN_LED) auf Ausgang setzen | |
| pinMode(BUILTIN_LED, OUTPUT); | |
| } | |
| void loop() { | |
| // Der LED-Pin muss auf LOW gesetzt werden, damit die LED leuchtet | |
| digitalWrite(BUILTIN_LED, LOW); | |
| // 100 ms warten | |
| delay(100); |
| // Die Setup-Funktion wird einmal zu Beginn des Programms ausgeführt | |
| void setup() { | |
| // Code für die Initialisierung | |
| } | |
| // Die Loop-Funktion wird immer und immer wieder ausgeführt | |
| void loop() { | |
| // Code | |
| } |
| /*************************************************************************** | |
| * * | |
| * This program is free software; you can redistribute it and/or modify * | |
| * it under the terms of the GNU General Public License as published by * | |
| * the Free Software Foundation; either version 2 of the License, or * | |
| * any later version. * | |
| ***************************************************************************/ | |
| #include "asuro.h" |