Hi !
I made one thermostat, with PIC16F628A and LCD display, for using as thermo-regulator. All works fine, but ... I want to have an audible "mark" when temperature is bigger/smaller than setting.
I wrote this :
Code:
 If Temperature > Temp_Up then          ' Above Target temperature 
  PORTA.2=0                             ' Deactivate Warm output
  PORTA.3=1                             ' Activate   Cold Output
SOUND PortA.7, [107,50]
 EndIf
But in this way the buzzer sound WHILE Temperature > Temp_Up ... How can be setting to sound just 5 seconds, for example ?
Thanks in advance !