Modified Bob Stone's code for ILI9341 QVGA TFT's without touch capability. Navigation is now done with rotary encoders - two for position, & one setting the maxiterations.
Dependencies: SPI_TFT_ILI9341 TFT_fonts mbed
Fork of Mandelbrot by
Should have mentioned in the above: Encoder code is specific to the STM32F4, tested on Nucleo F401, should work on the Nucleo F411..
Encoder/Encoder.h@3:267e7130007d, 2015-01-22 (annotated)
- Committer:
- gregeric
- Date:
- Thu Jan 22 10:01:49 2015 +0000
- Revision:
- 3:267e7130007d
- Parent:
- 2:b1169b84a563
Increase debounce time, shown necessary after round of testing.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
gregeric | 2:b1169b84a563 | 1 | #ifndef ENCODER_H |
gregeric | 2:b1169b84a563 | 2 | #define ENCODER_H |
gregeric | 2:b1169b84a563 | 3 | |
gregeric | 2:b1169b84a563 | 4 | void EncoderInit(TIM_Encoder_InitTypeDef encoder, TIM_HandleTypeDef timer, TIM_TypeDef *TIMx, uint32_t maxcount, uint32_t encmode); |
gregeric | 2:b1169b84a563 | 5 | |
gregeric | 2:b1169b84a563 | 6 | #endif |