Formula Student Electronics & Software
The code for the embedded software
Loading...
Searching...
No Matches
write_data.h
Go to the documentation of this file.
1
#ifndef _WRITE_DATA_H_
2
#define _WRITE_DATA_H_
3
4
// =*= CONFIG =*=
5
// SPI pinout
6
#define PIN_SPI_CLK 45
7
#define PIN_SPI_MOSI 43
8
#define PIN_SPI_MISO 42
9
#define PIN_SD_CS 44
10
// If you have connected other SPI device then
11
// put here number of pin for disable its.
12
// Provide -1 if you don't have other devices.
13
#define PIN_OTHER_DEVICE_CS -1
14
// Change this value if you have problems with SD card
15
// Available values: SPI_QUARTER_SPEED //SPI_HALF_SPEED
16
// It is enum from SdFat
17
#define SD_CARD_SPEED SPI_FULL_SPEED
18
19
void
setup_csv
();
20
void
write
();
21
22
#endif
// WRITE_DATA_H
setup_csv
void setup_csv()
Definition
write_data.cpp:48
write
void write()
Definition
write_data.cpp:97
c3
test
old_test
write_data.h
Generated by
1.9.8