Finding Time elapsed in doing work using MicroPython
Program for finding the time elapsed using Micropython Here in this blog i am gonna going to write a program for finding the time elapsed in doing work by using micropython and NodeMcu as controller. Basically in this session we will use both RTC class and Utime module for finding the localtime and also time elapsed. Through RTC class we will define the time in tuple form, then we will use the Utime module for finding the time difference. Here i have written a short program for finding time for the Led is on in the NodeMcu ________________________________________________________________________________ Program import machine import time import utime rtc = machine.RTC() rtc.datetime((2017, 8, 2...