Color sensor reset at the end of calibration added. sensor id auto assignment was changed to be a fixed value assignment to avoid sensor id shift when some sensor is absent.
Dependencies: UniGraphic mbed vt100
edge_utils/edge_pin.h
- Committer:
- Rhyme
- Date:
- 2018-02-23
- Revision:
- 0:ce97f6d34336
File content as of revision 0:ce97f6d34336:
#ifndef _EDGE_PIN_H_ #define _EDGE_PIN_H_ #if defined (TARGET_KL25Z) #define PIN_INTR PTD4 #define PIN_ASR_RESET PTA13 #define PIN_SCK PTD1 #define PIN_MOSI PTD2 #define PIN_MISO PTD3 #define PIN_CS PTD0 /* ILI9341 */ #define PIN_CS_TFT PTC7 #define PIN_RESET_TFT PTC4 #define PIN_DC_TFT PTC0 #define PIN_BL_TFT PTC3 #define PIN_FRDM_LEDR PTB18 #define PIN_FRDM_LEDG PTB19 #define PIN_FRDM_LEDB PTD1 /* conflict with SCK orz */ /* on board I2C0 */ // #define PIN_I2C0_SCL PTE24 // #define PIN_I2C0_SDA PTE25 /* external I2C0 */ #define PIN_I2C0_SCL PTC8 #define PIN_I2C0_SDA PTC9 #define PIN_I2C1_SCL PTE1 #define PIN_I2C1_SDA PTE0 #define PIN_AN0 PTB0 #define PIN_AN1 PTB1 #define PIN_AN2 PTB2 #define PIN_LED_R PTA5 #define PIN_LED_G PTA4 #define PIN_LED_B PTA12 #define PIN_PRESS_EN PTC5 #endif /* TARGET_KL25Z */ #endif /* _EDGE_PIN_H_ */