So I would sync/syncfs then f.close() or vice versa?topguy wrote:You could run the "sync" command. It should flush all filebuffers.
Yes that what I finally figured out and did. It took me some time to get the PIGPIO syntax correct.paddyg wrote:I would have thought you could just swap the gpio part of the code, have you tried that?
Code: Select all