Skip to content

Commit 59f96fa

Browse files
Hansen0314baorepo
authored andcommitted
add lib requirement for Arduino ide (#2)
* add arduino lib properties * add ci status in readme * mv AS5600.cpp src/AS5600.cpp AS5600.h src/AS5600.h
1 parent d0280d5 commit 59f96fa

8 files changed

+67
-36
lines changed

.travis.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
language: generic
3+
sudo: false
4+
cache:
5+
directories:
6+
- ~/arduino_ide
7+
- ~/.arduino15/packages/
8+
9+
before_install:
10+
- wget -c https://files.seeedstudio.com/arduino/seeed-arduino-ci.sh
11+
12+
script:
13+
- chmod +x seeed-arduino-ci.sh
14+
- cat $PWD/seeed-arduino-ci.sh
15+
- bash $PWD/seeed-arduino-ci.sh test
16+
17+
notifications:
18+
email:
19+
on_success: change
20+
on_failure: change

LICENSE

-29
This file was deleted.

License.txt

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
The MIT License (MIT)
1+
MIT License
22

3-
Copyright (c) 2013 Seeed Technology Inc.
3+
Copyright (c) 2020 Seeed Technology
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
@@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
99
copies of the Software, and to permit persons to whom the Software is
1010
furnished to do so, subject to the following conditions:
1111

12-
The above copyright notice and this permission notice shall be included in
13-
all copies or substantial portions of the Software.
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
1414

1515
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1616
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1717
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21-
THE SOFTWARE.
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# AS5600
1+
# AS5600 [![Build Status](https://travis-ci.com/Seeed-Studio/Seeed_Arduino_AS5600.svg?branch=master)](https://travis-ci.com/Seeed-Studio/Seeed_Arduino_AS5600)
22
AS5600 12-bits Absolute Magnetic Encoder
33

44
Features:

keywords.txt

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
#######################################
3+
# Syntax Coloring Map For
4+
#######################################
5+
6+
#######################################
7+
# Datatypes (KEYWORD1)
8+
#######################################
9+
10+
#######################################
11+
# Methods and Functions (KEYWORD2)
12+
#######################################
13+
setMaxAngle KEYWORD2
14+
getMaxAngle KEYWORD2
15+
setStartPosition KEYWORD2
16+
getStartPosition KEYWORD2
17+
setEndPosition KEYWORD2
18+
getEndPosition KEYWORD2
19+
getRawAngle KEYWORD2
20+
getScaledAngle KEYWORD2
21+
detectMagnet KEYWORD2
22+
getMagnetStrength KEYWORD2
23+
getAgc KEYWORD2
24+
getMagnitude KEYWORD2
25+
getBurnCount KEYWORD2
26+
burnAngle KEYWORD2
27+
burnMaxAngleAndConfig KEYWORD2
28+
setOutPut KEYWORD2
29+
#######################################
30+
# Constants (LITERAL1)
31+
#######################################

library.properties

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name=Grove - AS5600
2+
version=1.0.0
3+
author=Seeed Studio
4+
maintainer=Seeed Studio <[email protected]>
5+
sentence=Library for Grove - AS5600
6+
paragraph=An Arduino library for AS5600 12-bits Absolute Magnetic Encoder
7+
category=Sensors
8+
url=
9+
architectures=*

AS5600.cpp src/AS5600.cpp

File renamed without changes.

AS5600.h src/AS5600.h

File renamed without changes.

0 commit comments

Comments
 (0)