Home arrow Support arrow Forums

Luminary Micro Forums

abcdef

Fresh Boarder
Click here to see the profile of this user

2007/01/26 07:29

Using OLED driver on eval board

I started working with the Hello.c file and added code to copy bit images to the OLED using OSRAMImageDraw. This worked fine. Then I wanted to add more functionality, so I replaced the initialization section with the code from the demo program that comes loaded on the eval board. This code initialized the ADC, the UART, timers, etc...

I found that the display command using OSRAMImageDraw did not work. I removed sections until I isolated the problem to the initialization of timer A to trigger the ADC. Any idea why this is not working? I have not dug through all the code in the demo. It is setting the ADC to sample at 120 Hz, if I am reading it correctly. Does my code have to provide some response to this timer action?

Are there any real docs on the routines being used to drive the various I/O devices on the eval?

login or register to reply