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.
PlatformGPIO.h
00001 // interface for SPI implemented with mbed framework 00002 00003 #ifndef __PlatformGPIO__ 00004 #define __PlatformGPIO__ 00005 00006 #include "mbed.h" 00007 00008 #define pinMode(x,y) 00009 00010 00011 #define SD_SS PA_3 00012 #define BOARD_ADS PA_0 00013 #define DAISY_ADS PA_2 00014 #define LIS3DH_SS PC_5 00015 #define ADS_RST PA_1 00016 00017 #define LIS3DH_DRDY PB_10 00018 #define ADS_DRDY PC_3 00019 00020 void digitalWrite(int pin, unsigned char value); 00021 unsigned char digitalRead(int pin); 00022 void setIntEnable(int x); 00023 00024 #endif
Generated on Wed Jul 20 2022 12:01:51 by
1.7.2