Week 9. Oct 15.20 2018 - michelle-qin/Portfolio GitHub Wiki

Was assigned new assignment today to finish commenting my code for Perpetual Motion and push it to github for future use. Currently figuring out how to push my files to github. Reached a problem where the file is only uploading my account, when it should be uploading to the DPEngineering one. Working with Mr. Harlow to figure this out... trying to make a new remote for git on PyCharm. Stay tuned-

Worked with mentor Nikolai to solve the above problem. On the terminal, it kept saying I was on the master branch. So, we used the terminal to move my files into a new folder and make a new branch "MichelleQin". Then, on PyCharm, we created a remote branch on the dpengineering/project-examples. On that remote branch, I am able to successfully push my files to github.

Continued to implement comments throughout Perpetual Machine code.

Update: continuing to implement comments throughout PM code.

Writing this here so I don't forget: Nikolai had a good idea to use an incrementing tool (e.g. + and - buttons) to control the number of cycles, rather than a slider. Will work on this later..

Update: Finished comments

New Problem: Staircase is not turning off at initialization nor when the "Staircase Off" button is pressed. Had this problem before, but I fixed it in the code. Not sure why it suddenly isn't working again. Currently, I send 0 PWM to turn the staircase off. I used the logic analyzer and noticed the same signal was sending if the PWM was 0 or 50. CLearly, there is a signal that is being sent to the staircase when there shouldn't be. Talked with Mr. Harlow who suggested proposed approach to disable the PWM completely when turning off the staircase. Looking into how this would be done...