Something that could be nice is to have the ability to enter commands wether they be friendly text or literal python code into the code window while it is running the program. This way we could show the kids something like led on and the led turn on. Or we could do ledP.setColor("red") or whatever we wanted. Basically create an interactive console.
This could also combine the use of some other terminal techniques I have seen that allow for the screen to be divided into multiple "windows" so you could have the program running at the top and then have a command area below. This is advanced I know but I know people have taken the time to program some frameworks that allow us to do this.
PROMPT AREA
DEBUG/OUTPUT AREA
COMMAND ENTER AREA
STATUS BAR AT BOTTOM
This is just a thought that we can explore.
The first version of adding this feature would be to just have 3 threads that output text onto a screen and then use screen to view them simultaneously and then later on it is just combining the output from the 3 different threads or processes or whatever that we end up using to do this.
Something that could be nice is to have the ability to enter commands wether they be friendly text or literal python code into the code window while it is running the program. This way we could show the kids something like
led on
and the led turn on. Or we could doledP.setColor("red")
or whatever we wanted. Basically create an interactive console.This could also combine the use of some other terminal techniques I have seen that allow for the screen to be divided into multiple "windows" so you could have the program running at the top and then have a command area below. This is advanced I know but I know people have taken the time to program some frameworks that allow us to do this.
PROMPT AREA
This is just a thought that we can explore. The first version of adding this feature would be to just have 3 threads that output text onto a screen and then use
screen
to view them simultaneously and then later on it is just combining the output from the 3 different threads or processes or whatever that we end up using to do this.