For the synthesis, I and Fengyi Zhu (Franklin) get to use the one button. So I used the pressure sensor. The original code had “DigitalRead” So I changed to “AnalogRead.” The ICM part is from Franklin’s previous work. As the pressure sensor pressed the color gets changed and the speed of the rotation increases. I tried this again to understand the codes.
Advertisements