control_loop_sim: modify second P value

This commit is contained in:
Peter McGoron 2022-11-24 10:00:05 -05:00
parent 1d54b41735
commit cef639784b
1 changed files with 2 additions and 1 deletions

View File

@ -73,7 +73,8 @@ int main(int argc, char **argv) {
if (tick == 50000) { if (tick == 50000) {
mod->cmd = CONTROL_LOOP_WRITE_BIT | CONTROL_LOOP_P; mod->cmd = CONTROL_LOOP_WRITE_BIT | CONTROL_LOOP_P;
mod->word_into_loop = 0b010111000010100011110101110000101000111; /* 0.60 */
mod->word_into_loop = 0b1001100110011001100110011001100110011001100;
mod->start_cmd = 1; mod->start_cmd = 1;
printf("adjust P\n"); printf("adjust P\n");
} }