Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: RE: CCS/MSP430F5438A: Run MSP430 User Experience Demo Code on MSP-EXP430F5438 Experimenter Board

$
0
0
Hi Alex, That sounds like either there is something off about the contrast like you mentioned, or the LCD hardware has a problem. The main menu text is like this: static const char menuText[] = { "MSP-EXP430F5438\0" " 1. Clock \0" " 2. UniBall \0" " 3. USB-UART \0" " 4. Audio Apps\0" " 5. Power Test\0" " 6. ADC Temp \0" " 7. Settings \0" }; Looking at the code, I think you may be able to put a breakpoint in the function UserExperience() and then view the menuPos variable to figure out what position on the menu you are at. You can see that the switch(menuPos) decides what mode you are in that it needs to call. From there, if you can enter the settings menu, you can have a second breakpoint under case MENU_SETTING: to see that you got there, and check the settingMenuPos and repeat the process to get into SET_CONTRAST. Once you are in Set Contrast I think you simply use up and down to adjust the contrast. Give this a shot. If this doesn't work, however, you may simply have a bad LCD connection somewhere - check that the ribbon cable going to the LCD is well-seated in its receptacle on the board as well. Regards, Katie

Viewing all articles
Browse latest Browse all 62309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>