Coder Social home page Coder Social logo

deadon_rtc's People

Contributors

awickert avatar marshalltaylorsfe avatar richardbronosky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

deadon_rtc's Issues

The directory structure of this project does not allow the example to show up in Arduino

By putting the example in a directory named DeadOn_RTC/examples/set_and_read_time/ and naming the ino file to match, you allow a user to git-clone/zip-download the repo and then move/copy/symlink the Libraries/DeadOn_RTC directory into ~/Documents/Arduino/Libraries/ and have the example show up correctly. See: https://www.dropbox.com/s/iw4pnoi1re5ja9v/Screenshot%202014-07-22%2009.34.36.png

(There's also not a library in this project. I'm going to fix that also.)

Teensy 3.5 and RTC DS3234

Does anyone monitor this to assist with an issue?

For some reason, I am not able to get the teensy to properly set time to my ds3234 rtc. I am able to run rtc.autoTime(); but when I try to run rtc.setTime(16, 32, 7, 2, 31, 10, 16); (after commenting out rtc.autoTime();), I am not getting a response from the teensy and am no longer reading time through the serial port.

When I compile the code and send it the teensy, I get these errors:

C:\Users\user\Documents\Arduino\libraries\SparkFun_DS3234_RTC_Arduino_Library-master\src\SparkFunDS3234RTC.cpp: In member function 'void DS3234::writeToRegister(uint8_t, uint8_t)': C:\Users\user\Documents\Arduino\libraries\SparkFun_DS3234_RTC_Arduino_Library-master\src\SparkFunDS3234RTC.cpp:700:30: warning: invalid conversion from 'uint8_t {aka unsigned char}' to 'DS3234_registers' [-fpermissive] spiWriteByte(address, data); ^ C:\Users\user\Documents\Arduino\libraries\SparkFun_DS3234_RTC_Arduino_Library-master\src\SparkFunDS3234RTC.cpp:648:6: note: initializing argument 1 of 'void DS3234::spiWriteByte(DS3234_registers, uint8_t)' void DS3234::spiWriteByte(DS3234_registers reg, uint8_t value) ^ C:\Users\user\Documents\Arduino\libraries\SparkFun_DS3234_RTC_Arduino_Library-master\src\SparkFunDS3234RTC.cpp: In member function 'uint8_t DS3234::readFromRegister(uint8_t)': C:\Users\cassidy.gonzalez-mor\Documents\Arduino\libraries\SparkFun_DS3234_RTC_Arduino_Library-master\src\SparkFunDS3234RTC.cpp:705:29: warning: invalid conversion from 'uint8_t {aka unsigned char}' to 'DS3234_registers' [-fpermissive] return spiReadByte(address); ^ C:\Users\user\Documents\Arduino\libraries\SparkFun_DS3234_RTC_Arduino_Library-master\src\SparkFunDS3234RTC.cpp:661:9: note: initializing argument 1 of 'uint8_t DS3234::spiReadByte(DS3234_registers)' uint8_t DS3234::spiReadByte(DS3234_registers reg) ^

I am running the code exactly as directed on the sparkfun example program.

Can anyone assist?

I am using arduino ide version 1.8.16

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.