7 segment display component not simulating
Posted: Mon Jul 31, 2023 11:56 am
I'm creating a digital dice using 2 7 segment displays so it can show either numbers 1-6 or 2-12. To simulate the program I've put the displays on the 2D panel.
All was working okay, saving the program as I went along. Got it all to work in the end.
Re-opened the program the next day and the display doesn't work.
If I delete the displays, add them in again and reconnect it it does. Saving is okay. But if I close Flowcode and the reload it, again the display doesn't work.
When I simulate the program it warns me that not all the pins are connect to the display. Tried connecting them to unused pins on the microcontroller and I still get the same issue.
Also tried putting the displays on the 3D panel instead. Same issue.
I've attached the file. The button 'shakes' the dice and the switch changes between 1 or 2 dice.
I'm not using the component macros for the display, as I going the get students to code it and not get reliant on using micros, but understand the basic of turning outputs on/off.
Thanks
Dave
All was working okay, saving the program as I went along. Got it all to work in the end.
Re-opened the program the next day and the display doesn't work.
If I delete the displays, add them in again and reconnect it it does. Saving is okay. But if I close Flowcode and the reload it, again the display doesn't work.
When I simulate the program it warns me that not all the pins are connect to the display. Tried connecting them to unused pins on the microcontroller and I still get the same issue.
Also tried putting the displays on the 3D panel instead. Same issue.
I've attached the file. The button 'shakes' the dice and the switch changes between 1 or 2 dice.
I'm not using the component macros for the display, as I going the get students to code it and not get reliant on using micros, but understand the basic of turning outputs on/off.
Thanks
Dave