Forum Discussion
Altera_Forum
Honored Contributor
13 years agoCar Park Indicator System
i need to design a car park indicator system for a space with 8 lots. it needs to have the following specifications:
- a seven-segment display to indicate the number of free lots.
- presettable up/down counter
- each lor has a light which will turn on to indicate that is free
- the light should turn off when the lost is occupied
- when the lot is filled to the maximun of 8 cars, the seven-segment should display 'F' the indicate it is full
13 Replies
- Altera_Forum
Honored Contributor
Why are you telling us and not fixing them?
- Altera_Forum
Honored Contributor
--- Quote Start --- Finally I give you a tip: Use tabs to line your code. As you start a block (if, begin, port, etc.) you use a tab on the next line, this improves reading and thereby you can easily find problems related to errors like 10500. --- Quote End --- that was because the forum strips out leading whitespace unless you use code tags. - Altera_Forum
Honored Contributor
--- Quote Start --- that was because the forum strips out leading whitespace unless you use code tags. --- Quote End --- I know, but still, if you do this right it helps. You'll be surprised how many times I get code from project mates who don't use this.