{"action":"opened","issue":{"url":"https://api.github.com/repos/ISU-MAVRIC/MAVRIC_Arm/issues/27","labels_url":"https://api.github.com/repos/ISU-MAVRIC/MAVRIC_Arm/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/ISU-MAVRIC/MAVRIC_Arm/issues/27/comments","events_url":"https://api.github.com/repos/ISU-MAVRIC/MAVRIC_Arm/issues/27/events","html_url":"https://github.com/ISU-MAVRIC/MAVRIC_Arm/issues/27","id":58134010,"number":27,"title":"Code in all of our PWM objects","user":{"login":"markrusciano","id":5924139,"avatar_url":"https://avatars.githubusercontent.com/u/5924139?v=3","gravatar_id":"","url":"https://api.github.com/users/markrusciano","html_url":"https://github.com/markrusciano","followers_url":"https://api.github.com/users/markrusciano/followers","following_url":"https://api.github.com/users/markrusciano/following{/other_user}","gists_url":"https://api.github.com/users/markrusciano/gists{/gist_id}","starred_url":"https://api.github.com/users/markrusciano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markrusciano/subscriptions","organizations_url":"https://api.github.com/users/markrusciano/orgs","repos_url":"https://api.github.com/users/markrusciano/repos","events_url":"https://api.github.com/users/markrusciano/events{/privacy}","received_events_url":"https://api.github.com/users/markrusciano/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-18T21:52:14Z","updated_at":"2015-02-18T21:52:14Z","closed_at":null,"body":"Using the mbed PwmOut library (http://developer.mbed.org/handbook/PwmOut), create a PwmOut object for every PWM device we will have connected to the MAVRIC_Arm Board\r\n\r\nExample:\r\nPwmOut arm_elbow(PA_7);\r\n\r\nPWM Connections\r\n\r\nDevice | Pin\r\n---------|-------\r\nStepper Step | PB_7\r\nServo 1 | PC_6\r\nServo 2 | PC_7\r\nServo 3 | PC_8\r\nServo 4 | PC_9\r\nServo 5 | PB_6\r\n\r\nIf the mbed stuff is confusing, I'd recommend going through this tutorial here:\r\nhttps://learn.sparkfun.com/tutorials/mbed-starter-kit-experiment-guide/experiment-2-buttons-and-pwm\r\nMake sure to type the code, don't just copy paste. It has helped me a lot.\r\n\r\nUse the old mbed code for reference if you'd like \r\nhttps://github.com/ISU-MAVRIC/MAVRIC_Main/blob/master/Firmware/MAVRIC_Main/main.cpp"}}