Sungwoo Kim
/
HydraulicControlBoard_Rainbow_v1_2
rainbow
Revision 254:9f487eaa87b5, committed 2022-07-28
- Comitter:
- Lightvalve
- Date:
- Thu Jul 28 09:22:00 2022 +0000
- Parent:
- 253:c53d4c26b04a
- Child:
- 255:1ba0cc8fee52
- Commit message:
- 220728
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Jul 26 06:58:25 2022 +0000 +++ b/main.cpp Thu Jul 28 09:22:00 2022 +0000 @@ -1405,7 +1405,7 @@ // Output Voltage Linearization & Dead Zone Cancellation (Electrical dead-zone) by SW /////////////Jitter///////////////////// - V_out = V_out + 4000.0f*sin(2.0f*3.14159f*400.0f*((float) cnt_jitter)*0.0002f); //4000, 500Hz + V_out = V_out + 3000.0f*sin(2.0f*3.14159f*500.0f*((float) cnt_jitter)*0.0002f); //4000, 500Hz cnt_jitter++; if(cnt_jitter > 50000000) cnt_jitter = 0;