Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ((teclado > 330 ) && (teclado < 335)) {
- pulseWidth0 = pulseWidth0 - turnRate0;
- }
- if ((teclado > 500 ) && (teclado < 505)) {
- pulseWidth0 = pulseWidth0 + turnRate0;
- }
- if ((teclado > 245 ) && (teclado < 250)) {
- pulseWidth1 = pulseWidth1 - turnRate1;
- }
- if ((teclado > 195 ) && (teclado < 200)) {
- pulseWidth1 = pulseWidth1 + turnRate1;
- }
- if ((teclado > 135 ) && (teclado < 145)) {
- pulseWidth2 = pulseWidth2 - turnRate2;
- }
- if ((teclado > 160 ) && (teclado < 166)) {
- pulseWidth2 = pulseWidth2 + turnRate2;
- }
- if ((teclado > 52 ) && (teclado < 57)) {
- pulseWidth3 = pulseWidth3 - turnRate3;
- }
- if ((teclado > 30 ) && (teclado < 35)) {
- pulseWidth3 = pulseWidth3 + turnRate3;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement