-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only one 7-segment display working #16
Comments
Confirmed/me too. |
Hi, I'm been able to get the display working! Checked code of display.[ch], and did not find any issue. While debugging, I discoverd Changing in function: void display_refresh(void)
to Shows all active 4 digits (instead only the last one). So there must something wrong with display_data[1..3] While debugging further i came with a workarond which i cannot explain In function:
Added code basically touching the fresh data, Removing the uart_write_str() causes the the single digit issue to be back. I expect this is a compiler issue running on "Ubuntu 16.04.3 LTS" (64bit) note the workarond produces a warning: Anyway, there is a workaround for the single digit issue, suspecting it is Regards, |
Hi, looking into the possible compiler issue, I created 3 situations.
to my surprise 3) works as well!! Added --no-peep to Makefile: created a 4th test case, by using the latest build of sdcc and --no-peep A 5th case by using the latest build of sdcc without --no-peep To my opinion the this open issue may be closed as compiler issue, and sdcc While using the latest snapshot I noticed a few warnings : At the specific lines i did not notice anything special. Attached the first 3 debug cases for those interested finding out which specific compiler bug was triggered. |
Sorry for the late response, I haven't been using my b3603 units much and so don't have an easy setup to test this on and verify. I hope I can get to it sometime soon. |
When I plug in power source, only first display from the right shows numbers. Those I think are random, but it is to investigate.
The text was updated successfully, but these errors were encountered: