シーケンサーのデータをSPIで送るテスト。UART出力停止
Dependencies: Sequence mbed-rtos mbed Amp Envelope FilterController
Fork of SpiSequencerSender_Test by
Diff: main.cpp
- Revision:
- 1:a9cbde6ba5a5
- Parent:
- 0:21e39bc75e31
- Child:
- 2:1cad4b1dc3b7
diff -r 21e39bc75e31 -r a9cbde6ba5a5 main.cpp --- a/main.cpp Mon May 30 19:04:42 2016 +0000 +++ b/main.cpp Tue May 31 00:00:37 2016 +0000 @@ -4,13 +4,13 @@ #define SEQUENCE_N 16 -#define SPI_RATE (8000000) +#define SPI_RATE (1000000) #define SPI_WAIT (wait_us(1)) #define DCO_PACKET_HEADER (0x55) #define DCO_WAVE_FORM (0x00) #define DCO_PULSE_WIDTH (0x80) -#define DBG_TRACE 0 +#define DBG_TRACE 1 class SpiSequenceSender : public SequenceSender { public: