When I change the board to Arduino Block of Sparkfun

I was using a TFT screen with intel Edison in eclipse IoT and there’s no issue with it. And then I tried to connect the wires on the Arduino block of Sparkfun there are some errors like below:

Are you sure that pin9 you requested is valid on your platform? logout

And also I find that pin12 also doesn’t work.

I think the driver I’m using is ILI9341.h driver.

Is there someone knows the reason? Thanks

I know it’s because I’m using the function mraa_gpio_init and the value I got from this function is NULL when using pin9 and 12

If you posted pictures in your first post then it does not show. I see no errors.