Skip to content

Commit b701a20

Browse files
committed
first commit
1 parent b1ebd3f commit b701a20

8 files changed

+1472
-0
lines changed

LICENSE

+504
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*
2+
This file is part of the Arduino_GroveI2C_Ultrasonic library.
3+
Copyright (c) 2023 Arduino SA. All rights reserved.
4+
5+
This library is free software; you can redistribute it and/or
6+
modify it under the terms of the GNU Lesser General Public
7+
License as published by the Free Software Foundation; either
8+
version 2.1 of the License, or (at your option) any later version.
9+
10+
This library is distributed in the hope that it will be useful,
11+
but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13+
Lesser General Public License for more details.
14+
15+
You should have received a copy of the GNU Lesser General Public
16+
License along with this library; if not, write to the Free Software
17+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18+
*/
19+
20+
#include "Arduino_ScienceKitCarrier.h"
21+
22+
ScienceKitCarrier science_kit;
23+
24+
void setup(){
25+
Serial.begin(115200);
26+
while(!Serial);
27+
science_kit.begin();
28+
}
29+
30+
void loop(){
31+
science_kit.update();
32+
Serial.print("Temperature [°C]:\t");
33+
Serial.println(science_kit.getTemperature());
34+
delay(1000);
35+
}

library.properties

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name=Arduino_ScienceKitCarrier
2+
version=0.1.0
3+
author=Arduino, Giovanni di Dio Bruno
4+
maintainer=Arduino <[email protected]>
5+
sentence=Library and firmware for Arduino Science Kit r3
6+
paragraph=
7+
category=Sensor
8+
url=https://github.com/gbr1/Arduino_ScienceKitCarrier
9+
architectures=*
10+
includes=Arduino_ScienceKitCarrier.h

0 commit comments

Comments
 (0)