You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Great! glad you got it sorted!

    Minor thing, but to turn the speaker off you could use digitalRead(C8); instead - that'll put the pin back into an 'input' mode - so if for instance you'd connected the speaker between C8 and VCC then it would ensure that it was actually turned off.

About

Avatar for Gordon @Gordon started