Have now added all circuit diags and the script to my web page. As I said before the real experts at this stuff could re write my code but what I have works, and that is all I care about.
Went to an open day at a place in the hills yesterday that occurs every year at a place owned by a very wealthy guy. He has numerous working vintage cars, and steam railway and a lake for boats. The lake is nice although quite deep. I was there with the boat club and he wandered down just as I had the sub running. He then told me he would announce over the loudspeakers that all the guests should come and see the Uboat. Now this is the issue. There is an inverse proportional law that you all know about.
The batteries were getting down so I pulled it out while I waited for the crowd and turned it off. When I turned it on the main power decided not to work. Off with the top. I think it was a new connector causing the problem that I had made for a new battery pack. It was. Of course this major problem has just accidentally rectified itself and it all looks good, so off into the public gaze I go. Hoping.
I put it into the water and re trimmed it.
So they all came with their cameras and I ran the boat out and did one lap and then made a slow dive. Put it into auto depth keep and did two slow laps, picking my way around the surface boats and then turned off auto depth keep and turned on the surface routine. It broke the surface and did exactly what it was meant to do.
It was flawless. No-one knows how the submariner sweats.