When I go to compile in MikroBasic for ARM I get the following errors.
68 438 Call signature does not match the function definition signature 'GPIO_Config' __Lib_TouchPanel_TFT.mpas
I have configured it for the following ports
Code: Select all
dim TFT_DataPort as word at GPIOB_ODR 'Uses Port B for tft data
TFT_RST as sbit at GPIOB_ODR.B8
TFT_RS as sbit at GPIOB_ODR.B12
TFT_CS as sbit at GPIOB_ODR.B15
TFT_RD as sbit at GPIOB_ODR.B10
TFT_WR as sbit at GPIOB_ODR.B11
TFT_BLED as sbit at GPIOB_ODR.B9
' Touch Panel module connections
dim DriveX_Left as sbit at GPIOA_ODR.B0 'ADC1_IN0
dim DriveX_Right as sbit at GPIOA_ODR.B2 '
dim DriveY_Up as sbit at GPIOA_ODR.B3
dim DriveY_Down as sbit at GPIOA_ODR.B1 'ADC1_IN1
Any help appreciated.
Cheers
Sean.