TG Telegram Group & Channel
Micropython & IOT | United States America (US)
Create: Update:

🌟اسکریپت Lua برای ماژول فرستنده nodemcu

uart.setup(1, 115200, 8, uart.PARITY_NONE, uart.STOPBITS_1, 1) — setup UART1 i.e. pin GPIO2

while true do —send string per second continuously

uart.write(1, "Hello friend\n")
tmr.delay(1000000)
end

🌟اسکریپت Lua برای ماژول گیرنده nodemcu

—callback on receiver data
uart.on("data","\n",function(data) print("receive from uart:", data) end, 0)

@micropython_iot
@raspberry_python
@raspberryproject

🌟اسکریپت Lua برای ماژول فرستنده nodemcu

uart.setup(1, 115200, 8, uart.PARITY_NONE, uart.STOPBITS_1, 1) — setup UART1 i.e. pin GPIO2

while true do —send string per second continuously

uart.write(1, "Hello friend\n")
tmr.delay(1000000)
end

🌟اسکریپت Lua برای ماژول گیرنده nodemcu

—callback on receiver data
uart.on("data","\n",function(data) print("receive from uart:", data) end, 0)

@micropython_iot
@raspberry_python
@raspberryproject


>>Click here to continue<<

Micropython & IOT




Share with your best friend
VIEW MORE

United States America Popular Telegram Group (US)