snoplus / tellie

The timing ELLIE LED calibration system
0 stars 11 forks source link

Tellie control bug fixes #27

Closed Mark--S closed 7 years ago

EdLeming commented 7 years ago

@Mark--S. Does this PR address all the issues we spoke about at lunch?

EdLeming commented 7 years ago

it looks like there are slightly different changes in core/serial_command and core/tellie_server

Mark--S commented 7 years ago

So this PR fixes three issues.

I think I should test it underground tomorrow, then when I've tested it you can approve the PR

EdLeming commented 7 years ago

@Mark--S. Great! Thanks.

Mark--S commented 7 years ago

I've done some testing with the test box at Sussex around with the TELLIE server i.e. sending multiple jobs to the server and killing the server when pulsing. The changes make sure that TELLIE stops pulsing in these cases.

Mark--S commented 7 years ago

This PR also appears to fix the issue with the unwanted pulsing when setting a channel.

EdLeming commented 7 years ago

This looks good, thanks! Are there any further changes you're planning on adding? If not I'll get it pulled in.

Mark--S commented 7 years ago

I've just one last change increasing the sleep time between buffer readings, I sometimes found the code would crash out as it wasn't giving the PIC chip the time to write to the buffer.