Skip to content

Commit 28be1f3

Browse files
Structure Change
Changes to structure of files as per meeting with Dryw and Eli
1 parent fecfe98 commit 28be1f3

11 files changed

+2985
-0
lines changed

Documentation/sths34pf80.pdf

2.13 MB
Binary file not shown.

src/SparkFun_STHS34PF80_Arduino_Library.cpp

Whitespace-only changes.
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
/******************************************************************************
2+
SparkFun_STHS34PF80_Arduino_Library.h
3+
SparkFun STHS34PF80 Library Definitions Header File
4+
Madison Chodikov @ SparkFun Electronics
5+
Original Creation Date: August 22nd, 2023
6+
https://github.com/sparkfun/SparkFun_STHS34PF80_Arduino_Library
7+
8+
This file defines all of the constants used in the device library,
9+
along with defining the registers used.
10+
11+
Development environment specifics:
12+
IDE: Arduino 2.1.0
13+
Hardware Platform: Arduino Uno
14+
STHS34PF80 Breakout Version: 1.0.0
15+
Distributed as-is; no warranty is given.
16+
******************************************************************************/
17+
18+
19+
#ifndef __SparkFun_STHS34PF80_Arduino_Library_H__
20+
#define __SparkFun_STHS34PF80_Arduino_Library_H__
21+
22+
#include sths34pf80_reg.h
23+
#include <Arduino.h>
24+
#include <Wire.h>
25+
26+
27+
class STHS34PF80
28+
{
29+
public:
30+
31+
/*
32+
begin()
33+
read()
34+
write()
35+
*/
36+
37+
38+
39+
private:
40+
41+
42+
/*
43+
Bus12C bus;
44+
*/
45+
};
46+
47+
48+
#endif

src/sfe_bus.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// For general SFE bus needs (I2C, SPI, etc)
2+

src/sfe_bus.h

Whitespace-only changes.

src/sths34pf80_class.cpp

Whitespace-only changes.

src/sths34pf80_class.h

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#ifndef __sths34pf80_class_H__
2+
#define __sths34pf80_class_H__
3+
4+
#include SparkFun_STHS34PF80_Arduino_Library.h
5+
6+
7+
8+
class STHS34PF80_Class
9+
{
10+
public:
11+
12+
13+
protected:
14+
15+
};
16+
17+
18+
19+
20+
#endif

0 commit comments

Comments
 (0)