Hi everybody
I have a problem.
I have an 18F4455 PIC
That PIC does not support PPS
How can I change this part of code In de ILI9341 sample for using in the 18F4455:
include pps
pps_control_lock(FALSE)
if !defined(ILI9341_SPI_SW) then
-- SPI 1 used by ili9341. Do not map when using ILI9341_SPI_SW.
RC3PPS = PPS_SCK1 -- SPI clock
RC5PPS = PPS_SDA1 -- SPI data in
RC4PPS = PPS_SDO1 -- SPI data out
end if
-- SPI 2 used by sd card.
RB1PPS = PPS_SCK2 -- SPI clock
RB2PPS = PPS_SDA2 -- SPI data in
RB3PPS = PPS_SDO2 -- SPI data out
-- Serial pins.
RC6PPS = PPS_TX -- TX1 re-assigned to C6 (default)
RXPPS = PPS_RC7 -- C7 re-assigned to RX1 (default)
pps_control_lock(TRUE)
Regards
Peter