Added expanded settings requested by ChatGPT for magnetic fields; the values remain pinned and when a magnet is moved about 10mm away, still the values remain pinned. Going to log an Issue, but preserving here, and will revert to LillyGO version for Issue submission
This commit is contained in:
parent
59e5887cec
commit
a2e34659a6
4 changed files with 231 additions and 1 deletions
19
examples/Sensor/QMC63xx_GetDataExample/QmcServices.h
Normal file
19
examples/Sensor/QMC63xx_GetDataExample/QmcServices.h
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#pragma once
|
||||
|
||||
#include <Arduino.h>
|
||||
|
||||
class QmcSerialTee : public Print {
|
||||
public:
|
||||
void begin(unsigned long baud);
|
||||
explicit operator bool() const { return true; }
|
||||
|
||||
size_t write(uint8_t value) override;
|
||||
size_t write(const uint8_t* buffer, size_t size) override;
|
||||
void flush();
|
||||
};
|
||||
|
||||
extern QmcSerialTee QmcSerial;
|
||||
|
||||
void qmcServicesBegin();
|
||||
void qmcServicesUpdate();
|
||||
const char* qmcServicesLogPath();
|
||||
Loading…
Add table
Add a link
Reference in a new issue