Wednesday, February 1, 2012

Basic Programming

Today in Engineering, we continued learning out basic programming and flow charting. We were challenged with the task of making a function that would turn a small motor on and off for certain intervals of seconds. This is a screenshot of what I came up with to complete the task.



Conclusion

1. What is the best way to make sure that all of your devices are in the correct ports of the interface and have been wired correctly?

One can run the system and see if it works, although in a real life situation, something could be short circuited. One can also double check the ports that are listed in the program (such as port M1 for motor) and match them on the interface.

2. Explain the importance of labeling block functions within a flowchart.

Labeling block function within a flowchart help explain what is happening in a flowchart so that the reader can easily understand/follow the process.

No comments:

Post a Comment