Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
define.h
00001 #ifndef __DEFINE_H 00002 #define __DEFINE_H 00003 00004 /* 00005 SEGNALI THREAD 00006 */ 00007 #define ADXL355_SIGNAL 0x01 //Nuovi dati pronti 00008 /* 00009 SD CARD READER 00010 */ 00011 #define SDCARD_CS PC_8 00012 #define SDCARD_SCK PB_13 00013 #define SDCARD_MISO PB_14 00014 #define SDCARD_MOSI PB_15 00015 /* 00016 PIN DEBUG 00017 */ 00018 #define DBG_PIN PC_10 //VERDE 00019 #define DBG_PIN_2 PC_11 //BLU 00020 #define DBG_PIN_3 PC_12 //VIOLA 00021 #define DBG_PIN_4 PC_9 //GIALLO 00022 /* 00023 BUS SPI 00024 */ 00025 #define SPI_MISO PA_6 00026 #define SPI_MOSI PA_7 00027 #define SPI_SCK PA_5 00028 #define MAX_LENGTH_SPI_TRANSFER 50 00029 #define SPI_FREQUENCY_HZ 8000000 00030 /* 00031 ADXL355 00032 */ 00033 #define ADXL355_CS SPI_CS 00034 #define ADXL355_DRDY PC_7 00035 #define RECORD_NUMBER 30 //1 secondo @50Hz 00036 #define RECORD_SIZE 50 00037 /* 00038 PULSANTE 00039 */ 00040 #define USER_KEY_PIN PC_13 00041 /* 00042 LED 00043 */ 00044 #define STATUS_LED_PIN PA_9 00045 #endif
Generated on Thu Jul 14 2022 17:03:54 by
1.7.2