Where is reg52.h
I am using the OLED examples to work with the US2066 display and there is an include for the reg52.h file in the C examples. I can not find that header file. Would someone know where to find it? I am using a raspberry pi Zero which has the Broadcom 2835 if that is important.
-
Hello Wmotter,
You can find the contents of reg52.h near the bottom of the example code article. This article was just updated a few minutes ago.
This file defines the registers for the associated microcontroller target this code was written for.
If you are using a Raspberry Pi to interface with one of our OLEDs, I would recommend looking at how GPIO manipulation is performed on the RPi platform. The RPi GPIO code samples wiki page would be a good place to start.
Best Regards,
Cody J.
0 -
Excellant. Thanks. The GPIO explanation really helped clear things up
0
Please sign in to leave a comment.
Comments
2 comments