Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <LiquidCrystal.h>
- #include <SPI.h>
- #include <SD.h>
- #include <Wire.h>
- #include <ds3231.h>
- #include <rtc_ds3231.h>
- #include <StandardCplusplus.h>
- #include <vector>
- #include <ArduinoJson\ArduinoJson.h>
- using namespace std;
- LiquidCrystal lcd(8, 9, 4, 5, 6, 7);
- File myFile;
- const int chipSelect = 4;
- char* cropName;
- void setup()
- {
- SD.begin(53);
- lcd.begin(16, 2);
- Serial.begin(9600);
- //If there is no folder for this crop
- SD.mkdir("newcrop");
- SD.open("newcrop");
- lcd.print(cropName);
- }
- void loop()
- {
- /* add main program code here */
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement