/********* Pleasedontcode.com **********
Pleasedontcode thanks you for automatic code generation! Enjoy your code!
- Terms and Conditions:
You have a non-exclusive, revocable, worldwide, royalty-free license
for personal and commercial use. Attribution is optional; modifications
are allowed, but you're responsible for code maintenance. We're not
liable for any loss or damage. For full terms,
please visit pleasedontcode.com/termsandconditions.
- Project: Salut
- Source Code compiled for: Arduino Pro Mini 5V
- Source Code created on: 2023-12-06 14:06:38
- Source Code generated by: Samuel
********* Pleasedontcode.com **********/
/****** SYSTEM REQUIREMENTS *****/
/****** SYSTEM REQUIREMENT 1 *****/
/* Turn off light */
/****** END SYSTEM REQUIREMENTS *****/
/****** DEFINITION OF LIBRARIES *****/
#include
#include
#include
/****** FUNCTION PROTOTYPES *****/
void setup(void);
void loop(void);
/***** DEFINITION OF SPI PINS *****/
const uint8_t Dezz_SDCardModule_SPI_PIN_MOSI_D11 = 11; // Add semicolon at the end
const uint8_t Dezz_SDCardModule_SPI_PIN_MISO_D12 = 12; // Add semicolon at the end
const uint8_t Dezz_SDCardModule_SPI_PIN_SCLK_D13 = 13; // Add semicolon at the end
const uint8_t Dezz_SDCardModule_SPI_PIN_CS_D10 = 10; // Add semicolon at the end
/****** DEFINITION OF LIBRARIES CLASS INSTANCES*****/
SdFat sd;
File file;
void setup(void)
{
// put your setup code here, to run once:
pinMode(Dezz_SDCardModule_SPI_PIN_CS_D10, OUTPUT);
// start the SPI library:
SPI.begin();
}
void loop(void)
{
// put your main code here, to run repeatedly:
// Turn off the light
digitalWrite(Dezz_SDCardModule_SPI_PIN_CS_D10, LOW);
}