Close

Fixing Bugs

A project log for Raspberry Pi Driven Telescope Mount

full telescope control over WiFi using INDI on a RPi Zero W

Dane GardnerDane Gardner 12/08/2018 at 17:280 Comments

[ChrisG71] has been working through a similar project to this one.  He's clearly more disciplined at using the system logger than I am, and pointed out that in my time setting script printf was interpreting anything with a zero in front as an octal character.  This is fine for time components in the range of 00-07, but will fail on 08 and 09.  Values ten or greater won't have the preceding zero, so it was interpreted as decimal.

I've updated the original script and build log to include space padded date components instead of the default zero padding.

Thanks [ChrisG71]!

Discussions