9 years, 5 months ago.  This question has been closed. Reason: Unclear question

[RESOLVED] Cannot initialize ADC

RESOLVED:

Oh, no, my fault. I accidentially assigned one of the AIn Pins needed by the display to another AnalogIn.

Best,

Friedemann

-----------

Hi,

for me the calibration gets stuck in line 61 with the AnalogIn error "Cannot initialize ADC". What could be the reason?

NUCLEO-F334R8 Seeed 2.8" TFT Touch V2 just plugged onto the nucleo

SeeedStudioTFTv2 TFT(PIN_XP, PIN_XM, PIN_YP, PIN_YM, PIN_MOSI, PIN_MISO, PIN_SCLK, PIN_CS_TFT, PIN_DC_TFT, PIN_BL_TFT, PIN_CS_SD);

    define PIN_XP A3
    define PIN_XM A1
    define PIN_YP A2
    define PIN_YM A0
    define PIN_MOSI D11
    define PIN_MISO D12
    define PIN_SCLK D13
    define PIN_CS_TFT D5
    define PIN_DC_TFT D6
    define PIN_BL_TFT D7
    define PIN_CS_SD D4 

Sincerely,

Friedemann

Question relating to: