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.
Dependencies: mbed
Fork of Lab_6_WaG by
io_pins.h
00001 /****************************************************************************** 00002 * EECS 397 00003 * 00004 * Assignment Name: Lab 6: WaG 00005 * 00006 * Authors: Sam Morrison and Phong Nguyen 00007 * File name: io_pins.h 00008 * Purpose: Declare symbolic constants for each of I/O pins 00009 * 00010 * Created: 03/01/2018 00011 * Last Modified: 03/29/2018 00012 * 00013 ******************************************************************************/ 00014 #ifndef IO_PINS_H 00015 #define IO_PINS_H 00016 00017 //SPI 00018 #define MISO PA_6 00019 #define SCLK PA_5 00020 #define MOSI PA_7 00021 00022 //Laser 00023 #define LZR_ENABLE PB_5 00024 00025 //Stepper 00026 #define STP_HOME_SENSOR PE_11 00027 #define STP_DRV8806_NCS PA_15 00028 00029 //Display 00030 #define DSP_AS1107_NCS PC_7 00031 #define SPI_MOSI PA_7 00032 #define SPI_SCLK PA_5 00033 00034 //Analog 00035 #define MUX_S0 PC_6 00036 #define MUX_S1 PB_15 00037 #define MUX_S2 PB_13 00038 #define MUX_S3 PB_12 00039 #define MUX_OUT PB_1 00040 00041 //UI 00042 #define UI_CAL_BUTTON PG_9 00043 #define UI_START_BUTTON PG_14 00044 #define UI_STATION_SELECT PF_15 00045 #define UI_JOG_LEFT_BUTTON PE_13 00046 #define UI_JOG_RIGHT_BUTTON PF_14 00047 00048 #endif
Generated on Mon Jul 18 2022 00:36:30 by
