Thank you so much! This solved the issue I was having, I just needed to delete the state_off row and the fourth else-if, and change all of the states that were in $Self to % Ignore% and the program ran flawlessly.
Help with State Transition Table
1 回表示 (過去 30 日間)
Greetings, I am diong a project where I am creating an air piano inside simulink with my arduino uno board. The table is for lighting three LED lights based on different distance inputs from an ultrasound sensor. The output I am currently getting is that only my green LED lights up despite inputting several different distances. any help or tips would be greatly appreciated. I have also included a picture of my blocks diagram in simulink.