Is there any way at all that I can tell how hard the screen is being pressed

You cannot get the pressure from the SDK nor undocumented methods. However you can detect the size of touch with undocumented methods. In the GSEvent, which is a lower-level representation of UIEvent, there is a structure known as GSPathInfo with members: typedef struct GSPathInfo { unsigned char pathIndex; // 0x0 = 0x5C unsigned char pathIdentity; … Read more

Best way to read from a sensor that doesn’t have interrupt pin and requires some time before the measurement is ready

How to do high-resolution, timestamp-based, non-blocking, single-threaded cooperative multi-tasking This isn’t a “how to read a sensor” problem, this is a “how to do non-blocking cooperative multi-tasking” problem. Assuming you are running bare-metal (no operating system, such as FreeRTOS), you have two good options. First, the datasheet shows you need to wait up to 9.04 … Read more