STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
main.h
Go to the documentation of this file.
1#pragma once
2
3// I2C pins (match other IC_Testing boards; change if your wiring differs)
4#define LPS28DFW_SDA_PIN 0
5#define LPS28DFW_SCL_PIN 1
6
7// 7-bit I2C: 0x5C default, 0x5D if address pin high (matches SparkFun
8// LPS28DFW_I2C_ADDRESS_*)
9#define LPS28DFW_I2C_ADDR 0x5C
10
11// Reference sea-level pressure (hPa) for barometric altitude; set to local QNH
12// for better accuracy
13#define LPS28DFW_SEA_LEVEL_HPA 1013.25f