rtcraspberrypi3bcentos7's Issues
Unable to set time on DS1302
No matter what i do I'm unable to set date on ds1302. I connected ds1302 and rpi3 like this:
ds1302 rpi3 ()
vcc -----------3.3 (1)
gnd-----------gnd (6)
clk------------GPIO21 (40)
dat-----------GPIO18 (12)
rst------------GPIO17 (11)
When i run sudo ./rtc-pi 20190131092503 i get correct time
Set UNIX timestamp to RTC: 1548923103
But when i read from ds1302 sudo ./rtc-pi
Read UNIX timestamp from RTC: 943916400
I get this date
Tue Nov 30 00:00:10 CET 1999
What am i doing wrong? Thanks.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.