diff --git a/education/software development/ECE1400/Flowcharts and Pseudocode.md b/education/software development/ECE1400/Flowcharts and Pseudocode.md index ef48920..09d34a7 100644 --- a/education/software development/ECE1400/Flowcharts and Pseudocode.md +++ b/education/software development/ECE1400/Flowcharts and Pseudocode.md @@ -236,5 +236,24 @@ sunny { ## Action Set | Action name | Description | | -- | -- | -| Set \[north, east, south, west] light to \[red, green] | -| Toggle lights | \ No newline at end of file +| Set \[north, east, south, west] light to \[red, green] | Set the specified light to either red or green | +| Toggle lights | Change the color of all 4 lights to the color they were not | +| Wait \[number of seconds] seconds | Pause for \[number of seconds] seconds before continuing to the next instruction | + +## Flowchart +```d2 +vars: { + d2-config: { + dark-theme-id: 200 + } +} +classes: { + toggle-lights: { + label: Toggle lights + } +} + +beginning: { + shape: +} +``` \ No newline at end of file