equal
deleted
inserted
replaced
321 } |
321 } |
322 |
322 |
323 void TestMaster_post_sync() |
323 void TestMaster_post_sync() |
324 { |
324 { |
325 DO++; |
325 DO++; |
326 eprintf("MicroMod Digital Out: %2.2x In: %2.2d\n",DO,DI); |
326 eprintf("MicroMod Digital Out: %2.2x\n",DO); |
|
327 eprintf("MicroMod Digital In (by bit): DI1: %2.2x DI2: %2.2x DI3: %2.2x DI4: %2.2x DI5: %2.2x DI6: %2.2x DI7: %2.2x DI8: %2.2x\n",DI1,DI2,DI3,DI4,DI5,DI6,DI7,DI8); |
327 } |
328 } |
328 |
329 |
329 void TestMaster_post_TPDO() |
330 void TestMaster_post_TPDO() |
330 { |
331 { |
331 // eprintf("TestMaster_post_TPDO\n"); |
332 // eprintf("TestMaster_post_TPDO\n"); |
357 printf("* - disable others TPDOs *\n"); |
358 printf("* - disable others TPDOs *\n"); |
358 printf("* - set state to operational *\n"); |
359 printf("* - set state to operational *\n"); |
359 printf("* - send periodic SYNC *\n"); |
360 printf("* - send periodic SYNC *\n"); |
360 printf("* - send periodic RPDO 1 to Micromod (digital output) *\n"); |
361 printf("* - send periodic RPDO 1 to Micromod (digital output) *\n"); |
361 printf("* - listen Micromod's TPDO 1 (digital input) *\n"); |
362 printf("* - listen Micromod's TPDO 1 (digital input) *\n"); |
|
363 printf("* - Mapping RPDO 1 bit per bit (digital input) *\n"); |
362 printf("* *\n"); |
364 printf("* *\n"); |
363 printf("* Usage: *\n"); |
365 printf("* Usage: *\n"); |
364 printf("* ./TestMasterMicroMod [OPTIONS] *\n"); |
366 printf("* ./TestMasterMicroMod [OPTIONS] *\n"); |
365 printf("* *\n"); |
367 printf("* *\n"); |
366 printf("* OPTIONS: *\n"); |
368 printf("* OPTIONS: *\n"); |