//P2C Generated Platform.h file #ifndef _PLATFORM_H_ #define _PLATFORM_H_ enum { _clkfreq = 297000000}; #include "propeller2.h" //#include "stdio.h" #include "stdlib.h" #include "stdint.h" #include "stdbool.h" typedef struct __using("1080p_TileDriver_9b.spin2") VgaType; //RJA: Visual Studio will show an error here, but it's OK #define VGA1_BASEPIN 48 //I2C Bus Pins and Settings for I2CScan1 #define I2C1_SCLPIN (56) //I2C1_SCLPIN (56) #define I2C1_SDAPIN (57) //I2C1_SDAPIN (57) #define I2C1_SPEED 400 #define I2C1_PULLUP PU_3K3 #include "i2c.h" //I2C driver for P2 #include "GridEye.h" //GridEye driver Requires i2c.h and 1080p_TileDriver_9b.spin2 #endif /*_PLATFORM_H_*/ /* Nothing beyond this*/