gpio.mode(LEDpin, gpio.OUTPUT)--set LED pin as output pin gpio.write(LEDpin, gpio.LOW)— set LED state initially low
—begin uart with specs uart.setup(0, 9600, 8, uart.PARITY_NONE, uart.STOPBITS_1, 1) —set callback function on receive to make decision about LED on/off uart.on("data",1, function(data) if(data == "1") then gpio.write(LEDpin, gpio.HIGH) print("LED ON") elseif(data == "2") then gpio.write(LEDpin, gpio.LOW) print("LED OFF") else print("select proper option") end end, 0)
نکته : پسورد دیفالت ماژول بلوتوث برای اتصال 0000 یا 1234 می باشد.
gpio.mode(LEDpin, gpio.OUTPUT)--set LED pin as output pin gpio.write(LEDpin, gpio.LOW)— set LED state initially low
—begin uart with specs uart.setup(0, 9600, 8, uart.PARITY_NONE, uart.STOPBITS_1, 1) —set callback function on receive to make decision about LED on/off uart.on("data",1, function(data) if(data == "1") then gpio.write(LEDpin, gpio.HIGH) print("LED ON") elseif(data == "2") then gpio.write(LEDpin, gpio.LOW) print("LED OFF") else print("select proper option") end end, 0)
نکته : پسورد دیفالت ماژول بلوتوث برای اتصال 0000 یا 1234 می باشد.
Telegram has no known backdoors and, even though it is come in for criticism for using proprietary encryption methods instead of open-source ones, those have yet to be compromised. While no messaging app can guarantee a 100% impermeable defense against determined attackers, Telegram is vulnerabilities are few and either theoretical or based on spoof files fooling users into actively enabling an attack.
What is Secret Chats of Telegram
Secret Chats are one of the service’s additional security features; it allows messages to be sent with client-to-client encryption. This setup means that, unlike regular messages, these secret messages can only be accessed from the device’s that initiated and accepted the chat. Additionally, Telegram notes that secret chats leave no trace on the company’s services and offer a self-destruct timer.