bosko lekovic
/
IO_board_K22
K22 processor
Diff: Pinovi.h
- Revision:
- 12:ea2256d6c725
- Parent:
- 11:f46528c56b8f
- Child:
- 14:b63e4664e2a8
--- a/Pinovi.h Tue Mar 30 17:05:48 2021 +0200 +++ b/Pinovi.h Sat Apr 24 17:41:16 2021 +0200 @@ -7,16 +7,29 @@ #define ZCOUT_TESTPIN PTE24 #define ZC_PIN PTC12 -#define IO_TELEGRAM_TAS_PIN PTB20 + #define IO_TEST PTC18 + +#define Led_mosi PTD2 +#define Led_miso PTD3 +#define Led_sclk PTD1 +#define Led_cs PTC4 + // C_spiled::C_spiled():C_spi( PTD2, PTD3, PTD1, PTC4)//, C_thread() +//C_spi( PinName mosi, PinName miso, PinName sclk, PinName pin_csdata ); + /* gpio pinovi spi komunikacije ili SPI_1*/ #define Mosi PTD6 #define Miso PTD7 #define SpiClock PTD5 #define SpiSel PTD4 +#define SpiSel_out PTB18 +#define IO_TELEGRAM_TAS_PIN PTB20 + + + #define PIN_OUT_1 PTC10 #define PIN_OUT_2 PTC11