Mimuwhen
Junior Member level 3
- Joined
- Oct 7, 2014
- Messages
- 29
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 284
Hi everyone;
I was finally able to get mplab to compile this code and I've been playing around with it. It's a bar graph that displays audio on an LCD after displaying a brief intro text. This is my first project that isn't just a blinking LED or a "Hello world" type of deal so forgive any silly questions.
The problem I'm having is that for some reason I can't get anything to show on the 16th column of the screen, this is on both top and bottom rows. This happens in both the simulator and in the physical build and in both the intro text part of the code as well as the bargraph part of the code. I modified the intro text to fill the entire screen with the letter O and sure enough there's nothing on the 16th column. You'll notice this uses a costum library for the 4 bit display which kinda makes it trickier, I haven't been able to get a hold of the author so I was hoping you guys might be able to help me.
My second problem goes as follows, I plan on displaying a menu on screen in place of the intro text of this code and for this I'll need to display the value of a variable. The costum library of this code doesn't allow me to do that it seems, either that or I just cant figure out how. Can someone tell me if it's possible to use this library to print the value of a variable on screen? The plan is to toggle between the menu and the bar graph with a button, this part I've already accomplished. The menu will show a counter where the number corresponds to a sound effect on a sound chip. The MCU will not be controlling the sound chip, it will just keep track of the number of times the sound chips up and down buttons are pressed to show the corresponding number on screen.
Follow this link and the first post has the code in it's original form attached. I'd upload it here but I'm having issues with the uploader.
https://www.edaboard.com/threads/327751/
schematic
**broken link removed**
Your help is much appreciated!
I was finally able to get mplab to compile this code and I've been playing around with it. It's a bar graph that displays audio on an LCD after displaying a brief intro text. This is my first project that isn't just a blinking LED or a "Hello world" type of deal so forgive any silly questions.
The problem I'm having is that for some reason I can't get anything to show on the 16th column of the screen, this is on both top and bottom rows. This happens in both the simulator and in the physical build and in both the intro text part of the code as well as the bargraph part of the code. I modified the intro text to fill the entire screen with the letter O and sure enough there's nothing on the 16th column. You'll notice this uses a costum library for the 4 bit display which kinda makes it trickier, I haven't been able to get a hold of the author so I was hoping you guys might be able to help me.
My second problem goes as follows, I plan on displaying a menu on screen in place of the intro text of this code and for this I'll need to display the value of a variable. The costum library of this code doesn't allow me to do that it seems, either that or I just cant figure out how. Can someone tell me if it's possible to use this library to print the value of a variable on screen? The plan is to toggle between the menu and the bar graph with a button, this part I've already accomplished. The menu will show a counter where the number corresponds to a sound effect on a sound chip. The MCU will not be controlling the sound chip, it will just keep track of the number of times the sound chips up and down buttons are pressed to show the corresponding number on screen.
Follow this link and the first post has the code in it's original form attached. I'd upload it here but I'm having issues with the uploader.
https://www.edaboard.com/threads/327751/
schematic
**broken link removed**
Your help is much appreciated!
Last edited: