Skip to content

Commit 304c733

Browse files
committed
Rename CurieRTC to CurieTime
1 parent 4d9c07e commit 304c733

File tree

8 files changed

+17
-17
lines changed

8 files changed

+17
-17
lines changed

libraries/CurieRTC/readme.txt

Lines changed: 0 additions & 7 deletions
This file was deleted.

libraries/CurieRTC/examples/ReadTest/ReadTest.ino renamed to libraries/CurieTime/examples/ReadTest/ReadTest.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
#include <CurieRTC.h>
1+
#include <CurieTime.h>
22

33
void setup() {
44
while (!Serial);
55
Serial.begin(9600);
66

7-
Serial.println("CurieRTC Read Test");
7+
Serial.println("CurieTime Read Test");
88
Serial.println("-------------------");
99
}
1010

libraries/CurieRTC/examples/SetTime/SetTime.ino renamed to libraries/CurieTime/examples/SetTime/SetTime.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include <CurieRTC.h>
1+
#include <CurieTime.h>
22

33
const char *monthName[12] = {
44
"Jan", "Feb", "Mar", "Apr", "May", "Jun",
File renamed without changes.

libraries/CurieRTC/library.properties renamed to libraries/CurieTime/library.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name=CurieRTC
1+
name=CurieTime
22
version=1.0
33
author=Intel
44
maintainer=Intel <dino.tinitigan@intel.com>
5-
sentence=Curie RTC library.
5+
sentence=Curie Time library.
66
paragraph=
77
category=Timing
88
url=

libraries/CurieTime/readme.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Readme file for CurieTime Library
2+
3+
The CurieTime library is provided to demonstrate the Arduino101 Time library.
4+
5+
See the CurieTime example sketches provided with the Arduino101 Time library download for usage
6+
7+

libraries/CurieRTC/src/CurieRTC.cpp renamed to libraries/CurieTime/src/CurieTime.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* CurieRTC.c - RTC library for Arduino101
2+
* CurieTime.cpp - Time library for Arduino101
33
44
Copyright (c) 2015 Intel Corporation. All rights reserved
55
This library is intended to be uses with Arduino Time.h library functions
@@ -22,7 +22,7 @@
2222

2323
#include <time.h>
2424

25-
#include "CurieRTC.h"
25+
#include "CurieTime.h"
2626

2727
#define YEAR_OFFSET 1900
2828
#define MONTH_OFFSET 1

libraries/CurieRTC/src/CurieRTC.h renamed to libraries/CurieTime/src/CurieTime.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
2-
* CurieRTC.h - RTC library for Arduino101
2+
* CurieTime.h - Time library for Arduino101
33
*/
44

5-
#ifndef CurieRTC_h
6-
#define CurieRTC_h
5+
#ifndef CurieTime_h
6+
#define CurieTime_h
77

88
#define RTC_CCVR (volatile int*)0xb0000400 // Current Counter Value Register
99
#define RTC_CMR 0xb0000404 // Counter Match Register

0 commit comments

Comments
 (0)