Technoman
Senior Member
Hi,
I am testing a solution to choose between 5 speeds using some basic code embedded within a Basic Cell.
The downloaded program seems to work (without led flashing), but when I add a call to a subroutine to flash a LED at every change in speed, I've got an error message, during simulation, saying that there is a stack error.
I tried using a different variable... still the same!
View attachment Test pwmout 2.plf
I am testing a solution to choose between 5 speeds using some basic code embedded within a Basic Cell.
The downloaded program seems to work (without led flashing), but when I add a call to a subroutine to flash a LED at every change in speed, I've got an error message, during simulation, saying that there is a stack error.
I tried using a different variable... still the same!
View attachment Test pwmout 2.plf
Last edited: