definition of type bit for arduino

I need to tranfer a code for a tft made for C51 to arduino.In the code there is the type bit that is used for the spi and the iic protocol. bit tho is not defind for the arduino is there any solution?i give the code

[

There is no data type possible for a bit, I guess because you can't take the address of a bit.

So the only way is to write the i2c communication with the RA8875 from the beginning i suppose and not to steal it from the demo that they give

There are "bitfields". Given that this is some wierd language, the bit type may be the least of your problems.

I am not exactly following what you are saying, if you can anylise it a bit it would be wonderful

If you could cut down your 190kByte download that would be wonderful

Did you mean to delete the upload of the cpp file of the code i shared before? This is done but i do not know why this was a problem?