We can sync the time of a ESP-8266 with a NTP server and then keep time count on the device. It will not need any other additional devices like a DS1307 clock. And once synced with the NTP server it can keep the time even if there is no internet – very handy. The time… Continue reading ESP-8266 and NTP = onboard timekeeping
Author: Manish
Sync Ds1302 with NTP
This code first syncs the DS1302 chip with a NTP server and then reads time from the DS1302 chip. Every time the system is booted the clock is synced with a NTP server. #include <ESP8266WiFi.h> #include “TinyDHT.h” // Adafruit library https://github.com/adafruit/TinyDHT #include <ThreeWire.h> // needed by rtc #include <RtcDS1302.h> // Makuna library https://github.com/Makuna/Rtc const char… Continue reading Sync Ds1302 with NTP
Comparison of Transcoding Speeds of FFMPEG on Intel Processor
Apple In-app Purchase and App Rejections
Developers and app owners often have doesn’t have clear view on where in-app purchase is must and when other payment gateways are allowed in their iOS App. Confusions often lead to app rejection. Apple has clear guidelines (read rules) on when in-app purchase is must and when other payment gateways are allowed. Here I am… Continue reading Apple In-app Purchase and App Rejections
FFMPEG Rotating Video – Transpose vs Rotate
FFMpeg can be used to rotate a video or change the video orientation. There are two ways to do that – Transpose and Rotate. But there is a difference – with Transpose the whole video gets rotated (as is expected to happen) but with Rotate the video gets cropped to fit the existing height of… Continue reading FFMPEG Rotating Video – Transpose vs Rotate