File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -96,20 +96,20 @@ def main():
96
96
print ("Detection is True" )
97
97
#0-640 arası degerler degisecek
98
98
if (mid_point > 0 ) and (mid_point < first_slice ):
99
- MESSAGE = "ilk_parca "
99
+ MESSAGE = "first_pwm "
100
100
sock = socket .socket (socket .AF_INET , socket .SOCK_DGRAM )
101
101
sock .sendto (MESSAGE , (UDP_IP , UDP_PORT ))
102
- print ("PWM_1 yakıldı " )
102
+ print ("PWM_1" )
103
103
elif (mid_point >= first_slice ) and (mid_point < second_slice ):
104
- MESSAGE = "ikinci_parca "
104
+ MESSAGE = "second_pwm "
105
105
sock = socket .socket (socket .AF_INET , socket .SOCK_DGRAM )
106
106
sock .sendto (MESSAGE , (UDP_IP , UDP_PORT ))
107
- print ("PWM_2 yakıldı " )
107
+ print ("PWM_2" )
108
108
elif (mid_point >= second_slice ):
109
- MESSAGE = "oropsu_mehmet "
109
+ MESSAGE = "third_pwm "
110
110
sock = socket .socket (socket .AF_INET , socket .SOCK_DGRAM )
111
111
sock .sendto (MESSAGE , (UDP_IP , UDP_PORT ))
112
- print ("PWM_3 yakıldı " )
112
+ print ("PWM_3" )
113
113
114
114
#DETECTION IS FALSE BLOCK
115
115
except :
You can’t perform that action at this time.
0 commit comments