You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python code: Buzzer works, high values displays danger gas.
C code: "Saft" is printed, should be "Safe" i guess. Buzzer does not work.
How come Python script says danger on higher numbers while C says safe, C also does not trigger the buzzer. Think there is an issue somewhere in the code.
For anyone having issues, you need to turn the shaft of the pontetiometer to raise and reduce the concentration level, mine was on max and printed 255 all the time. This needs to be turned on the PCF8591 not on the gas sensor. Maybe update this in the description as it was not perfectly clear.
The text was updated successfully, but these errors were encountered:
How come Python script says danger on higher numbers while C says safe, C also does not trigger the buzzer. Think there is an issue somewhere in the code.
For anyone having issues, you need to turn the shaft of the pontetiometer to raise and reduce the concentration level, mine was on max and printed 255 all the time. This needs to be turned on the PCF8591 not on the gas sensor. Maybe update this in the description as it was not perfectly clear.
The text was updated successfully, but these errors were encountered: