Compare commits
No commits in common. "v5.12.0" and "master" have entirely different histories.
17
.gitattributes
vendored
@ -1,17 +0,0 @@
|
|||||||
# Auto detect text files and perform LF normalization
|
|
||||||
* text=auto
|
|
||||||
|
|
||||||
# Custom for Visual Studio
|
|
||||||
*.cs diff=csharp
|
|
||||||
|
|
||||||
# Standard to msysgit
|
|
||||||
*.doc diff=astextplain
|
|
||||||
*.DOC diff=astextplain
|
|
||||||
*.docx diff=astextplain
|
|
||||||
*.DOCX diff=astextplain
|
|
||||||
*.dot diff=astextplain
|
|
||||||
*.DOT diff=astextplain
|
|
||||||
*.pdf diff=astextplain
|
|
||||||
*.PDF diff=astextplain
|
|
||||||
*.rtf diff=astextplain
|
|
||||||
*.RTF diff=astextplain
|
|
||||||
367
.gitignore
vendored
@ -1,6 +1,361 @@
|
|||||||
.pioenvs
|
# ---> C++
|
||||||
.piolibdeps
|
# Prerequisites
|
||||||
.clang_complete
|
*.d
|
||||||
.gcc-flags.json
|
|
||||||
.vscode
|
# Compiled Object files
|
||||||
sonoff/user_config_override.h
|
*.slo
|
||||||
|
*.lo
|
||||||
|
*.o
|
||||||
|
*.obj
|
||||||
|
|
||||||
|
# Precompiled Headers
|
||||||
|
*.gch
|
||||||
|
*.pch
|
||||||
|
|
||||||
|
# Compiled Dynamic libraries
|
||||||
|
*.so
|
||||||
|
*.dylib
|
||||||
|
*.dll
|
||||||
|
|
||||||
|
# Fortran module files
|
||||||
|
*.mod
|
||||||
|
*.smod
|
||||||
|
|
||||||
|
# Compiled Static libraries
|
||||||
|
*.lai
|
||||||
|
*.la
|
||||||
|
*.a
|
||||||
|
*.lib
|
||||||
|
|
||||||
|
# Executables
|
||||||
|
*.exe
|
||||||
|
*.out
|
||||||
|
*.app
|
||||||
|
|
||||||
|
# ---> C
|
||||||
|
# Prerequisites
|
||||||
|
*.d
|
||||||
|
|
||||||
|
# Object files
|
||||||
|
*.o
|
||||||
|
*.ko
|
||||||
|
*.obj
|
||||||
|
*.elf
|
||||||
|
|
||||||
|
# Linker output
|
||||||
|
*.ilk
|
||||||
|
*.map
|
||||||
|
*.exp
|
||||||
|
|
||||||
|
# Precompiled Headers
|
||||||
|
*.gch
|
||||||
|
*.pch
|
||||||
|
|
||||||
|
# Libraries
|
||||||
|
*.lib
|
||||||
|
*.a
|
||||||
|
*.la
|
||||||
|
*.lo
|
||||||
|
|
||||||
|
# Shared objects (inc. Windows DLLs)
|
||||||
|
*.dll
|
||||||
|
*.so
|
||||||
|
*.so.*
|
||||||
|
*.dylib
|
||||||
|
|
||||||
|
# Executables
|
||||||
|
*.exe
|
||||||
|
*.out
|
||||||
|
*.app
|
||||||
|
*.i*86
|
||||||
|
*.x86_64
|
||||||
|
*.hex
|
||||||
|
|
||||||
|
# Debug files
|
||||||
|
*.dSYM/
|
||||||
|
*.su
|
||||||
|
*.idb
|
||||||
|
*.pdb
|
||||||
|
|
||||||
|
# Kernel Module Compile Results
|
||||||
|
*.mod*
|
||||||
|
*.cmd
|
||||||
|
.tmp_versions/
|
||||||
|
modules.order
|
||||||
|
Module.symvers
|
||||||
|
Mkfile.old
|
||||||
|
dkms.conf
|
||||||
|
|
||||||
|
# ---> CMake
|
||||||
|
CMakeLists.txt.user
|
||||||
|
CMakeCache.txt
|
||||||
|
CMakeFiles
|
||||||
|
CMakeScripts
|
||||||
|
Testing
|
||||||
|
Makefile
|
||||||
|
cmake_install.cmake
|
||||||
|
install_manifest.txt
|
||||||
|
compile_commands.json
|
||||||
|
CTestTestfile.cmake
|
||||||
|
_deps
|
||||||
|
|
||||||
|
# ---> JetBrains
|
||||||
|
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
|
||||||
|
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
||||||
|
|
||||||
|
# User-specific stuff
|
||||||
|
.idea/**/workspace.xml
|
||||||
|
.idea/**/tasks.xml
|
||||||
|
.idea/**/usage.statistics.xml
|
||||||
|
.idea/**/dictionaries
|
||||||
|
.idea/**/shelf
|
||||||
|
|
||||||
|
# AWS User-specific
|
||||||
|
.idea/**/aws.xml
|
||||||
|
|
||||||
|
# Generated files
|
||||||
|
.idea/**/contentModel.xml
|
||||||
|
|
||||||
|
# Sensitive or high-churn files
|
||||||
|
.idea/**/dataSources/
|
||||||
|
.idea/**/dataSources.ids
|
||||||
|
.idea/**/dataSources.local.xml
|
||||||
|
.idea/**/sqlDataSources.xml
|
||||||
|
.idea/**/dynamic.xml
|
||||||
|
.idea/**/uiDesigner.xml
|
||||||
|
.idea/**/dbnavigator.xml
|
||||||
|
|
||||||
|
# Gradle
|
||||||
|
.idea/**/gradle.xml
|
||||||
|
.idea/**/libraries
|
||||||
|
|
||||||
|
# Gradle and Maven with auto-import
|
||||||
|
# When using Gradle or Maven with auto-import, you should exclude module files,
|
||||||
|
# since they will be recreated, and may cause churn. Uncomment if using
|
||||||
|
# auto-import.
|
||||||
|
# .idea/artifacts
|
||||||
|
# .idea/compiler.xml
|
||||||
|
# .idea/jarRepositories.xml
|
||||||
|
# .idea/modules.xml
|
||||||
|
# .idea/*.iml
|
||||||
|
# .idea/modules
|
||||||
|
# *.iml
|
||||||
|
# *.ipr
|
||||||
|
|
||||||
|
# CMake
|
||||||
|
cmake-build-*/
|
||||||
|
|
||||||
|
# Mongo Explorer plugin
|
||||||
|
.idea/**/mongoSettings.xml
|
||||||
|
|
||||||
|
# File-based project format
|
||||||
|
*.iws
|
||||||
|
|
||||||
|
# IntelliJ
|
||||||
|
out/
|
||||||
|
|
||||||
|
# mpeltonen/sbt-idea plugin
|
||||||
|
.idea_modules/
|
||||||
|
|
||||||
|
# JIRA plugin
|
||||||
|
atlassian-ide-plugin.xml
|
||||||
|
|
||||||
|
# Cursive Clojure plugin
|
||||||
|
.idea/replstate.xml
|
||||||
|
|
||||||
|
# SonarLint plugin
|
||||||
|
.idea/sonarlint/
|
||||||
|
|
||||||
|
# Crashlytics plugin (for Android Studio and IntelliJ)
|
||||||
|
com_crashlytics_export_strings.xml
|
||||||
|
crashlytics.properties
|
||||||
|
crashlytics-build.properties
|
||||||
|
fabric.properties
|
||||||
|
|
||||||
|
# Editor-based Rest Client
|
||||||
|
.idea/httpRequests
|
||||||
|
|
||||||
|
# Android studio 3.1+ serialized cache file
|
||||||
|
.idea/caches/build_file_checksums.ser
|
||||||
|
|
||||||
|
# ---> Linux
|
||||||
|
*~
|
||||||
|
|
||||||
|
# temporary files which can be created if a process still has a handle open of a deleted file
|
||||||
|
.fuse_hidden*
|
||||||
|
|
||||||
|
# KDE directory preferences
|
||||||
|
.directory
|
||||||
|
|
||||||
|
# Linux trash folder which might appear on any partition or disk
|
||||||
|
.Trash-*
|
||||||
|
|
||||||
|
# .nfs files are created when an open file is removed but is still being accessed
|
||||||
|
.nfs*
|
||||||
|
|
||||||
|
# ---> Ninja
|
||||||
|
.ninja_deps
|
||||||
|
.ninja_log
|
||||||
|
|
||||||
|
# ---> Python
|
||||||
|
# Byte-compiled / optimized / DLL files
|
||||||
|
__pycache__/
|
||||||
|
*.py[cod]
|
||||||
|
*$py.class
|
||||||
|
|
||||||
|
# C extensions
|
||||||
|
*.so
|
||||||
|
|
||||||
|
# Distribution / packaging
|
||||||
|
.Python
|
||||||
|
build/
|
||||||
|
develop-eggs/
|
||||||
|
dist/
|
||||||
|
downloads/
|
||||||
|
eggs/
|
||||||
|
.eggs/
|
||||||
|
lib/
|
||||||
|
lib64/
|
||||||
|
parts/
|
||||||
|
sdist/
|
||||||
|
var/
|
||||||
|
wheels/
|
||||||
|
share/python-wheels/
|
||||||
|
*.egg-info/
|
||||||
|
.installed.cfg
|
||||||
|
*.egg
|
||||||
|
MANIFEST
|
||||||
|
|
||||||
|
# PyInstaller
|
||||||
|
# Usually these files are written by a python script from a template
|
||||||
|
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
||||||
|
*.manifest
|
||||||
|
*.spec
|
||||||
|
|
||||||
|
# Installer logs
|
||||||
|
pip-log.txt
|
||||||
|
pip-delete-this-directory.txt
|
||||||
|
|
||||||
|
# Unit test / coverage reports
|
||||||
|
htmlcov/
|
||||||
|
.tox/
|
||||||
|
.nox/
|
||||||
|
.coverage
|
||||||
|
.coverage.*
|
||||||
|
.cache
|
||||||
|
nosetests.xml
|
||||||
|
coverage.xml
|
||||||
|
*.cover
|
||||||
|
*.py,cover
|
||||||
|
.hypothesis/
|
||||||
|
.pytest_cache/
|
||||||
|
cover/
|
||||||
|
|
||||||
|
# Translations
|
||||||
|
*.mo
|
||||||
|
*.pot
|
||||||
|
|
||||||
|
# Django stuff:
|
||||||
|
*.log
|
||||||
|
local_settings.py
|
||||||
|
db.sqlite3
|
||||||
|
db.sqlite3-journal
|
||||||
|
|
||||||
|
# Flask stuff:
|
||||||
|
instance/
|
||||||
|
.webassets-cache
|
||||||
|
|
||||||
|
# Scrapy stuff:
|
||||||
|
.scrapy
|
||||||
|
|
||||||
|
# Sphinx documentation
|
||||||
|
docs/_build/
|
||||||
|
|
||||||
|
# PyBuilder
|
||||||
|
.pybuilder/
|
||||||
|
target/
|
||||||
|
|
||||||
|
# Jupyter Notebook
|
||||||
|
.ipynb_checkpoints
|
||||||
|
|
||||||
|
# IPython
|
||||||
|
profile_default/
|
||||||
|
ipython_config.py
|
||||||
|
|
||||||
|
# pyenv
|
||||||
|
# For a library or package, you might want to ignore these files since the code is
|
||||||
|
# intended to run in multiple environments; otherwise, check them in:
|
||||||
|
# .python-version
|
||||||
|
|
||||||
|
# pipenv
|
||||||
|
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
||||||
|
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
||||||
|
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
||||||
|
# install all needed dependencies.
|
||||||
|
#Pipfile.lock
|
||||||
|
|
||||||
|
# poetry
|
||||||
|
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
||||||
|
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
||||||
|
# commonly ignored for libraries.
|
||||||
|
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
||||||
|
#poetry.lock
|
||||||
|
|
||||||
|
# pdm
|
||||||
|
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
||||||
|
#pdm.lock
|
||||||
|
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
||||||
|
# in version control.
|
||||||
|
# https://pdm.fming.dev/#use-with-ide
|
||||||
|
.pdm.toml
|
||||||
|
|
||||||
|
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
||||||
|
__pypackages__/
|
||||||
|
|
||||||
|
# Celery stuff
|
||||||
|
celerybeat-schedule
|
||||||
|
celerybeat.pid
|
||||||
|
|
||||||
|
# SageMath parsed files
|
||||||
|
*.sage.py
|
||||||
|
|
||||||
|
# Environments
|
||||||
|
.env
|
||||||
|
.venv
|
||||||
|
env/
|
||||||
|
venv/
|
||||||
|
ENV/
|
||||||
|
env.bak/
|
||||||
|
venv.bak/
|
||||||
|
|
||||||
|
# Spyder project settings
|
||||||
|
.spyderproject
|
||||||
|
.spyproject
|
||||||
|
|
||||||
|
# Rope project settings
|
||||||
|
.ropeproject
|
||||||
|
|
||||||
|
# mkdocs documentation
|
||||||
|
/site
|
||||||
|
|
||||||
|
# mypy
|
||||||
|
.mypy_cache/
|
||||||
|
.dmypy.json
|
||||||
|
dmypy.json
|
||||||
|
|
||||||
|
# Pyre type checker
|
||||||
|
.pyre/
|
||||||
|
|
||||||
|
# pytype static type analyzer
|
||||||
|
.pytype/
|
||||||
|
|
||||||
|
# Cython debug symbols
|
||||||
|
cython_debug/
|
||||||
|
|
||||||
|
# PyCharm
|
||||||
|
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
||||||
|
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
||||||
|
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
||||||
|
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
||||||
|
#.idea/
|
||||||
|
|
||||||
|
|||||||
23
.travis.yml
@ -1,23 +0,0 @@
|
|||||||
language: python
|
|
||||||
python:
|
|
||||||
- '2.7'
|
|
||||||
sudo: false
|
|
||||||
cache:
|
|
||||||
directories:
|
|
||||||
- "~/.platformio"
|
|
||||||
install:
|
|
||||||
- pip install -U platformio
|
|
||||||
|
|
||||||
script:
|
|
||||||
- platformio run
|
|
||||||
before_deploy:
|
|
||||||
- for file in .pioenvs/*/firmware.bin; do cp $file ${file%/*}.bin; done
|
|
||||||
deploy:
|
|
||||||
provider: releases
|
|
||||||
api_key:
|
|
||||||
secure: I5x8qJ5+229qJv5jSnNPGERQHl0NSKvrVHdpVzr/HOo2zeZ/Q5sMhHWo3IBD3AKjGdSlpyNApDwYTaGvenMe+xtUWSSxYIy2ptWAWfkpOtUMx3lI3brZJRt8s98xS5m972SC9mlNT2ZU+i6hZ6srYv2w4nDuyX+j7Q6IGqvYtabxUWzza/Zg0yNpPScvvzscW1CVhdEd5qYH6OKfBfuVOj3ZG4pCycvbejhkUJwbCQ5m8+DEXUol8BKeh92+TPC3jDHXWIStdgLIrmkZ3YWxMQBgQ41QIkaf6X1/0WYEcY0DFW6hlDzg2GbJ8tPRRPC9dfgMs3ZMKJkc7e4x7wMvG2QXQ0aO6e7xTMw41JZ/OrIit0JDHB1M8bWDPUhHwjiCht4W77n7KWFk9sIUDzOdMdd69BIMt5IohtkjnIT2dXekB4xiNvfPLYUa70aOuSHWi3HXVSE1R7RX0brmNf/mH1Pm91uun3UqtIwhrpD0gteQnc0EAlHoOJOazdn3cohrtmECZJo+f+EiqFfEHT2hBrHPEvWknNfxAyPS7jYWKQ7pTMk+y/BUkLyIQkimvNz41azA6sA75nnQrZ+ZJQa+KP2cEObMBs/ekzA45nds1UXpolI1W8QIOxJ/Y10C1yxr6V5a3WWg1H8EbF0HaqiyIeQx/UCz7gl62CbLEDui9PA=
|
|
||||||
file_glob: true
|
|
||||||
file: ".pioenvs/*.bin"
|
|
||||||
skip_cleanup: true
|
|
||||||
on:
|
|
||||||
tags: true
|
|
||||||
9
LICENSE
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2026 mgeppert
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
674
LICENSE.txt
@ -1,674 +0,0 @@
|
|||||||
GNU GENERAL PUBLIC LICENSE
|
|
||||||
Version 3, 29 June 2007
|
|
||||||
|
|
||||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
|
||||||
of this license document, but changing it is not allowed.
|
|
||||||
|
|
||||||
Preamble
|
|
||||||
|
|
||||||
The GNU General Public License is a free, copyleft license for
|
|
||||||
software and other kinds of works.
|
|
||||||
|
|
||||||
The licenses for most software and other practical works are designed
|
|
||||||
to take away your freedom to share and change the works. By contrast,
|
|
||||||
the GNU General Public License is intended to guarantee your freedom to
|
|
||||||
share and change all versions of a program--to make sure it remains free
|
|
||||||
software for all its users. We, the Free Software Foundation, use the
|
|
||||||
GNU General Public License for most of our software; it applies also to
|
|
||||||
any other work released this way by its authors. You can apply it to
|
|
||||||
your programs, too.
|
|
||||||
|
|
||||||
When we speak of free software, we are referring to freedom, not
|
|
||||||
price. Our General Public Licenses are designed to make sure that you
|
|
||||||
have the freedom to distribute copies of free software (and charge for
|
|
||||||
them if you wish), that you receive source code or can get it if you
|
|
||||||
want it, that you can change the software or use pieces of it in new
|
|
||||||
free programs, and that you know you can do these things.
|
|
||||||
|
|
||||||
To protect your rights, we need to prevent others from denying you
|
|
||||||
these rights or asking you to surrender the rights. Therefore, you have
|
|
||||||
certain responsibilities if you distribute copies of the software, or if
|
|
||||||
you modify it: responsibilities to respect the freedom of others.
|
|
||||||
|
|
||||||
For example, if you distribute copies of such a program, whether
|
|
||||||
gratis or for a fee, you must pass on to the recipients the same
|
|
||||||
freedoms that you received. You must make sure that they, too, receive
|
|
||||||
or can get the source code. And you must show them these terms so they
|
|
||||||
know their rights.
|
|
||||||
|
|
||||||
Developers that use the GNU GPL protect your rights with two steps:
|
|
||||||
(1) assert copyright on the software, and (2) offer you this License
|
|
||||||
giving you legal permission to copy, distribute and/or modify it.
|
|
||||||
|
|
||||||
For the developers' and authors' protection, the GPL clearly explains
|
|
||||||
that there is no warranty for this free software. For both users' and
|
|
||||||
authors' sake, the GPL requires that modified versions be marked as
|
|
||||||
changed, so that their problems will not be attributed erroneously to
|
|
||||||
authors of previous versions.
|
|
||||||
|
|
||||||
Some devices are designed to deny users access to install or run
|
|
||||||
modified versions of the software inside them, although the manufacturer
|
|
||||||
can do so. This is fundamentally incompatible with the aim of
|
|
||||||
protecting users' freedom to change the software. The systematic
|
|
||||||
pattern of such abuse occurs in the area of products for individuals to
|
|
||||||
use, which is precisely where it is most unacceptable. Therefore, we
|
|
||||||
have designed this version of the GPL to prohibit the practice for those
|
|
||||||
products. If such problems arise substantially in other domains, we
|
|
||||||
stand ready to extend this provision to those domains in future versions
|
|
||||||
of the GPL, as needed to protect the freedom of users.
|
|
||||||
|
|
||||||
Finally, every program is threatened constantly by software patents.
|
|
||||||
States should not allow patents to restrict development and use of
|
|
||||||
software on general-purpose computers, but in those that do, we wish to
|
|
||||||
avoid the special danger that patents applied to a free program could
|
|
||||||
make it effectively proprietary. To prevent this, the GPL assures that
|
|
||||||
patents cannot be used to render the program non-free.
|
|
||||||
|
|
||||||
The precise terms and conditions for copying, distribution and
|
|
||||||
modification follow.
|
|
||||||
|
|
||||||
TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
0. Definitions.
|
|
||||||
|
|
||||||
"This License" refers to version 3 of the GNU General Public License.
|
|
||||||
|
|
||||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
|
||||||
works, such as semiconductor masks.
|
|
||||||
|
|
||||||
"The Program" refers to any copyrightable work licensed under this
|
|
||||||
License. Each licensee is addressed as "you". "Licensees" and
|
|
||||||
"recipients" may be individuals or organizations.
|
|
||||||
|
|
||||||
To "modify" a work means to copy from or adapt all or part of the work
|
|
||||||
in a fashion requiring copyright permission, other than the making of an
|
|
||||||
exact copy. The resulting work is called a "modified version" of the
|
|
||||||
earlier work or a work "based on" the earlier work.
|
|
||||||
|
|
||||||
A "covered work" means either the unmodified Program or a work based
|
|
||||||
on the Program.
|
|
||||||
|
|
||||||
To "propagate" a work means to do anything with it that, without
|
|
||||||
permission, would make you directly or secondarily liable for
|
|
||||||
infringement under applicable copyright law, except executing it on a
|
|
||||||
computer or modifying a private copy. Propagation includes copying,
|
|
||||||
distribution (with or without modification), making available to the
|
|
||||||
public, and in some countries other activities as well.
|
|
||||||
|
|
||||||
To "convey" a work means any kind of propagation that enables other
|
|
||||||
parties to make or receive copies. Mere interaction with a user through
|
|
||||||
a computer network, with no transfer of a copy, is not conveying.
|
|
||||||
|
|
||||||
An interactive user interface displays "Appropriate Legal Notices"
|
|
||||||
to the extent that it includes a convenient and prominently visible
|
|
||||||
feature that (1) displays an appropriate copyright notice, and (2)
|
|
||||||
tells the user that there is no warranty for the work (except to the
|
|
||||||
extent that warranties are provided), that licensees may convey the
|
|
||||||
work under this License, and how to view a copy of this License. If
|
|
||||||
the interface presents a list of user commands or options, such as a
|
|
||||||
menu, a prominent item in the list meets this criterion.
|
|
||||||
|
|
||||||
1. Source Code.
|
|
||||||
|
|
||||||
The "source code" for a work means the preferred form of the work
|
|
||||||
for making modifications to it. "Object code" means any non-source
|
|
||||||
form of a work.
|
|
||||||
|
|
||||||
A "Standard Interface" means an interface that either is an official
|
|
||||||
standard defined by a recognized standards body, or, in the case of
|
|
||||||
interfaces specified for a particular programming language, one that
|
|
||||||
is widely used among developers working in that language.
|
|
||||||
|
|
||||||
The "System Libraries" of an executable work include anything, other
|
|
||||||
than the work as a whole, that (a) is included in the normal form of
|
|
||||||
packaging a Major Component, but which is not part of that Major
|
|
||||||
Component, and (b) serves only to enable use of the work with that
|
|
||||||
Major Component, or to implement a Standard Interface for which an
|
|
||||||
implementation is available to the public in source code form. A
|
|
||||||
"Major Component", in this context, means a major essential component
|
|
||||||
(kernel, window system, and so on) of the specific operating system
|
|
||||||
(if any) on which the executable work runs, or a compiler used to
|
|
||||||
produce the work, or an object code interpreter used to run it.
|
|
||||||
|
|
||||||
The "Corresponding Source" for a work in object code form means all
|
|
||||||
the source code needed to generate, install, and (for an executable
|
|
||||||
work) run the object code and to modify the work, including scripts to
|
|
||||||
control those activities. However, it does not include the work's
|
|
||||||
System Libraries, or general-purpose tools or generally available free
|
|
||||||
programs which are used unmodified in performing those activities but
|
|
||||||
which are not part of the work. For example, Corresponding Source
|
|
||||||
includes interface definition files associated with source files for
|
|
||||||
the work, and the source code for shared libraries and dynamically
|
|
||||||
linked subprograms that the work is specifically designed to require,
|
|
||||||
such as by intimate data communication or control flow between those
|
|
||||||
subprograms and other parts of the work.
|
|
||||||
|
|
||||||
The Corresponding Source need not include anything that users
|
|
||||||
can regenerate automatically from other parts of the Corresponding
|
|
||||||
Source.
|
|
||||||
|
|
||||||
The Corresponding Source for a work in source code form is that
|
|
||||||
same work.
|
|
||||||
|
|
||||||
2. Basic Permissions.
|
|
||||||
|
|
||||||
All rights granted under this License are granted for the term of
|
|
||||||
copyright on the Program, and are irrevocable provided the stated
|
|
||||||
conditions are met. This License explicitly affirms your unlimited
|
|
||||||
permission to run the unmodified Program. The output from running a
|
|
||||||
covered work is covered by this License only if the output, given its
|
|
||||||
content, constitutes a covered work. This License acknowledges your
|
|
||||||
rights of fair use or other equivalent, as provided by copyright law.
|
|
||||||
|
|
||||||
You may make, run and propagate covered works that you do not
|
|
||||||
convey, without conditions so long as your license otherwise remains
|
|
||||||
in force. You may convey covered works to others for the sole purpose
|
|
||||||
of having them make modifications exclusively for you, or provide you
|
|
||||||
with facilities for running those works, provided that you comply with
|
|
||||||
the terms of this License in conveying all material for which you do
|
|
||||||
not control copyright. Those thus making or running the covered works
|
|
||||||
for you must do so exclusively on your behalf, under your direction
|
|
||||||
and control, on terms that prohibit them from making any copies of
|
|
||||||
your copyrighted material outside their relationship with you.
|
|
||||||
|
|
||||||
Conveying under any other circumstances is permitted solely under
|
|
||||||
the conditions stated below. Sublicensing is not allowed; section 10
|
|
||||||
makes it unnecessary.
|
|
||||||
|
|
||||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
|
||||||
|
|
||||||
No covered work shall be deemed part of an effective technological
|
|
||||||
measure under any applicable law fulfilling obligations under article
|
|
||||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
|
||||||
similar laws prohibiting or restricting circumvention of such
|
|
||||||
measures.
|
|
||||||
|
|
||||||
When you convey a covered work, you waive any legal power to forbid
|
|
||||||
circumvention of technological measures to the extent such circumvention
|
|
||||||
is effected by exercising rights under this License with respect to
|
|
||||||
the covered work, and you disclaim any intention to limit operation or
|
|
||||||
modification of the work as a means of enforcing, against the work's
|
|
||||||
users, your or third parties' legal rights to forbid circumvention of
|
|
||||||
technological measures.
|
|
||||||
|
|
||||||
4. Conveying Verbatim Copies.
|
|
||||||
|
|
||||||
You may convey verbatim copies of the Program's source code as you
|
|
||||||
receive it, in any medium, provided that you conspicuously and
|
|
||||||
appropriately publish on each copy an appropriate copyright notice;
|
|
||||||
keep intact all notices stating that this License and any
|
|
||||||
non-permissive terms added in accord with section 7 apply to the code;
|
|
||||||
keep intact all notices of the absence of any warranty; and give all
|
|
||||||
recipients a copy of this License along with the Program.
|
|
||||||
|
|
||||||
You may charge any price or no price for each copy that you convey,
|
|
||||||
and you may offer support or warranty protection for a fee.
|
|
||||||
|
|
||||||
5. Conveying Modified Source Versions.
|
|
||||||
|
|
||||||
You may convey a work based on the Program, or the modifications to
|
|
||||||
produce it from the Program, in the form of source code under the
|
|
||||||
terms of section 4, provided that you also meet all of these conditions:
|
|
||||||
|
|
||||||
a) The work must carry prominent notices stating that you modified
|
|
||||||
it, and giving a relevant date.
|
|
||||||
|
|
||||||
b) The work must carry prominent notices stating that it is
|
|
||||||
released under this License and any conditions added under section
|
|
||||||
7. This requirement modifies the requirement in section 4 to
|
|
||||||
"keep intact all notices".
|
|
||||||
|
|
||||||
c) You must license the entire work, as a whole, under this
|
|
||||||
License to anyone who comes into possession of a copy. This
|
|
||||||
License will therefore apply, along with any applicable section 7
|
|
||||||
additional terms, to the whole of the work, and all its parts,
|
|
||||||
regardless of how they are packaged. This License gives no
|
|
||||||
permission to license the work in any other way, but it does not
|
|
||||||
invalidate such permission if you have separately received it.
|
|
||||||
|
|
||||||
d) If the work has interactive user interfaces, each must display
|
|
||||||
Appropriate Legal Notices; however, if the Program has interactive
|
|
||||||
interfaces that do not display Appropriate Legal Notices, your
|
|
||||||
work need not make them do so.
|
|
||||||
|
|
||||||
A compilation of a covered work with other separate and independent
|
|
||||||
works, which are not by their nature extensions of the covered work,
|
|
||||||
and which are not combined with it such as to form a larger program,
|
|
||||||
in or on a volume of a storage or distribution medium, is called an
|
|
||||||
"aggregate" if the compilation and its resulting copyright are not
|
|
||||||
used to limit the access or legal rights of the compilation's users
|
|
||||||
beyond what the individual works permit. Inclusion of a covered work
|
|
||||||
in an aggregate does not cause this License to apply to the other
|
|
||||||
parts of the aggregate.
|
|
||||||
|
|
||||||
6. Conveying Non-Source Forms.
|
|
||||||
|
|
||||||
You may convey a covered work in object code form under the terms
|
|
||||||
of sections 4 and 5, provided that you also convey the
|
|
||||||
machine-readable Corresponding Source under the terms of this License,
|
|
||||||
in one of these ways:
|
|
||||||
|
|
||||||
a) Convey the object code in, or embodied in, a physical product
|
|
||||||
(including a physical distribution medium), accompanied by the
|
|
||||||
Corresponding Source fixed on a durable physical medium
|
|
||||||
customarily used for software interchange.
|
|
||||||
|
|
||||||
b) Convey the object code in, or embodied in, a physical product
|
|
||||||
(including a physical distribution medium), accompanied by a
|
|
||||||
written offer, valid for at least three years and valid for as
|
|
||||||
long as you offer spare parts or customer support for that product
|
|
||||||
model, to give anyone who possesses the object code either (1) a
|
|
||||||
copy of the Corresponding Source for all the software in the
|
|
||||||
product that is covered by this License, on a durable physical
|
|
||||||
medium customarily used for software interchange, for a price no
|
|
||||||
more than your reasonable cost of physically performing this
|
|
||||||
conveying of source, or (2) access to copy the
|
|
||||||
Corresponding Source from a network server at no charge.
|
|
||||||
|
|
||||||
c) Convey individual copies of the object code with a copy of the
|
|
||||||
written offer to provide the Corresponding Source. This
|
|
||||||
alternative is allowed only occasionally and noncommercially, and
|
|
||||||
only if you received the object code with such an offer, in accord
|
|
||||||
with subsection 6b.
|
|
||||||
|
|
||||||
d) Convey the object code by offering access from a designated
|
|
||||||
place (gratis or for a charge), and offer equivalent access to the
|
|
||||||
Corresponding Source in the same way through the same place at no
|
|
||||||
further charge. You need not require recipients to copy the
|
|
||||||
Corresponding Source along with the object code. If the place to
|
|
||||||
copy the object code is a network server, the Corresponding Source
|
|
||||||
may be on a different server (operated by you or a third party)
|
|
||||||
that supports equivalent copying facilities, provided you maintain
|
|
||||||
clear directions next to the object code saying where to find the
|
|
||||||
Corresponding Source. Regardless of what server hosts the
|
|
||||||
Corresponding Source, you remain obligated to ensure that it is
|
|
||||||
available for as long as needed to satisfy these requirements.
|
|
||||||
|
|
||||||
e) Convey the object code using peer-to-peer transmission, provided
|
|
||||||
you inform other peers where the object code and Corresponding
|
|
||||||
Source of the work are being offered to the general public at no
|
|
||||||
charge under subsection 6d.
|
|
||||||
|
|
||||||
A separable portion of the object code, whose source code is excluded
|
|
||||||
from the Corresponding Source as a System Library, need not be
|
|
||||||
included in conveying the object code work.
|
|
||||||
|
|
||||||
A "User Product" is either (1) a "consumer product", which means any
|
|
||||||
tangible personal property which is normally used for personal, family,
|
|
||||||
or household purposes, or (2) anything designed or sold for incorporation
|
|
||||||
into a dwelling. In determining whether a product is a consumer product,
|
|
||||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
|
||||||
product received by a particular user, "normally used" refers to a
|
|
||||||
typical or common use of that class of product, regardless of the status
|
|
||||||
of the particular user or of the way in which the particular user
|
|
||||||
actually uses, or expects or is expected to use, the product. A product
|
|
||||||
is a consumer product regardless of whether the product has substantial
|
|
||||||
commercial, industrial or non-consumer uses, unless such uses represent
|
|
||||||
the only significant mode of use of the product.
|
|
||||||
|
|
||||||
"Installation Information" for a User Product means any methods,
|
|
||||||
procedures, authorization keys, or other information required to install
|
|
||||||
and execute modified versions of a covered work in that User Product from
|
|
||||||
a modified version of its Corresponding Source. The information must
|
|
||||||
suffice to ensure that the continued functioning of the modified object
|
|
||||||
code is in no case prevented or interfered with solely because
|
|
||||||
modification has been made.
|
|
||||||
|
|
||||||
If you convey an object code work under this section in, or with, or
|
|
||||||
specifically for use in, a User Product, and the conveying occurs as
|
|
||||||
part of a transaction in which the right of possession and use of the
|
|
||||||
User Product is transferred to the recipient in perpetuity or for a
|
|
||||||
fixed term (regardless of how the transaction is characterized), the
|
|
||||||
Corresponding Source conveyed under this section must be accompanied
|
|
||||||
by the Installation Information. But this requirement does not apply
|
|
||||||
if neither you nor any third party retains the ability to install
|
|
||||||
modified object code on the User Product (for example, the work has
|
|
||||||
been installed in ROM).
|
|
||||||
|
|
||||||
The requirement to provide Installation Information does not include a
|
|
||||||
requirement to continue to provide support service, warranty, or updates
|
|
||||||
for a work that has been modified or installed by the recipient, or for
|
|
||||||
the User Product in which it has been modified or installed. Access to a
|
|
||||||
network may be denied when the modification itself materially and
|
|
||||||
adversely affects the operation of the network or violates the rules and
|
|
||||||
protocols for communication across the network.
|
|
||||||
|
|
||||||
Corresponding Source conveyed, and Installation Information provided,
|
|
||||||
in accord with this section must be in a format that is publicly
|
|
||||||
documented (and with an implementation available to the public in
|
|
||||||
source code form), and must require no special password or key for
|
|
||||||
unpacking, reading or copying.
|
|
||||||
|
|
||||||
7. Additional Terms.
|
|
||||||
|
|
||||||
"Additional permissions" are terms that supplement the terms of this
|
|
||||||
License by making exceptions from one or more of its conditions.
|
|
||||||
Additional permissions that are applicable to the entire Program shall
|
|
||||||
be treated as though they were included in this License, to the extent
|
|
||||||
that they are valid under applicable law. If additional permissions
|
|
||||||
apply only to part of the Program, that part may be used separately
|
|
||||||
under those permissions, but the entire Program remains governed by
|
|
||||||
this License without regard to the additional permissions.
|
|
||||||
|
|
||||||
When you convey a copy of a covered work, you may at your option
|
|
||||||
remove any additional permissions from that copy, or from any part of
|
|
||||||
it. (Additional permissions may be written to require their own
|
|
||||||
removal in certain cases when you modify the work.) You may place
|
|
||||||
additional permissions on material, added by you to a covered work,
|
|
||||||
for which you have or can give appropriate copyright permission.
|
|
||||||
|
|
||||||
Notwithstanding any other provision of this License, for material you
|
|
||||||
add to a covered work, you may (if authorized by the copyright holders of
|
|
||||||
that material) supplement the terms of this License with terms:
|
|
||||||
|
|
||||||
a) Disclaiming warranty or limiting liability differently from the
|
|
||||||
terms of sections 15 and 16 of this License; or
|
|
||||||
|
|
||||||
b) Requiring preservation of specified reasonable legal notices or
|
|
||||||
author attributions in that material or in the Appropriate Legal
|
|
||||||
Notices displayed by works containing it; or
|
|
||||||
|
|
||||||
c) Prohibiting misrepresentation of the origin of that material, or
|
|
||||||
requiring that modified versions of such material be marked in
|
|
||||||
reasonable ways as different from the original version; or
|
|
||||||
|
|
||||||
d) Limiting the use for publicity purposes of names of licensors or
|
|
||||||
authors of the material; or
|
|
||||||
|
|
||||||
e) Declining to grant rights under trademark law for use of some
|
|
||||||
trade names, trademarks, or service marks; or
|
|
||||||
|
|
||||||
f) Requiring indemnification of licensors and authors of that
|
|
||||||
material by anyone who conveys the material (or modified versions of
|
|
||||||
it) with contractual assumptions of liability to the recipient, for
|
|
||||||
any liability that these contractual assumptions directly impose on
|
|
||||||
those licensors and authors.
|
|
||||||
|
|
||||||
All other non-permissive additional terms are considered "further
|
|
||||||
restrictions" within the meaning of section 10. If the Program as you
|
|
||||||
received it, or any part of it, contains a notice stating that it is
|
|
||||||
governed by this License along with a term that is a further
|
|
||||||
restriction, you may remove that term. If a license document contains
|
|
||||||
a further restriction but permits relicensing or conveying under this
|
|
||||||
License, you may add to a covered work material governed by the terms
|
|
||||||
of that license document, provided that the further restriction does
|
|
||||||
not survive such relicensing or conveying.
|
|
||||||
|
|
||||||
If you add terms to a covered work in accord with this section, you
|
|
||||||
must place, in the relevant source files, a statement of the
|
|
||||||
additional terms that apply to those files, or a notice indicating
|
|
||||||
where to find the applicable terms.
|
|
||||||
|
|
||||||
Additional terms, permissive or non-permissive, may be stated in the
|
|
||||||
form of a separately written license, or stated as exceptions;
|
|
||||||
the above requirements apply either way.
|
|
||||||
|
|
||||||
8. Termination.
|
|
||||||
|
|
||||||
You may not propagate or modify a covered work except as expressly
|
|
||||||
provided under this License. Any attempt otherwise to propagate or
|
|
||||||
modify it is void, and will automatically terminate your rights under
|
|
||||||
this License (including any patent licenses granted under the third
|
|
||||||
paragraph of section 11).
|
|
||||||
|
|
||||||
However, if you cease all violation of this License, then your
|
|
||||||
license from a particular copyright holder is reinstated (a)
|
|
||||||
provisionally, unless and until the copyright holder explicitly and
|
|
||||||
finally terminates your license, and (b) permanently, if the copyright
|
|
||||||
holder fails to notify you of the violation by some reasonable means
|
|
||||||
prior to 60 days after the cessation.
|
|
||||||
|
|
||||||
Moreover, your license from a particular copyright holder is
|
|
||||||
reinstated permanently if the copyright holder notifies you of the
|
|
||||||
violation by some reasonable means, this is the first time you have
|
|
||||||
received notice of violation of this License (for any work) from that
|
|
||||||
copyright holder, and you cure the violation prior to 30 days after
|
|
||||||
your receipt of the notice.
|
|
||||||
|
|
||||||
Termination of your rights under this section does not terminate the
|
|
||||||
licenses of parties who have received copies or rights from you under
|
|
||||||
this License. If your rights have been terminated and not permanently
|
|
||||||
reinstated, you do not qualify to receive new licenses for the same
|
|
||||||
material under section 10.
|
|
||||||
|
|
||||||
9. Acceptance Not Required for Having Copies.
|
|
||||||
|
|
||||||
You are not required to accept this License in order to receive or
|
|
||||||
run a copy of the Program. Ancillary propagation of a covered work
|
|
||||||
occurring solely as a consequence of using peer-to-peer transmission
|
|
||||||
to receive a copy likewise does not require acceptance. However,
|
|
||||||
nothing other than this License grants you permission to propagate or
|
|
||||||
modify any covered work. These actions infringe copyright if you do
|
|
||||||
not accept this License. Therefore, by modifying or propagating a
|
|
||||||
covered work, you indicate your acceptance of this License to do so.
|
|
||||||
|
|
||||||
10. Automatic Licensing of Downstream Recipients.
|
|
||||||
|
|
||||||
Each time you convey a covered work, the recipient automatically
|
|
||||||
receives a license from the original licensors, to run, modify and
|
|
||||||
propagate that work, subject to this License. You are not responsible
|
|
||||||
for enforcing compliance by third parties with this License.
|
|
||||||
|
|
||||||
An "entity transaction" is a transaction transferring control of an
|
|
||||||
organization, or substantially all assets of one, or subdividing an
|
|
||||||
organization, or merging organizations. If propagation of a covered
|
|
||||||
work results from an entity transaction, each party to that
|
|
||||||
transaction who receives a copy of the work also receives whatever
|
|
||||||
licenses to the work the party's predecessor in interest had or could
|
|
||||||
give under the previous paragraph, plus a right to possession of the
|
|
||||||
Corresponding Source of the work from the predecessor in interest, if
|
|
||||||
the predecessor has it or can get it with reasonable efforts.
|
|
||||||
|
|
||||||
You may not impose any further restrictions on the exercise of the
|
|
||||||
rights granted or affirmed under this License. For example, you may
|
|
||||||
not impose a license fee, royalty, or other charge for exercise of
|
|
||||||
rights granted under this License, and you may not initiate litigation
|
|
||||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
|
||||||
any patent claim is infringed by making, using, selling, offering for
|
|
||||||
sale, or importing the Program or any portion of it.
|
|
||||||
|
|
||||||
11. Patents.
|
|
||||||
|
|
||||||
A "contributor" is a copyright holder who authorizes use under this
|
|
||||||
License of the Program or a work on which the Program is based. The
|
|
||||||
work thus licensed is called the contributor's "contributor version".
|
|
||||||
|
|
||||||
A contributor's "essential patent claims" are all patent claims
|
|
||||||
owned or controlled by the contributor, whether already acquired or
|
|
||||||
hereafter acquired, that would be infringed by some manner, permitted
|
|
||||||
by this License, of making, using, or selling its contributor version,
|
|
||||||
but do not include claims that would be infringed only as a
|
|
||||||
consequence of further modification of the contributor version. For
|
|
||||||
purposes of this definition, "control" includes the right to grant
|
|
||||||
patent sublicenses in a manner consistent with the requirements of
|
|
||||||
this License.
|
|
||||||
|
|
||||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
|
||||||
patent license under the contributor's essential patent claims, to
|
|
||||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
|
||||||
propagate the contents of its contributor version.
|
|
||||||
|
|
||||||
In the following three paragraphs, a "patent license" is any express
|
|
||||||
agreement or commitment, however denominated, not to enforce a patent
|
|
||||||
(such as an express permission to practice a patent or covenant not to
|
|
||||||
sue for patent infringement). To "grant" such a patent license to a
|
|
||||||
party means to make such an agreement or commitment not to enforce a
|
|
||||||
patent against the party.
|
|
||||||
|
|
||||||
If you convey a covered work, knowingly relying on a patent license,
|
|
||||||
and the Corresponding Source of the work is not available for anyone
|
|
||||||
to copy, free of charge and under the terms of this License, through a
|
|
||||||
publicly available network server or other readily accessible means,
|
|
||||||
then you must either (1) cause the Corresponding Source to be so
|
|
||||||
available, or (2) arrange to deprive yourself of the benefit of the
|
|
||||||
patent license for this particular work, or (3) arrange, in a manner
|
|
||||||
consistent with the requirements of this License, to extend the patent
|
|
||||||
license to downstream recipients. "Knowingly relying" means you have
|
|
||||||
actual knowledge that, but for the patent license, your conveying the
|
|
||||||
covered work in a country, or your recipient's use of the covered work
|
|
||||||
in a country, would infringe one or more identifiable patents in that
|
|
||||||
country that you have reason to believe are valid.
|
|
||||||
|
|
||||||
If, pursuant to or in connection with a single transaction or
|
|
||||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
|
||||||
covered work, and grant a patent license to some of the parties
|
|
||||||
receiving the covered work authorizing them to use, propagate, modify
|
|
||||||
or convey a specific copy of the covered work, then the patent license
|
|
||||||
you grant is automatically extended to all recipients of the covered
|
|
||||||
work and works based on it.
|
|
||||||
|
|
||||||
A patent license is "discriminatory" if it does not include within
|
|
||||||
the scope of its coverage, prohibits the exercise of, or is
|
|
||||||
conditioned on the non-exercise of one or more of the rights that are
|
|
||||||
specifically granted under this License. You may not convey a covered
|
|
||||||
work if you are a party to an arrangement with a third party that is
|
|
||||||
in the business of distributing software, under which you make payment
|
|
||||||
to the third party based on the extent of your activity of conveying
|
|
||||||
the work, and under which the third party grants, to any of the
|
|
||||||
parties who would receive the covered work from you, a discriminatory
|
|
||||||
patent license (a) in connection with copies of the covered work
|
|
||||||
conveyed by you (or copies made from those copies), or (b) primarily
|
|
||||||
for and in connection with specific products or compilations that
|
|
||||||
contain the covered work, unless you entered into that arrangement,
|
|
||||||
or that patent license was granted, prior to 28 March 2007.
|
|
||||||
|
|
||||||
Nothing in this License shall be construed as excluding or limiting
|
|
||||||
any implied license or other defenses to infringement that may
|
|
||||||
otherwise be available to you under applicable patent law.
|
|
||||||
|
|
||||||
12. No Surrender of Others' Freedom.
|
|
||||||
|
|
||||||
If conditions are imposed on you (whether by court order, agreement or
|
|
||||||
otherwise) that contradict the conditions of this License, they do not
|
|
||||||
excuse you from the conditions of this License. If you cannot convey a
|
|
||||||
covered work so as to satisfy simultaneously your obligations under this
|
|
||||||
License and any other pertinent obligations, then as a consequence you may
|
|
||||||
not convey it at all. For example, if you agree to terms that obligate you
|
|
||||||
to collect a royalty for further conveying from those to whom you convey
|
|
||||||
the Program, the only way you could satisfy both those terms and this
|
|
||||||
License would be to refrain entirely from conveying the Program.
|
|
||||||
|
|
||||||
13. Use with the GNU Affero General Public License.
|
|
||||||
|
|
||||||
Notwithstanding any other provision of this License, you have
|
|
||||||
permission to link or combine any covered work with a work licensed
|
|
||||||
under version 3 of the GNU Affero General Public License into a single
|
|
||||||
combined work, and to convey the resulting work. The terms of this
|
|
||||||
License will continue to apply to the part which is the covered work,
|
|
||||||
but the special requirements of the GNU Affero General Public License,
|
|
||||||
section 13, concerning interaction through a network will apply to the
|
|
||||||
combination as such.
|
|
||||||
|
|
||||||
14. Revised Versions of this License.
|
|
||||||
|
|
||||||
The Free Software Foundation may publish revised and/or new versions of
|
|
||||||
the GNU General Public License from time to time. Such new versions will
|
|
||||||
be similar in spirit to the present version, but may differ in detail to
|
|
||||||
address new problems or concerns.
|
|
||||||
|
|
||||||
Each version is given a distinguishing version number. If the
|
|
||||||
Program specifies that a certain numbered version of the GNU General
|
|
||||||
Public License "or any later version" applies to it, you have the
|
|
||||||
option of following the terms and conditions either of that numbered
|
|
||||||
version or of any later version published by the Free Software
|
|
||||||
Foundation. If the Program does not specify a version number of the
|
|
||||||
GNU General Public License, you may choose any version ever published
|
|
||||||
by the Free Software Foundation.
|
|
||||||
|
|
||||||
If the Program specifies that a proxy can decide which future
|
|
||||||
versions of the GNU General Public License can be used, that proxy's
|
|
||||||
public statement of acceptance of a version permanently authorizes you
|
|
||||||
to choose that version for the Program.
|
|
||||||
|
|
||||||
Later license versions may give you additional or different
|
|
||||||
permissions. However, no additional obligations are imposed on any
|
|
||||||
author or copyright holder as a result of your choosing to follow a
|
|
||||||
later version.
|
|
||||||
|
|
||||||
15. Disclaimer of Warranty.
|
|
||||||
|
|
||||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
|
||||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
|
||||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
|
||||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
|
||||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
||||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
|
||||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
|
||||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
|
||||||
|
|
||||||
16. Limitation of Liability.
|
|
||||||
|
|
||||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
|
||||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
|
||||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
|
||||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
|
||||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
|
||||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
|
||||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
|
||||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
|
||||||
SUCH DAMAGES.
|
|
||||||
|
|
||||||
17. Interpretation of Sections 15 and 16.
|
|
||||||
|
|
||||||
If the disclaimer of warranty and limitation of liability provided
|
|
||||||
above cannot be given local legal effect according to their terms,
|
|
||||||
reviewing courts shall apply local law that most closely approximates
|
|
||||||
an absolute waiver of all civil liability in connection with the
|
|
||||||
Program, unless a warranty or assumption of liability accompanies a
|
|
||||||
copy of the Program in return for a fee.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
How to Apply These Terms to Your New Programs
|
|
||||||
|
|
||||||
If you develop a new program, and you want it to be of the greatest
|
|
||||||
possible use to the public, the best way to achieve this is to make it
|
|
||||||
free software which everyone can redistribute and change under these terms.
|
|
||||||
|
|
||||||
To do so, attach the following notices to the program. It is safest
|
|
||||||
to attach them to the start of each source file to most effectively
|
|
||||||
state the exclusion of warranty; and each file should have at least
|
|
||||||
the "copyright" line and a pointer to where the full notice is found.
|
|
||||||
|
|
||||||
{one line to give the program's name and a brief idea of what it does.}
|
|
||||||
Copyright (C) {year} {name of author}
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
Also add information on how to contact you by electronic and paper mail.
|
|
||||||
|
|
||||||
If the program does terminal interaction, make it output a short
|
|
||||||
notice like this when it starts in an interactive mode:
|
|
||||||
|
|
||||||
{project} Copyright (C) {year} {fullname}
|
|
||||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
|
||||||
This is free software, and you are welcome to redistribute it
|
|
||||||
under certain conditions; type `show c' for details.
|
|
||||||
|
|
||||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
|
||||||
parts of the General Public License. Of course, your program's commands
|
|
||||||
might be different; for a GUI interface, you would use an "about box".
|
|
||||||
|
|
||||||
You should also get your employer (if you work as a programmer) or school,
|
|
||||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
|
||||||
For more information on this, and how to apply and follow the GNU GPL, see
|
|
||||||
<http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
The GNU General Public License does not permit incorporating your program
|
|
||||||
into proprietary programs. If your program is a subroutine library, you
|
|
||||||
may consider it more useful to permit linking proprietary applications with
|
|
||||||
the library. If this is what you want to do, use the GNU Lesser General
|
|
||||||
Public License instead of this License. But first, please read
|
|
||||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
|
||||||
70
README.md
@ -1,69 +1,3 @@
|
|||||||
## Sonoff-Tasmota
|
# Tasmota
|
||||||
Provide ESP8266 based Sonoff by [iTead Studio](https://www.itead.cc/) and ElectroDragon IoT Relay with Serial, Web and MQTT control allowing 'Over the Air' or OTA firmware updates using Arduino IDE.
|
|
||||||
|
|
||||||
Current version is **5.12.0** - See [sonoff/_releasenotes.ino](https://github.com/arendst/Sonoff-Tasmota/blob/master/sonoff/_releasenotes.ino) for change information.
|
Local copy of the https://github.com/arendst/Tasmota#
|
||||||
|
|
||||||
### ATTENTION All versions
|
|
||||||
|
|
||||||
Only Flash Mode DOUT is supported. Do not use Flash Mode DIO / QIO / QOUT as it might seem to brick your device.
|
|
||||||
|
|
||||||
See [Wiki](https://github.com/arendst/Sonoff-Tasmota/wiki/Theo's-Tasmota-Tips) for background information.
|
|
||||||
|
|
||||||
### ATTENTION Version 5 and up
|
|
||||||
|
|
||||||
These versions use a new linker script to free flash memory for future code additions. It moves the settings from Spiffs to Eeprom. If you compile your own firmware download the new linker to your IDE or Platformio base folder. See [Wiki > Prerequisite](https://github.com/arendst/Sonoff-Tasmota/wiki/Prerequisite).
|
|
||||||
|
|
||||||
Best practice to implement is:
|
|
||||||
- Open the webpage to your device
|
|
||||||
- Perform option ``Backup Configuration``
|
|
||||||
- Upgrade new firmware using ``Firmware upgrade``
|
|
||||||
- If configuration conversion fails keep the webpage open and perform ``Restore Configuration``
|
|
||||||
|
|
||||||
You should now have a device with 32k more code memory to play with.
|
|
||||||
|
|
||||||
### Version Information
|
|
||||||
|
|
||||||
- Sonoff-Tasmota provides all (Sonoff) modules in one file and starts with module Sonoff Basic.
|
|
||||||
- Once uploaded select module using the configuration webpage or the commands ```Modules``` and ```Module```.
|
|
||||||
- After reboot select config menu again or use commands ```GPIOs``` and ```GPIO``` to change GPIO with desired sensor.
|
|
||||||
|
|
||||||
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/sonoffbasic.jpg" width="250" align="right" />
|
|
||||||
|
|
||||||
See [Wiki](https://github.com/arendst/Sonoff-Tasmota/wiki) for more information.<br />
|
|
||||||
See [Community](https://groups.google.com/d/forum/sonoffusers) for forum and more user experience.
|
|
||||||
|
|
||||||
The following devices are supported:
|
|
||||||
- [iTead Sonoff Basic](https://www.itead.cc/smart-home/sonoff-wifi-wireless-switch-1.html)
|
|
||||||
- [iTead Sonoff RF](https://www.itead.cc/smart-home/sonoff-rf.html)
|
|
||||||
- [iTead Sonoff SV](https://www.itead.cc/smart-home/sonoff-sv.html)<img src="https://github.com/arendst/arendst.github.io/blob/master/media/sonoff_th.jpg" width="250" align="right" />
|
|
||||||
- [iTead Sonoff TH10/TH16 with temperature sensor](https://www.itead.cc/smart-home/sonoff-th.html)
|
|
||||||
- [iTead Sonoff Dual (R2)](https://www.itead.cc/smart-home/sonoff-dual.html)
|
|
||||||
- [iTead Sonoff Pow](https://www.itead.cc/smart-home/sonoff-pow.html)
|
|
||||||
- [iTead Sonoff 4CH](https://www.itead.cc/smart-home/sonoff-4ch.html)
|
|
||||||
- [iTead Sonoff 4CH Pro](https://www.itead.cc/smart-home/sonoff-4ch-pro.html)
|
|
||||||
- [iTead S20 Smart Socket](https://www.itead.cc/smart-socket.html)
|
|
||||||
- [Sonoff S22 Smart Socket](https://github.com/arendst/Sonoff-Tasmota/issues/627)
|
|
||||||
- [iTead Sonoff S31 Smart Socket with Energy Monitoring](https://www.itead.cc/sonoff-s31.html)
|
|
||||||
- [iTead Slampher](https://www.itead.cc/slampher.html)
|
|
||||||
- [iTead Sonoff Touch](https://www.itead.cc/sonoff-touch.html)
|
|
||||||
- [iTead Sonoff T1](https://www.itead.cc/sonoff-t1.html)
|
|
||||||
- [iTead Sonoff SC](https://www.itead.cc/sonoff-sc.html)
|
|
||||||
- [iTead Sonoff Led](https://www.itead.cc/sonoff-led.html)<img src="https://github.com/arendst/arendst.github.io/blob/master/media/sonoff4ch.jpg" height="250" align="right" />
|
|
||||||
- [iTead Sonoff BN-SZ01 Ceiling Led](https://www.itead.cc/bn-sz01.html)
|
|
||||||
- [iTead Sonoff B1](https://www.itead.cc/sonoff-b1.html)
|
|
||||||
- [iTead Sonoff RF Bridge 433](https://www.itead.cc/sonoff-rf-bridge-433.html)
|
|
||||||
- [iTead Sonoff Dev](https://www.itead.cc/sonoff-dev.html)
|
|
||||||
- [iTead 1 Channel Switch 5V / 12V](https://www.itead.cc/smart-home/inching-self-locking-wifi-wireless-switch.html)
|
|
||||||
- [iTead Motor Clockwise/Anticlockwise](https://www.itead.cc/smart-home/motor-reversing-wifi-wireless-switch.html)
|
|
||||||
- [Electrodragon IoT Relay Board](http://www.electrodragon.com/product/wifi-iot-relay-board-based-esp8266/)
|
|
||||||
- AI Light or any my9291 compatible RGBW LED bulb
|
|
||||||
- H801 PWM LED controller
|
|
||||||
- [MagicHome PWM LED controller](https://github.com/arendst/Sonoff-Tasmota/wiki/MagicHome-LED-strip-controller)
|
|
||||||
- AriLux AL-LC01, AL-LC06 and AL-LC11 PWM LED controller
|
|
||||||
- [Supla device - Espablo-inCan mod. for electrical Installation box](https://forum.supla.org/viewtopic.php?f=33&t=2188)
|
|
||||||
- [Luani HVIO board](https://luani.de/projekte/esp8266-hvio/)
|
|
||||||
- Wemos D1 mini and NodeMcu
|
|
||||||
|
|
||||||
### License
|
|
||||||
|
|
||||||
This program is licensed under GPL-3.0
|
|
||||||
@ -1,15 +0,0 @@
|
|||||||
<?php
|
|
||||||
// mkdir and chmod arduino folder to 777
|
|
||||||
//
|
|
||||||
//var_dump($_FILES);
|
|
||||||
|
|
||||||
$image = basename($_FILES["file"]["name"]);
|
|
||||||
$target_file = "arduino/".$image;
|
|
||||||
$hostname = $_SERVER['SERVER_NAME'];
|
|
||||||
|
|
||||||
if (move_uploaded_file($_FILES["file"]["tmp_name"], $target_file)) {
|
|
||||||
echo "The file $image has been uploaded to OTA server $hostname. \n";
|
|
||||||
} else {
|
|
||||||
echo "Sorry, there was an error uploading your file $image to OTA server $hostname. \n";
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
@ -1,112 +0,0 @@
|
|||||||
#!/usr/bin/python
|
|
||||||
#
|
|
||||||
# espupload by Theo Arends - 20170103
|
|
||||||
#
|
|
||||||
# Uploads binary file to OTA server
|
|
||||||
#
|
|
||||||
# Execute: espupload -i <Host_IP_address> -p <Host_port> -f <sketch.bin>
|
|
||||||
#
|
|
||||||
# Needs pycurl
|
|
||||||
# - pip install pycurl
|
|
||||||
|
|
||||||
import sys
|
|
||||||
import os
|
|
||||||
import optparse
|
|
||||||
import logging
|
|
||||||
import pycurl
|
|
||||||
|
|
||||||
HOST_ADDR = "domus1"
|
|
||||||
HOST_PORT = 80
|
|
||||||
HOST_URL = "/api/upload-arduino.php"
|
|
||||||
|
|
||||||
def upload(hostAddr, hostPort, filename):
|
|
||||||
url = 'http://%s:%d%s' % (hostAddr, hostPort, HOST_URL)
|
|
||||||
c = pycurl.Curl()
|
|
||||||
c.setopt(c.URL, url)
|
|
||||||
# The "Expect:" is there to suppress "Expect: 100-continue" behaviour that is
|
|
||||||
# the default in libcurl when posting large bodies (and fails on lighttpd).
|
|
||||||
c.setopt(c.HTTPHEADER, ["Expect:"])
|
|
||||||
c.setopt(c.HTTPPOST, [('file', (c.FORM_FILE, filename, )), ])
|
|
||||||
c.perform()
|
|
||||||
c.close()
|
|
||||||
|
|
||||||
def parser():
|
|
||||||
parser = optparse.OptionParser(
|
|
||||||
usage = "%prog [options]",
|
|
||||||
description = "Upload image to over the air Host server for the esp8266 module with OTA support."
|
|
||||||
)
|
|
||||||
|
|
||||||
# destination ip and port
|
|
||||||
group = optparse.OptionGroup(parser, "Destination")
|
|
||||||
group.add_option("-i", "--host_ip",
|
|
||||||
dest = "host_ip",
|
|
||||||
action = "store",
|
|
||||||
help = "Host IP Address.",
|
|
||||||
default = HOST_ADDR
|
|
||||||
)
|
|
||||||
group.add_option("-p", "--host_port",
|
|
||||||
dest = "host_port",
|
|
||||||
type = "int",
|
|
||||||
help = "Host server ota Port. Default 80",
|
|
||||||
default = HOST_PORT
|
|
||||||
)
|
|
||||||
parser.add_option_group(group)
|
|
||||||
|
|
||||||
# image
|
|
||||||
group = optparse.OptionGroup(parser, "Image")
|
|
||||||
group.add_option("-f", "--file",
|
|
||||||
dest = "image",
|
|
||||||
help = "Image file.",
|
|
||||||
metavar="FILE",
|
|
||||||
default = None
|
|
||||||
)
|
|
||||||
parser.add_option_group(group)
|
|
||||||
|
|
||||||
# output group
|
|
||||||
group = optparse.OptionGroup(parser, "Output")
|
|
||||||
group.add_option("-d", "--debug",
|
|
||||||
dest = "debug",
|
|
||||||
help = "Show debug output. And override loglevel with debug.",
|
|
||||||
action = "store_true",
|
|
||||||
default = False
|
|
||||||
)
|
|
||||||
parser.add_option_group(group)
|
|
||||||
|
|
||||||
(options, args) = parser.parse_args()
|
|
||||||
|
|
||||||
return options
|
|
||||||
# end parser
|
|
||||||
|
|
||||||
def main(args):
|
|
||||||
# get options
|
|
||||||
options = parser()
|
|
||||||
|
|
||||||
# adapt log level
|
|
||||||
loglevel = logging.WARNING
|
|
||||||
if (options.debug):
|
|
||||||
loglevel = logging.DEBUG
|
|
||||||
# end if
|
|
||||||
|
|
||||||
# logging
|
|
||||||
logging.basicConfig(level = loglevel, format = '%(asctime)-8s [%(levelname)s]: %(message)s', datefmt = '%H:%M:%S')
|
|
||||||
|
|
||||||
logging.debug("Options: %s", str(options))
|
|
||||||
|
|
||||||
if (not options.host_ip or not options.image):
|
|
||||||
logging.critical("Not enough arguments.")
|
|
||||||
|
|
||||||
return 1
|
|
||||||
# end if
|
|
||||||
|
|
||||||
if not os.path.exists(options.image):
|
|
||||||
logging.critical('Sorry: the file %s does not exist', options.image)
|
|
||||||
|
|
||||||
return 1
|
|
||||||
# end if
|
|
||||||
|
|
||||||
upload(options.host_ip, options.host_port, options.image)
|
|
||||||
# end main
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
sys.exit(main(sys.argv))
|
|
||||||
# end if
|
|
||||||
@ -1,130 +0,0 @@
|
|||||||
|
|
||||||
# ESP8266 platform
|
|
||||||
# ------------------------------
|
|
||||||
|
|
||||||
# For more info:
|
|
||||||
# https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5---3rd-party-Hardware-specification
|
|
||||||
|
|
||||||
name=ESP8266 Modules
|
|
||||||
version=2.2.0
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
compiler.warning_flags=-w
|
|
||||||
compiler.warning_flags.none=-w
|
|
||||||
compiler.warning_flags.default=
|
|
||||||
compiler.warning_flags.more=-Wall
|
|
||||||
compiler.warning_flags.all=-Wall -Wextra
|
|
||||||
|
|
||||||
build.lwip_lib=-llwip_gcc
|
|
||||||
build.lwip_flags=-DLWIP_OPEN_SRC
|
|
||||||
|
|
||||||
compiler.path={runtime.tools.xtensa-lx106-elf-gcc.path}/bin/
|
|
||||||
compiler.sdk.path={runtime.platform.path}/tools/sdk
|
|
||||||
compiler.cpreprocessor.flags=-D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-I{compiler.sdk.path}/include" "-I{compiler.sdk.path}/lwip/include" "-I{build.path}/core"
|
|
||||||
|
|
||||||
compiler.c.cmd=xtensa-lx106-elf-gcc
|
|
||||||
compiler.c.flags=-c {compiler.warning_flags} -Os -g -Wpointer-arith -Wno-implicit-function-declaration -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -falign-functions=4 -MMD -std=gnu99 -ffunction-sections -fdata-sections
|
|
||||||
|
|
||||||
compiler.S.cmd=xtensa-lx106-elf-gcc
|
|
||||||
compiler.S.flags=-c -g -x assembler-with-cpp -MMD -mlongcalls
|
|
||||||
|
|
||||||
compiler.c.elf.flags=-g {compiler.warning_flags} -Os -nostdlib -Wl,--no-check-sections -u call_user_start -Wl,-static "-L{compiler.sdk.path}/lib" "-L{compiler.sdk.path}/ld" "-T{build.flash_ld}" -Wl,--gc-sections -Wl,-wrap,system_restart_local -Wl,-wrap,register_chipv6_phy
|
|
||||||
|
|
||||||
compiler.c.elf.cmd=xtensa-lx106-elf-gcc
|
|
||||||
compiler.c.elf.libs=-lm -lgcc -lhal -lphy -lpp -lnet80211 -lwpa -lcrypto -lmain -lwps -laxtls -lsmartconfig -lmesh -lwpa2 {build.lwip_lib} -lstdc++
|
|
||||||
|
|
||||||
compiler.cpp.cmd=xtensa-lx106-elf-g++
|
|
||||||
compiler.cpp.flags=-c {compiler.warning_flags} -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections
|
|
||||||
|
|
||||||
compiler.as.cmd=xtensa-lx106-elf-as
|
|
||||||
|
|
||||||
compiler.ar.cmd=xtensa-lx106-elf-ar
|
|
||||||
compiler.ar.flags=cru
|
|
||||||
|
|
||||||
compiler.elf2hex.cmd=esptool
|
|
||||||
compiler.elf2hex.flags=
|
|
||||||
|
|
||||||
compiler.size.cmd=xtensa-lx106-elf-size
|
|
||||||
|
|
||||||
compiler.esptool.cmd=esptool
|
|
||||||
compiler.esptool.cmd.windows=esptool.exe
|
|
||||||
|
|
||||||
# This can be overriden in boards.txt
|
|
||||||
build.extra_flags=-DESP8266
|
|
||||||
|
|
||||||
# These can be overridden in platform.local.txt
|
|
||||||
compiler.c.extra_flags=
|
|
||||||
compiler.c.elf.extra_flags=
|
|
||||||
compiler.S.extra_flags=
|
|
||||||
compiler.cpp.extra_flags=
|
|
||||||
compiler.ar.extra_flags=
|
|
||||||
compiler.objcopy.eep.extra_flags=
|
|
||||||
compiler.elf2hex.extra_flags=
|
|
||||||
|
|
||||||
## generate file with git version number
|
|
||||||
## needs bash, git, and echo
|
|
||||||
|
|
||||||
## windows-compatible version may be added later
|
|
||||||
|
|
||||||
|
|
||||||
## Compile c files
|
|
||||||
recipe.c.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.cpreprocessor.flags} {compiler.c.flags} -DF_CPU={build.f_cpu} {build.lwip_flags} {build.debug_port} {build.debug_level} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} -DARDUINO_BOARD="{build.board}" {compiler.c.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{object_file}"
|
|
||||||
|
|
||||||
## Compile c++ files
|
|
||||||
recipe.cpp.o.pattern="{compiler.path}{compiler.cpp.cmd}" {compiler.cpreprocessor.flags} {compiler.cpp.flags} -DF_CPU={build.f_cpu} {build.lwip_flags} {build.debug_port} {build.debug_level} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} -DARDUINO_BOARD="{build.board}" {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{object_file}"
|
|
||||||
|
|
||||||
## Compile S files
|
|
||||||
recipe.S.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.cpreprocessor.flags} {compiler.S.flags} -DF_CPU={build.f_cpu} {build.lwip_flags} {build.debug_port} {build.debug_level} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} -DARDUINO_BOARD="{build.board}" {compiler.c.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{object_file}"
|
|
||||||
|
|
||||||
## Create archives
|
|
||||||
recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{build.path}/arduino.ar" "{object_file}"
|
|
||||||
|
|
||||||
## Combine gc-sections, archives, and objects
|
|
||||||
recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.flags} {compiler.c.elf.extra_flags} -o "{build.path}/{build.project_name}.elf" -Wl,--start-group {object_files} "{build.path}/arduino.ar" {compiler.c.elf.libs} -Wl,--end-group "-L{build.path}"
|
|
||||||
|
|
||||||
## Create eeprom
|
|
||||||
recipe.objcopy.eep.pattern=
|
|
||||||
|
|
||||||
## Create hex
|
|
||||||
#recipe.objcopy.hex.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf2hex.flags} {compiler.elf2hex.extra_flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.hex"
|
|
||||||
|
|
||||||
recipe.objcopy.hex.pattern="{runtime.tools.esptool.path}/{compiler.esptool.cmd}" -eo "{runtime.platform.path}/bootloaders/eboot/eboot.elf" -bo "{build.path}/{build.project_name}.bin" -bm {build.flash_mode} -bf {build.flash_freq} -bz {build.flash_size} -bs .text -bp 4096 -ec -eo "{build.path}/{build.project_name}.elf" -bs .irom0.text -bs .text -bs .data -bs .rodata -bc -ec
|
|
||||||
|
|
||||||
## Save hex
|
|
||||||
recipe.output.tmp_file={build.project_name}.bin
|
|
||||||
recipe.output.save_file={build.project_name}.{build.variant}.bin
|
|
||||||
|
|
||||||
## Compute size
|
|
||||||
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
|
|
||||||
recipe.size.regex=^(?:\.irom0\.text|\.text|\.data|\.rodata|)\s+([0-9]+).*
|
|
||||||
recipe.size.regex.data=^(?:\.data|\.rodata|\.bss)\s+([0-9]+).*
|
|
||||||
#recipe.size.regex.eeprom=^(?:\.eeprom)\s+([0-9]+).*
|
|
||||||
|
|
||||||
# ------------------------------
|
|
||||||
|
|
||||||
tools.esptool.cmd=esptool
|
|
||||||
tools.esptool.cmd.windows=esptool.exe
|
|
||||||
tools.esptool.path={runtime.tools.esptool.path}
|
|
||||||
tools.esptool.network_cmd=python
|
|
||||||
tools.esptool.network_cmd.windows=python.exe
|
|
||||||
|
|
||||||
tools.esptool.upload.protocol=esp
|
|
||||||
tools.esptool.upload.params.verbose=-vv
|
|
||||||
tools.esptool.upload.params.quiet=
|
|
||||||
tools.esptool.upload.pattern="{path}/{cmd}" {upload.verbose} -cd {upload.resetmethod} -cb {upload.speed} -cp "{serial.port}" -ca 0x00000 -cf "{build.path}/{build.project_name}.bin"
|
|
||||||
tools.esptool.upload.network_pattern="{network_cmd}" "{runtime.platform.path}/tools/espota.py" -i "{serial.port}" -p "{network.port}" "--auth={network.password}" -f "{build.path}/{build.project_name}.bin"
|
|
||||||
|
|
||||||
tools.mkspiffs.cmd=mkspiffs
|
|
||||||
tools.mkspiffs.cmd.windows=mkspiffs.exe
|
|
||||||
tools.mkspiffs.path={runtime.tools.mkspiffs.path}
|
|
||||||
|
|
||||||
tools.espupload.cmd=python
|
|
||||||
tools.espupload.cmd.windows=python.exe
|
|
||||||
tools.espupload.path={runtime.platform.path}/tools
|
|
||||||
|
|
||||||
tools.espupload.upload.protocol=espupload
|
|
||||||
tools.espupload.upload.params.verbose=
|
|
||||||
tools.espupload.upload.params.quiet=
|
|
||||||
tools.espupload.upload.pattern="{cmd}" "{path}/espupload.py" -f "{build.path}/{build.project_name}.bin"
|
|
||||||
@ -1,18 +0,0 @@
|
|||||||
/* Flash Split for 1M chips, no SPIFFS */
|
|
||||||
/* sketch 999KB */
|
|
||||||
/* eeprom 20KB */
|
|
||||||
|
|
||||||
MEMORY
|
|
||||||
{
|
|
||||||
dport0_0_seg : org = 0x3FF00000, len = 0x10
|
|
||||||
dram0_0_seg : org = 0x3FFE8000, len = 0x14000
|
|
||||||
iram1_0_seg : org = 0x40100000, len = 0x8000
|
|
||||||
irom0_0_seg : org = 0x40201010, len = 0xf9ff0
|
|
||||||
}
|
|
||||||
|
|
||||||
PROVIDE ( _SPIFFS_start = 0x402FB000 );
|
|
||||||
PROVIDE ( _SPIFFS_end = 0x402FB000 );
|
|
||||||
PROVIDE ( _SPIFFS_page = 0 );
|
|
||||||
PROVIDE ( _SPIFFS_block = 0 );
|
|
||||||
|
|
||||||
INCLUDE "../ld/eagle.app.v6.common.ld"
|
|
||||||
@ -1,133 +0,0 @@
|
|||||||
|
|
||||||
# ESP8266 platform
|
|
||||||
# ------------------------------
|
|
||||||
|
|
||||||
# For more info:
|
|
||||||
# https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5---3rd-party-Hardware-specification
|
|
||||||
|
|
||||||
name=ESP8266 Modules
|
|
||||||
version=2.4.0
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
compiler.warning_flags=-w
|
|
||||||
compiler.warning_flags.none=-w
|
|
||||||
compiler.warning_flags.default=
|
|
||||||
compiler.warning_flags.more=-Wall
|
|
||||||
compiler.warning_flags.all=-Wall -Wextra
|
|
||||||
|
|
||||||
build.lwip_lib=-llwip_gcc
|
|
||||||
build.lwip_include=lwip/include
|
|
||||||
build.lwip_flags=-DLWIP_OPEN_SRC
|
|
||||||
|
|
||||||
compiler.path={runtime.tools.xtensa-lx106-elf-gcc.path}/bin/
|
|
||||||
compiler.sdk.path={runtime.platform.path}/tools/sdk
|
|
||||||
compiler.libc.path={runtime.platform.path}/tools/sdk/libc/xtensa-lx106-elf
|
|
||||||
compiler.cpreprocessor.flags=-D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-I{compiler.sdk.path}/include" "-I{compiler.sdk.path}/{build.lwip_include}" "-I{compiler.libc.path}/include" "-I{build.path}/core"
|
|
||||||
|
|
||||||
compiler.c.cmd=xtensa-lx106-elf-gcc
|
|
||||||
compiler.c.flags=-c {compiler.warning_flags} -Os -g -Wpointer-arith -Wno-implicit-function-declaration -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -falign-functions=4 -MMD -std=gnu99 -ffunction-sections -fdata-sections
|
|
||||||
|
|
||||||
compiler.S.cmd=xtensa-lx106-elf-gcc
|
|
||||||
compiler.S.flags=-c -g -x assembler-with-cpp -MMD -mlongcalls
|
|
||||||
|
|
||||||
# compiler.c.elf.flags=-g {compiler.warning_flags} -Os -nostdlib -Wl,--no-check-sections -u call_user_start -u _printf_float -u _scanf_float -Wl,-static "-L{compiler.sdk.path}/lib" "-L{compiler.sdk.path}/ld" "-L{compiler.libc.path}/lib" "-T{build.flash_ld}" -Wl,--gc-sections -Wl,-wrap,system_restart_local -Wl,-wrap,spi_flash_read
|
|
||||||
compiler.c.elf.flags=-g {compiler.warning_flags} -Os -nostdlib -Wl,--no-check-sections -u call_user_start -Wl,-static "-L{compiler.sdk.path}/lib" "-L{compiler.sdk.path}/ld" "-L{compiler.libc.path}/lib" "-T{build.flash_ld}" -Wl,--gc-sections -Wl,-wrap,system_restart_local -Wl,-wrap,spi_flash_read
|
|
||||||
|
|
||||||
compiler.c.elf.cmd=xtensa-lx106-elf-gcc
|
|
||||||
compiler.c.elf.libs=-lhal -lphy -lpp -lnet80211 {build.lwip_lib} -lwpa -lcrypto -lmain -lwps -laxtls -lespnow -lsmartconfig -lairkiss -lmesh -lwpa2 -lstdc++ -lm -lc -lgcc
|
|
||||||
|
|
||||||
compiler.cpp.cmd=xtensa-lx106-elf-g++
|
|
||||||
compiler.cpp.flags=-c {compiler.warning_flags} -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections
|
|
||||||
|
|
||||||
compiler.as.cmd=xtensa-lx106-elf-as
|
|
||||||
|
|
||||||
compiler.ar.cmd=xtensa-lx106-elf-ar
|
|
||||||
compiler.ar.flags=cru
|
|
||||||
|
|
||||||
compiler.elf2hex.cmd=esptool
|
|
||||||
compiler.elf2hex.flags=
|
|
||||||
|
|
||||||
compiler.size.cmd=xtensa-lx106-elf-size
|
|
||||||
|
|
||||||
compiler.esptool.cmd=esptool
|
|
||||||
compiler.esptool.cmd.windows=esptool.exe
|
|
||||||
|
|
||||||
# This can be overriden in boards.txt
|
|
||||||
build.extra_flags=-DESP8266
|
|
||||||
|
|
||||||
# These can be overridden in platform.local.txt
|
|
||||||
compiler.c.extra_flags=
|
|
||||||
compiler.c.elf.extra_flags=
|
|
||||||
compiler.S.extra_flags=
|
|
||||||
compiler.cpp.extra_flags=
|
|
||||||
compiler.ar.extra_flags=
|
|
||||||
compiler.objcopy.eep.extra_flags=
|
|
||||||
compiler.elf2hex.extra_flags=
|
|
||||||
|
|
||||||
## generate file with git version number
|
|
||||||
## needs bash, git, and echo
|
|
||||||
|
|
||||||
## windows-compatible version may be added later
|
|
||||||
|
|
||||||
|
|
||||||
## Compile c files
|
|
||||||
recipe.c.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.cpreprocessor.flags} {compiler.c.flags} -DF_CPU={build.f_cpu} {build.lwip_flags} {build.debug_port} {build.debug_level} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} -DARDUINO_BOARD="{build.board}" {compiler.c.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{object_file}"
|
|
||||||
|
|
||||||
## Compile c++ files
|
|
||||||
recipe.cpp.o.pattern="{compiler.path}{compiler.cpp.cmd}" {compiler.cpreprocessor.flags} {compiler.cpp.flags} -DF_CPU={build.f_cpu} {build.lwip_flags} {build.debug_port} {build.debug_level} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} -DARDUINO_BOARD="{build.board}" {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{object_file}"
|
|
||||||
|
|
||||||
## Compile S files
|
|
||||||
recipe.S.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.cpreprocessor.flags} {compiler.S.flags} -DF_CPU={build.f_cpu} {build.lwip_flags} {build.debug_port} {build.debug_level} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} -DARDUINO_BOARD="{build.board}" {compiler.c.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{object_file}"
|
|
||||||
|
|
||||||
## Create archives
|
|
||||||
recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{build.path}/arduino.ar" "{object_file}"
|
|
||||||
|
|
||||||
## Combine gc-sections, archives, and objects
|
|
||||||
recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.flags} {compiler.c.elf.extra_flags} -o "{build.path}/{build.project_name}.elf" -Wl,--start-group {object_files} "{build.path}/arduino.ar" {compiler.c.elf.libs} -Wl,--end-group "-L{build.path}"
|
|
||||||
|
|
||||||
## Create eeprom
|
|
||||||
recipe.objcopy.eep.pattern=
|
|
||||||
|
|
||||||
## Create hex
|
|
||||||
#recipe.objcopy.hex.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf2hex.flags} {compiler.elf2hex.extra_flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.hex"
|
|
||||||
|
|
||||||
recipe.objcopy.hex.pattern="{runtime.tools.esptool.path}/{compiler.esptool.cmd}" -eo "{runtime.platform.path}/bootloaders/eboot/eboot.elf" -bo "{build.path}/{build.project_name}.bin" -bm {build.flash_mode} -bf {build.flash_freq} -bz {build.flash_size} -bs .text -bp 4096 -ec -eo "{build.path}/{build.project_name}.elf" -bs .irom0.text -bs .text -bs .data -bs .rodata -bc -ec
|
|
||||||
|
|
||||||
## Save hex
|
|
||||||
recipe.output.tmp_file={build.project_name}.bin
|
|
||||||
recipe.output.save_file={build.project_name}.{build.variant}.bin
|
|
||||||
|
|
||||||
## Compute size
|
|
||||||
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
|
|
||||||
recipe.size.regex=^(?:\.irom0\.text|\.text|\.data|\.rodata|)\s+([0-9]+).*
|
|
||||||
recipe.size.regex.data=^(?:\.data|\.rodata|\.bss)\s+([0-9]+).*
|
|
||||||
#recipe.size.regex.eeprom=^(?:\.eeprom)\s+([0-9]+).*
|
|
||||||
|
|
||||||
# ------------------------------
|
|
||||||
|
|
||||||
tools.esptool.cmd=esptool
|
|
||||||
tools.esptool.cmd.windows=esptool.exe
|
|
||||||
tools.esptool.path={runtime.tools.esptool.path}
|
|
||||||
tools.esptool.network_cmd=python
|
|
||||||
tools.esptool.network_cmd.windows=python.exe
|
|
||||||
|
|
||||||
tools.esptool.upload.protocol=esp
|
|
||||||
tools.esptool.upload.params.verbose=-vv
|
|
||||||
tools.esptool.upload.params.quiet=
|
|
||||||
tools.esptool.upload.pattern="{path}/{cmd}" {upload.verbose} -cd {upload.resetmethod} -cb {upload.speed} -cp "{serial.port}" -ca 0x00000 -cf "{build.path}/{build.project_name}.bin"
|
|
||||||
tools.esptool.upload.network_pattern="{network_cmd}" "{runtime.platform.path}/tools/espota.py" -i "{serial.port}" -p "{network.port}" "--auth={network.password}" -f "{build.path}/{build.project_name}.bin"
|
|
||||||
|
|
||||||
tools.mkspiffs.cmd=mkspiffs
|
|
||||||
tools.mkspiffs.cmd.windows=mkspiffs.exe
|
|
||||||
tools.mkspiffs.path={runtime.tools.mkspiffs.path}
|
|
||||||
|
|
||||||
tools.espupload.cmd=python
|
|
||||||
tools.espupload.cmd.windows=python.exe
|
|
||||||
tools.espupload.path={runtime.platform.path}/tools
|
|
||||||
|
|
||||||
tools.espupload.upload.protocol=espupload
|
|
||||||
tools.espupload.upload.params.verbose=
|
|
||||||
tools.espupload.upload.params.quiet=
|
|
||||||
tools.espupload.upload.pattern="{cmd}" "{path}/espupload.py" -f "{build.path}/{build.project_name}.bin"
|
|
||||||
@ -1,18 +0,0 @@
|
|||||||
/* Flash Split for 1M chips */
|
|
||||||
/* sketch 999KB */
|
|
||||||
/* eeprom 20KB */
|
|
||||||
|
|
||||||
MEMORY
|
|
||||||
{
|
|
||||||
dport0_0_seg : org = 0x3FF00000, len = 0x10
|
|
||||||
dram0_0_seg : org = 0x3FFE8000, len = 0x14000
|
|
||||||
iram1_0_seg : org = 0x40100000, len = 0x8000
|
|
||||||
irom0_0_seg : org = 0x40201010, len = 0xf9ff0
|
|
||||||
}
|
|
||||||
|
|
||||||
PROVIDE ( _SPIFFS_start = 0x402FB000 );
|
|
||||||
PROVIDE ( _SPIFFS_end = 0x402FB000 );
|
|
||||||
PROVIDE ( _SPIFFS_page = 0 );
|
|
||||||
PROVIDE ( _SPIFFS_block = 0 );
|
|
||||||
|
|
||||||
INCLUDE "esp8266.flash.common.ld"
|
|
||||||
1
lib/Adafruit_BME680-1.0.5/.gitignore
vendored
@ -1 +0,0 @@
|
|||||||
*~
|
|
||||||
@ -1,605 +0,0 @@
|
|||||||
/***************************************************************************
|
|
||||||
This is a library for the BME680 humidity, temperature & pressure sensor
|
|
||||||
|
|
||||||
Designed specifically to work with the Adafruit BME680 Breakout
|
|
||||||
----> http://www.adafruit.com/products/2650
|
|
||||||
|
|
||||||
These sensors use I2C or SPI to communicate, 2 or 4 pins are required
|
|
||||||
to interface.
|
|
||||||
|
|
||||||
Adafruit invests time and resources providing this open source code,
|
|
||||||
please support Adafruit andopen-source hardware by purchasing products
|
|
||||||
from Adafruit!
|
|
||||||
|
|
||||||
Written by Limor Fried & Kevin Townsend for Adafruit Industries.
|
|
||||||
BSD license, all text above must be included in any redistribution
|
|
||||||
***************************************************************************/
|
|
||||||
#include "Arduino.h"
|
|
||||||
#include "Adafruit_BME680.h"
|
|
||||||
|
|
||||||
//#define BME680_DEBUG
|
|
||||||
|
|
||||||
// must be global in order to work with underlying library
|
|
||||||
int8_t _BME680_SoftwareSPI_MOSI, _BME680_SoftwareSPI_MISO, _BME680_SoftwareSPI_SCK;
|
|
||||||
|
|
||||||
// Our hardware interface functions
|
|
||||||
static int8_t i2c_write(uint8_t dev_id, uint8_t reg_addr, uint8_t *reg_data, uint16_t len);
|
|
||||||
static int8_t i2c_read(uint8_t dev_id, uint8_t reg_addr, uint8_t *reg_data, uint16_t len);
|
|
||||||
static int8_t spi_read(uint8_t dev_id, uint8_t reg_addr, uint8_t *reg_data, uint16_t len);
|
|
||||||
static int8_t spi_write(uint8_t dev_id, uint8_t reg_addr, uint8_t *reg_data, uint16_t len);
|
|
||||||
static uint8_t spi_transfer(uint8_t x);
|
|
||||||
static void delay_msec(uint32_t ms);
|
|
||||||
|
|
||||||
/***************************************************************************
|
|
||||||
PUBLIC FUNCTIONS
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
/**************************************************************************/
|
|
||||||
/*!
|
|
||||||
@brief Instantiates sensor with Hardware SPI or I2C.
|
|
||||||
@param cspin SPI chip select. If not passed in, I2C will be used
|
|
||||||
*/
|
|
||||||
/**************************************************************************/
|
|
||||||
Adafruit_BME680::Adafruit_BME680(int8_t cspin)
|
|
||||||
: _cs(cspin)
|
|
||||||
{
|
|
||||||
_BME680_SoftwareSPI_MOSI = -1;
|
|
||||||
_BME680_SoftwareSPI_MISO = -1;
|
|
||||||
_BME680_SoftwareSPI_SCK = -1;
|
|
||||||
_filterEnabled = _tempEnabled = _humEnabled = _presEnabled = _gasEnabled = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**************************************************************************/
|
|
||||||
/*!
|
|
||||||
@brief Instantiates sensor with Software (bit-bang) SPI.
|
|
||||||
@param cspin SPI chip select
|
|
||||||
@param mosipin SPI MOSI (Data from microcontroller to sensor)
|
|
||||||
@param misopin SPI MISO (Data to microcontroller from sensor)
|
|
||||||
@param sckpin SPI Clock
|
|
||||||
*/
|
|
||||||
/**************************************************************************/
|
|
||||||
Adafruit_BME680::Adafruit_BME680(int8_t cspin, int8_t mosipin, int8_t misopin, int8_t sckpin)
|
|
||||||
: _cs(cspin)
|
|
||||||
{
|
|
||||||
_BME680_SoftwareSPI_MOSI = mosipin;
|
|
||||||
_BME680_SoftwareSPI_MISO = misopin;
|
|
||||||
_BME680_SoftwareSPI_SCK = sckpin;
|
|
||||||
_filterEnabled = _tempEnabled = _humEnabled = _presEnabled = _gasEnabled = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**************************************************************************/
|
|
||||||
/*!
|
|
||||||
@brief Initializes the sensor
|
|
||||||
|
|
||||||
Hardware ss initialized, verifies it is in the I2C or SPI bus, then reads
|
|
||||||
calibration data in preparation for sensor reads.
|
|
||||||
|
|
||||||
@param addr Optional parameter for the I2C address of BME680. Default is 0x77
|
|
||||||
@return True on sensor initialization success. False on failure.
|
|
||||||
*/
|
|
||||||
/**************************************************************************/
|
|
||||||
bool Adafruit_BME680::begin(uint8_t addr) {
|
|
||||||
_i2caddr = addr;
|
|
||||||
|
|
||||||
if (_cs == -1) {
|
|
||||||
// i2c
|
|
||||||
Wire.begin();
|
|
||||||
|
|
||||||
gas_sensor.dev_id = addr;
|
|
||||||
gas_sensor.intf = BME680_I2C_INTF;
|
|
||||||
gas_sensor.read = &i2c_read;
|
|
||||||
gas_sensor.write = &i2c_write;
|
|
||||||
} else {
|
|
||||||
digitalWrite(_cs, HIGH);
|
|
||||||
pinMode(_cs, OUTPUT);
|
|
||||||
|
|
||||||
if (_BME680_SoftwareSPI_SCK == -1) {
|
|
||||||
// hardware SPI
|
|
||||||
SPI.begin();
|
|
||||||
} else {
|
|
||||||
// software SPI
|
|
||||||
pinMode(_BME680_SoftwareSPI_SCK, OUTPUT);
|
|
||||||
pinMode(_BME680_SoftwareSPI_MOSI, OUTPUT);
|
|
||||||
pinMode(_BME680_SoftwareSPI_MISO, INPUT);
|
|
||||||
}
|
|
||||||
|
|
||||||
gas_sensor.dev_id = _cs;
|
|
||||||
gas_sensor.intf = BME680_SPI_INTF;
|
|
||||||
gas_sensor.read = &spi_read;
|
|
||||||
gas_sensor.write = &spi_write;
|
|
||||||
}
|
|
||||||
|
|
||||||
gas_sensor.delay_ms = delay_msec;
|
|
||||||
|
|
||||||
int8_t rslt = BME680_OK;
|
|
||||||
rslt = bme680_init(&gas_sensor);
|
|
||||||
#ifdef BME680_DEBUG
|
|
||||||
Serial.print("Result: "); Serial.println(rslt);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (rslt != BME680_OK)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
#ifdef BME680_DEBUG
|
|
||||||
Serial.print("T1 = "); Serial.println(gas_sensor.calib.par_t1);
|
|
||||||
Serial.print("T2 = "); Serial.println(gas_sensor.calib.par_t2);
|
|
||||||
Serial.print("T3 = "); Serial.println(gas_sensor.calib.par_t3);
|
|
||||||
Serial.print("P1 = "); Serial.println(gas_sensor.calib.par_p1);
|
|
||||||
Serial.print("P2 = "); Serial.println(gas_sensor.calib.par_p2);
|
|
||||||
Serial.print("P3 = "); Serial.println(gas_sensor.calib.par_p3);
|
|
||||||
Serial.print("P4 = "); Serial.println(gas_sensor.calib.par_p4);
|
|
||||||
Serial.print("P5 = "); Serial.println(gas_sensor.calib.par_p5);
|
|
||||||
Serial.print("P6 = "); Serial.println(gas_sensor.calib.par_p6);
|
|
||||||
Serial.print("P7 = "); Serial.println(gas_sensor.calib.par_p7);
|
|
||||||
Serial.print("P8 = "); Serial.println(gas_sensor.calib.par_p8);
|
|
||||||
Serial.print("P9 = "); Serial.println(gas_sensor.calib.par_p9);
|
|
||||||
Serial.print("P10 = "); Serial.println(gas_sensor.calib.par_p10);
|
|
||||||
Serial.print("H1 = "); Serial.println(gas_sensor.calib.par_h1);
|
|
||||||
Serial.print("H2 = "); Serial.println(gas_sensor.calib.par_h2);
|
|
||||||
Serial.print("H3 = "); Serial.println(gas_sensor.calib.par_h3);
|
|
||||||
Serial.print("H4 = "); Serial.println(gas_sensor.calib.par_h4);
|
|
||||||
Serial.print("H5 = "); Serial.println(gas_sensor.calib.par_h5);
|
|
||||||
Serial.print("H6 = "); Serial.println(gas_sensor.calib.par_h6);
|
|
||||||
Serial.print("H7 = "); Serial.println(gas_sensor.calib.par_h7);
|
|
||||||
Serial.print("G1 = "); Serial.println(gas_sensor.calib.par_gh1);
|
|
||||||
Serial.print("G2 = "); Serial.println(gas_sensor.calib.par_gh2);
|
|
||||||
Serial.print("G3 = "); Serial.println(gas_sensor.calib.par_gh3);
|
|
||||||
Serial.print("G1 = "); Serial.println(gas_sensor.calib.par_gh1);
|
|
||||||
Serial.print("G2 = "); Serial.println(gas_sensor.calib.par_gh2);
|
|
||||||
Serial.print("G3 = "); Serial.println(gas_sensor.calib.par_gh3);
|
|
||||||
Serial.print("Heat Range = "); Serial.println(gas_sensor.calib.res_heat_range);
|
|
||||||
Serial.print("Heat Val = "); Serial.println(gas_sensor.calib.res_heat_val);
|
|
||||||
Serial.print("SW Error = "); Serial.println(gas_sensor.calib.range_sw_err);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
setTemperatureOversampling(BME680_OS_8X);
|
|
||||||
setHumidityOversampling(BME680_OS_2X);
|
|
||||||
setPressureOversampling(BME680_OS_4X);
|
|
||||||
setIIRFilterSize(BME680_FILTER_SIZE_3);
|
|
||||||
setGasHeater(320, 150); // 320*C for 150 ms
|
|
||||||
|
|
||||||
// don't do anything till we request a reading
|
|
||||||
gas_sensor.power_mode = BME680_FORCED_MODE;
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**************************************************************************/
|
|
||||||
/*!
|
|
||||||
@brief Performs a reading and returns the ambient temperature.
|
|
||||||
@return Temperature in degrees Centigrade
|
|
||||||
*/
|
|
||||||
/**************************************************************************/
|
|
||||||
float Adafruit_BME680::readTemperature(void) {
|
|
||||||
performReading();
|
|
||||||
return temperature;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**************************************************************************/
|
|
||||||
/*!
|
|
||||||
@brief Performs a reading and returns the barometric pressure.
|
|
||||||
@return Barometic pressure in Pascals
|
|
||||||
*/
|
|
||||||
/**************************************************************************/
|
|
||||||
float Adafruit_BME680::readPressure(void) {
|
|
||||||
performReading();
|
|
||||||
return pressure;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**************************************************************************/
|
|
||||||
/*!
|
|
||||||
@brief Performs a reading and returns the relative humidity.
|
|
||||||
@return Relative humidity as floating point
|
|
||||||
*/
|
|
||||||
/**************************************************************************/
|
|
||||||
float Adafruit_BME680::readHumidity(void) {
|
|
||||||
performReading();
|
|
||||||
return humidity;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**************************************************************************/
|
|
||||||
/*!
|
|
||||||
@brief Calculates the resistance of the MOX gas sensor.
|
|
||||||
@return Resistance in Ohms
|
|
||||||
*/
|
|
||||||
/**************************************************************************/
|
|
||||||
uint32_t Adafruit_BME680::readGas(void) {
|
|
||||||
performReading();
|
|
||||||
return gas_resistance;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**************************************************************************/
|
|
||||||
/*!
|
|
||||||
@brief Calculates the altitude (in meters).
|
|
||||||
|
|
||||||
Reads the current atmostpheric pressure (in hPa) from the sensor and calculates
|
|
||||||
via the provided sea-level pressure (in hPa).
|
|
||||||
|
|
||||||
@param seaLevel Sea-level pressure in hPa
|
|
||||||
@return Altitude in meters
|
|
||||||
*/
|
|
||||||
/**************************************************************************/
|
|
||||||
float Adafruit_BME680::readAltitude(float seaLevel)
|
|
||||||
{
|
|
||||||
// Equation taken from BMP180 datasheet (page 16):
|
|
||||||
// http://www.adafruit.com/datasheets/BST-BMP180-DS000-09.pdf
|
|
||||||
|
|
||||||
// Note that using the equation from wikipedia can give bad results
|
|
||||||
// at high altitude. See this thread for more information:
|
|
||||||
// http://forums.adafruit.com/viewtopic.php?f=22&t=58064
|
|
||||||
|
|
||||||
float atmospheric = readPressure() / 100.0F;
|
|
||||||
return 44330.0 * (1.0 - pow(atmospheric / seaLevel, 0.1903));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**************************************************************************/
|
|
||||||
/*!
|
|
||||||
@brief Performs a full reading of all 4 sensors in the BME680.
|
|
||||||
|
|
||||||
Assigns the internal Adafruit_BME680#temperature, Adafruit_BME680#pressure, Adafruit_BME680#humidity
|
|
||||||
and Adafruit_BME680#gas_resistance member variables
|
|
||||||
|
|
||||||
@return True on success, False on failure
|
|
||||||
*/
|
|
||||||
/**************************************************************************/
|
|
||||||
bool Adafruit_BME680::performReading(void) {
|
|
||||||
uint8_t set_required_settings = 0;
|
|
||||||
struct bme680_field_data data;
|
|
||||||
int8_t rslt;
|
|
||||||
|
|
||||||
/* Select the power mode */
|
|
||||||
/* Must be set before writing the sensor configuration */
|
|
||||||
gas_sensor.power_mode = BME680_FORCED_MODE;
|
|
||||||
|
|
||||||
/* Set the required sensor settings needed */
|
|
||||||
if (_tempEnabled)
|
|
||||||
set_required_settings |= BME680_OST_SEL;
|
|
||||||
if (_humEnabled)
|
|
||||||
set_required_settings |= BME680_OSH_SEL;
|
|
||||||
if (_presEnabled)
|
|
||||||
set_required_settings |= BME680_OSP_SEL;
|
|
||||||
if (_filterEnabled)
|
|
||||||
set_required_settings |= BME680_FILTER_SEL;
|
|
||||||
if (_gasEnabled)
|
|
||||||
set_required_settings |= BME680_GAS_SENSOR_SEL;
|
|
||||||
|
|
||||||
/* Set the desired sensor configuration */
|
|
||||||
//Serial.println("Setting sensor settings");
|
|
||||||
rslt = bme680_set_sensor_settings(set_required_settings, &gas_sensor);
|
|
||||||
if (rslt != BME680_OK)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
/* Set the power mode */
|
|
||||||
//Serial.println("Setting power mode");
|
|
||||||
rslt = bme680_set_sensor_mode(&gas_sensor);
|
|
||||||
if (rslt != BME680_OK)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
/* Get the total measurement duration so as to sleep or wait till the
|
|
||||||
* measurement is complete */
|
|
||||||
uint16_t meas_period;
|
|
||||||
bme680_get_profile_dur(&meas_period, &gas_sensor);
|
|
||||||
//Serial.print("Waiting (ms) "); Serial.println(meas_period);
|
|
||||||
delay(meas_period * 2); /* Delay till the measurement is ready */
|
|
||||||
|
|
||||||
//Serial.print("t_fine = "); Serial.println(gas_sensor.calib.t_fine);
|
|
||||||
|
|
||||||
//Serial.println("Getting sensor data");
|
|
||||||
rslt = bme680_get_sensor_data(&data, &gas_sensor);
|
|
||||||
if (rslt != BME680_OK)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
if (_tempEnabled) {
|
|
||||||
//Serial.print("Temp: "); Serial.println(data.temperature / 100.0, 2);
|
|
||||||
temperature = data.temperature / 100.0;
|
|
||||||
} else {
|
|
||||||
temperature = NAN;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (_humEnabled) {
|
|
||||||
//Serial.print("Hum: "); Serial.println(data.humidity / 1000.0, 2);
|
|
||||||
humidity = data.humidity / 1000.0;
|
|
||||||
} else {
|
|
||||||
humidity = NAN;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (_presEnabled) {
|
|
||||||
//Serial.print("Pres: "); Serial.println(data.pressure / 100.0, 2);
|
|
||||||
pressure = data.pressure;
|
|
||||||
} else {
|
|
||||||
pressure = NAN;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Avoid using measurements from an unstable heating setup */
|
|
||||||
if (_gasEnabled) {
|
|
||||||
if (data.status & BME680_HEAT_STAB_MSK) {
|
|
||||||
//Serial.print("Gas resistance: "); Serial.println(data.gas_resistance);
|
|
||||||
gas_resistance = data.gas_resistance;
|
|
||||||
} else {
|
|
||||||
gas_resistance = 0;
|
|
||||||
//Serial.println("Gas reading unstable!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**************************************************************************/
|
|
||||||
/*!
|
|
||||||
@brief Enable and configure gas reading + heater
|
|
||||||
@param heaterTemp Desired temperature in degrees Centigrade
|
|
||||||
@param heaterTime Time to keep heater on in milliseconds
|
|
||||||
@return True on success, False on failure
|
|
||||||
*/
|
|
||||||
/**************************************************************************/
|
|
||||||
bool Adafruit_BME680::setGasHeater(uint16_t heaterTemp, uint16_t heaterTime) {
|
|
||||||
gas_sensor.gas_sett.heatr_temp = heaterTemp;
|
|
||||||
gas_sensor.gas_sett.heatr_dur = heaterTime;
|
|
||||||
|
|
||||||
if ( (heaterTemp == 0) || (heaterTime == 0) ) {
|
|
||||||
// disabled!
|
|
||||||
gas_sensor.gas_sett.run_gas = BME680_DISABLE_GAS_MEAS;
|
|
||||||
_gasEnabled = false;
|
|
||||||
} else {
|
|
||||||
gas_sensor.gas_sett.run_gas = BME680_ENABLE_GAS_MEAS;
|
|
||||||
_gasEnabled = true;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**************************************************************************/
|
|
||||||
/*!
|
|
||||||
@brief Setter for Temperature oversampling
|
|
||||||
@param oversample Oversampling setting, can be BME680_OS_NONE (turn off Temperature reading),
|
|
||||||
BME680_OS_1X, BME680_OS_2X, BME680_OS_4X, BME680_OS_8X or BME680_OS_16X
|
|
||||||
@return True on success, False on failure
|
|
||||||
*/
|
|
||||||
/**************************************************************************/
|
|
||||||
|
|
||||||
bool Adafruit_BME680::setTemperatureOversampling(uint8_t oversample) {
|
|
||||||
if (oversample > BME680_OS_16X) return false;
|
|
||||||
|
|
||||||
gas_sensor.tph_sett.os_temp = oversample;
|
|
||||||
|
|
||||||
if (oversample == BME680_OS_NONE)
|
|
||||||
_tempEnabled = false;
|
|
||||||
else
|
|
||||||
_tempEnabled = true;
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**************************************************************************/
|
|
||||||
/*!
|
|
||||||
@brief Setter for Humidity oversampling
|
|
||||||
@param oversample Oversampling setting, can be BME680_OS_NONE (turn off Humidity reading),
|
|
||||||
BME680_OS_1X, BME680_OS_2X, BME680_OS_4X, BME680_OS_8X or BME680_OS_16X
|
|
||||||
@return True on success, False on failure
|
|
||||||
*/
|
|
||||||
/**************************************************************************/
|
|
||||||
|
|
||||||
bool Adafruit_BME680::setHumidityOversampling(uint8_t oversample) {
|
|
||||||
if (oversample > BME680_OS_16X) return false;
|
|
||||||
|
|
||||||
gas_sensor.tph_sett.os_hum = oversample;
|
|
||||||
|
|
||||||
if (oversample == BME680_OS_NONE)
|
|
||||||
_humEnabled = false;
|
|
||||||
else
|
|
||||||
_humEnabled = true;
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**************************************************************************/
|
|
||||||
/*!
|
|
||||||
@brief Setter for Pressure oversampling
|
|
||||||
@param oversample Oversampling setting, can be BME680_OS_NONE (turn off Pressure reading),
|
|
||||||
BME680_OS_1X, BME680_OS_2X, BME680_OS_4X, BME680_OS_8X or BME680_OS_16X
|
|
||||||
@return True on success, False on failure
|
|
||||||
*/
|
|
||||||
/**************************************************************************/
|
|
||||||
bool Adafruit_BME680::setPressureOversampling(uint8_t oversample) {
|
|
||||||
if (oversample > BME680_OS_16X) return false;
|
|
||||||
|
|
||||||
gas_sensor.tph_sett.os_pres = oversample;
|
|
||||||
|
|
||||||
if (oversample == BME680_OS_NONE)
|
|
||||||
_presEnabled = false;
|
|
||||||
else
|
|
||||||
_presEnabled = true;
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**************************************************************************/
|
|
||||||
/*!
|
|
||||||
@brief Setter for IIR filter.
|
|
||||||
@param filtersize Size of the filter (in samples). Can be BME680_FILTER_SIZE_0 (no filtering), BME680_FILTER_SIZE_1, BME680_FILTER_SIZE_3, BME680_FILTER_SIZE_7, BME680_FILTER_SIZE_15, BME680_FILTER_SIZE_31, BME680_FILTER_SIZE_63, BME680_FILTER_SIZE_127
|
|
||||||
@return True on success, False on failure
|
|
||||||
|
|
||||||
*/
|
|
||||||
/**************************************************************************/
|
|
||||||
bool Adafruit_BME680::setIIRFilterSize(uint8_t filtersize) {
|
|
||||||
if (filtersize > BME680_FILTER_SIZE_127) return false;
|
|
||||||
|
|
||||||
gas_sensor.tph_sett.filter = filtersize;
|
|
||||||
|
|
||||||
if (filtersize == BME680_FILTER_SIZE_0)
|
|
||||||
_filterEnabled = false;
|
|
||||||
else
|
|
||||||
_filterEnabled = true;
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**************************************************************************/
|
|
||||||
/*!
|
|
||||||
@brief Reads 8 bit values over I2C
|
|
||||||
*/
|
|
||||||
/**************************************************************************/
|
|
||||||
int8_t i2c_read(uint8_t dev_id, uint8_t reg_addr, uint8_t *reg_data, uint16_t len) {
|
|
||||||
#ifdef BME680_DEBUG
|
|
||||||
Serial.print("\tI2C $"); Serial.print(reg_addr, HEX); Serial.print(" => ");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
Wire.beginTransmission((uint8_t)dev_id);
|
|
||||||
Wire.write((uint8_t)reg_addr);
|
|
||||||
Wire.endTransmission();
|
|
||||||
if (len != Wire.requestFrom((uint8_t)dev_id, (byte)len)) {
|
|
||||||
#ifdef BME680_DEBUG
|
|
||||||
Serial.print("Failed to read "); Serial.print(len); Serial.print(" bytes from "); Serial.println(dev_id, HEX);
|
|
||||||
#endif
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
while (len--) {
|
|
||||||
*reg_data = (uint8_t)Wire.read();
|
|
||||||
#ifdef BME680_DEBUG
|
|
||||||
Serial.print("0x"); Serial.print(*reg_data, HEX); Serial.print(", ");
|
|
||||||
#endif
|
|
||||||
reg_data++;
|
|
||||||
}
|
|
||||||
#ifdef BME680_DEBUG
|
|
||||||
Serial.println("");
|
|
||||||
#endif
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**************************************************************************/
|
|
||||||
/*!
|
|
||||||
@brief Writes 8 bit values over I2C
|
|
||||||
*/
|
|
||||||
/**************************************************************************/
|
|
||||||
int8_t i2c_write(uint8_t dev_id, uint8_t reg_addr, uint8_t *reg_data, uint16_t len) {
|
|
||||||
#ifdef BME680_DEBUG
|
|
||||||
Serial.print("\tI2C $"); Serial.print(reg_addr, HEX); Serial.print(" <= ");
|
|
||||||
#endif
|
|
||||||
Wire.beginTransmission((uint8_t)dev_id);
|
|
||||||
Wire.write((uint8_t)reg_addr);
|
|
||||||
while (len--) {
|
|
||||||
Wire.write(*reg_data);
|
|
||||||
#ifdef BME680_DEBUG
|
|
||||||
Serial.print("0x"); Serial.print(*reg_data, HEX); Serial.print(", ");
|
|
||||||
#endif
|
|
||||||
reg_data++;
|
|
||||||
}
|
|
||||||
Wire.endTransmission();
|
|
||||||
#ifdef BME680_DEBUG
|
|
||||||
Serial.println("");
|
|
||||||
#endif
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**************************************************************************/
|
|
||||||
/*!
|
|
||||||
@brief Reads 8 bit values over SPI
|
|
||||||
*/
|
|
||||||
/**************************************************************************/
|
|
||||||
static int8_t spi_read(uint8_t cspin, uint8_t reg_addr, uint8_t *reg_data, uint16_t len) {
|
|
||||||
#ifdef BME680_DEBUG
|
|
||||||
Serial.print("\tSPI $"); Serial.print(reg_addr, HEX); Serial.print(" => ");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
digitalWrite(cspin, LOW);
|
|
||||||
|
|
||||||
// If hardware SPI we should use transactions!
|
|
||||||
if (_BME680_SoftwareSPI_SCK == -1) {
|
|
||||||
SPI.beginTransaction(SPISettings(BME680_DEFAULT_SPIFREQ, MSBFIRST, SPI_MODE0));
|
|
||||||
}
|
|
||||||
|
|
||||||
spi_transfer(reg_addr);
|
|
||||||
|
|
||||||
while (len--) {
|
|
||||||
*reg_data = spi_transfer(0x00);
|
|
||||||
#ifdef BME680_DEBUG
|
|
||||||
Serial.print("0x"); Serial.print(*reg_data, HEX); Serial.print(", ");
|
|
||||||
#endif
|
|
||||||
reg_data++;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (_BME680_SoftwareSPI_SCK == -1) {
|
|
||||||
SPI.endTransaction();
|
|
||||||
}
|
|
||||||
|
|
||||||
digitalWrite(cspin, HIGH);
|
|
||||||
|
|
||||||
#ifdef BME680_DEBUG
|
|
||||||
Serial.println("");
|
|
||||||
#endif
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**************************************************************************/
|
|
||||||
/*!
|
|
||||||
@brief Writes 8 bit values over SPI
|
|
||||||
*/
|
|
||||||
/**************************************************************************/
|
|
||||||
static int8_t spi_write(uint8_t cspin, uint8_t reg_addr, uint8_t *reg_data, uint16_t len) {
|
|
||||||
#ifdef BME680_DEBUG
|
|
||||||
Serial.print("\tSPI $"); Serial.print(reg_addr, HEX); Serial.print(" <= ");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
digitalWrite(cspin, LOW);
|
|
||||||
|
|
||||||
// If hardware SPI we should use transactions!
|
|
||||||
if (_BME680_SoftwareSPI_SCK == -1) {
|
|
||||||
SPI.beginTransaction(SPISettings(BME680_DEFAULT_SPIFREQ, MSBFIRST, SPI_MODE0));
|
|
||||||
}
|
|
||||||
|
|
||||||
spi_transfer(reg_addr);
|
|
||||||
while (len--) {
|
|
||||||
spi_transfer(*reg_data);
|
|
||||||
#ifdef BME680_DEBUG
|
|
||||||
Serial.print("0x"); Serial.print(*reg_data, HEX); Serial.print(", ");
|
|
||||||
#endif
|
|
||||||
reg_data++;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (_BME680_SoftwareSPI_SCK == -1) {
|
|
||||||
SPI.endTransaction();
|
|
||||||
}
|
|
||||||
|
|
||||||
digitalWrite(cspin, HIGH);
|
|
||||||
|
|
||||||
#ifdef BME680_DEBUG
|
|
||||||
Serial.println("");
|
|
||||||
#endif
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static uint8_t spi_transfer(uint8_t x) {
|
|
||||||
if (_BME680_SoftwareSPI_SCK == -1)
|
|
||||||
return SPI.transfer(x);
|
|
||||||
|
|
||||||
// software spi
|
|
||||||
//Serial.println("Software SPI");
|
|
||||||
uint8_t reply = 0;
|
|
||||||
for (int i=7; i>=0; i--) {
|
|
||||||
reply <<= 1;
|
|
||||||
digitalWrite(_BME680_SoftwareSPI_SCK, LOW);
|
|
||||||
digitalWrite(_BME680_SoftwareSPI_MOSI, x & (1<<i));
|
|
||||||
digitalWrite(_BME680_SoftwareSPI_SCK, HIGH);
|
|
||||||
if (digitalRead(_BME680_SoftwareSPI_MISO))
|
|
||||||
reply |= 1;
|
|
||||||
}
|
|
||||||
return reply;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static void delay_msec(uint32_t ms){
|
|
||||||
delay(ms);
|
|
||||||
}
|
|
||||||
@ -1,107 +0,0 @@
|
|||||||
/***************************************************************************
|
|
||||||
This is a library for the BME680 humidity, temperature & pressure sensor
|
|
||||||
|
|
||||||
Designed specifically to work with the Adafruit BME680 Breakout
|
|
||||||
----> http://www.adafruit.com/products/XXXX
|
|
||||||
|
|
||||||
These sensors use I2C or SPI to communicate, 2 or 4 pins are required
|
|
||||||
to interface.
|
|
||||||
|
|
||||||
Adafruit invests time and resources providing this open source code,
|
|
||||||
please support Adafruit andopen-source hardware by purchasing products
|
|
||||||
from Adafruit!
|
|
||||||
|
|
||||||
Written by Limor Fried & Kevin Townsend for Adafruit Industries.
|
|
||||||
BSD license, all text above must be included in any redistribution
|
|
||||||
***************************************************************************/
|
|
||||||
#ifndef __BME680_H__
|
|
||||||
#define __BME680_H__
|
|
||||||
|
|
||||||
#if (ARDUINO >= 100)
|
|
||||||
#include "Arduino.h"
|
|
||||||
#else
|
|
||||||
#include "WProgram.h"
|
|
||||||
#endif
|
|
||||||
#include <Wire.h>
|
|
||||||
#include <SPI.h>
|
|
||||||
#include <Adafruit_Sensor.h>
|
|
||||||
#include <Wire.h>
|
|
||||||
#include "bme680.h"
|
|
||||||
|
|
||||||
|
|
||||||
/*=========================================================================
|
|
||||||
I2C ADDRESS/BITS
|
|
||||||
-----------------------------------------------------------------------*/
|
|
||||||
#define BME680_DEFAULT_ADDRESS (0x77)
|
|
||||||
/*=========================================================================*/
|
|
||||||
#define BME680_DEFAULT_SPIFREQ (1000000)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
class Adafruit_BME680_Unified : public Adafruit_Sensor
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
Adafruit_BME680_Unified(int32_t sensorID = -1);
|
|
||||||
|
|
||||||
bool begin(uint8_t addr = BME680_ADDRESS);
|
|
||||||
void getTemperature(float *temp);
|
|
||||||
void getPressure(float *pressure);
|
|
||||||
float pressureToAltitude(float seaLevel, float atmospheric, float temp);
|
|
||||||
float seaLevelForAltitude(float altitude, float atmospheric, float temp);
|
|
||||||
void getEvent(sensors_event_t*);
|
|
||||||
void getSensor(sensor_t*);
|
|
||||||
|
|
||||||
private:
|
|
||||||
uint8_t _i2c_addr;
|
|
||||||
int32_t _sensorID;
|
|
||||||
};
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** Adafruit_BME680 Class for both I2C and SPI usage.
|
|
||||||
* Wraps the Bosch library for Arduino usage
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Adafruit_BME680
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
Adafruit_BME680(int8_t cspin = -1);
|
|
||||||
Adafruit_BME680(int8_t cspin, int8_t mosipin, int8_t misopin, int8_t sckpin);
|
|
||||||
|
|
||||||
bool begin(uint8_t addr = BME680_DEFAULT_ADDRESS);
|
|
||||||
float readTemperature(void);
|
|
||||||
float readPressure(void);
|
|
||||||
float readHumidity(void);
|
|
||||||
uint32_t readGas(void);
|
|
||||||
float readAltitude(float seaLevel);
|
|
||||||
|
|
||||||
bool setTemperatureOversampling(uint8_t os);
|
|
||||||
bool setPressureOversampling(uint8_t os);
|
|
||||||
bool setHumidityOversampling(uint8_t os);
|
|
||||||
bool setIIRFilterSize(uint8_t fs);
|
|
||||||
bool setGasHeater(uint16_t heaterTemp, uint16_t heaterTime);
|
|
||||||
|
|
||||||
bool performReading(void);
|
|
||||||
|
|
||||||
/// Temperature (Celsius) assigned after calling performReading()
|
|
||||||
float temperature;
|
|
||||||
/// Pressure (Pascals) assigned after calling performReading()
|
|
||||||
float pressure;
|
|
||||||
/// Humidity (RH %) assigned after calling performReading()
|
|
||||||
float humidity;
|
|
||||||
/// Gas resistor (ohms) assigned after calling performReading()
|
|
||||||
float gas_resistance;
|
|
||||||
private:
|
|
||||||
|
|
||||||
bool _filterEnabled, _tempEnabled, _humEnabled, _presEnabled, _gasEnabled;
|
|
||||||
uint8_t _i2caddr;
|
|
||||||
int32_t _sensorID;
|
|
||||||
int8_t _cs;
|
|
||||||
|
|
||||||
uint8_t spixfer(uint8_t x);
|
|
||||||
|
|
||||||
struct bme680_dev gas_sensor;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif
|
|
||||||
@ -1,12 +0,0 @@
|
|||||||
This is a library for the Adafruit BME680 Humidity, Barometric Pressure, Temp and MOX Gas sensor
|
|
||||||
|
|
||||||
Designed specifically to work with the Adafruit BME680 Breakout
|
|
||||||
* http://www.adafruit.com/products/3660
|
|
||||||
|
|
||||||
These sensors use I2C or SPI to communicate, up to 4 pins are required to interface
|
|
||||||
|
|
||||||
Adafruit invests time and resources providing this open source code,
|
|
||||||
please support Adafruit and open-source hardware by purchasing
|
|
||||||
products from Adafruit!
|
|
||||||
|
|
||||||
Check out the links above for our tutorials and wiring diagrams
|
|
||||||
@ -1,225 +0,0 @@
|
|||||||
/**
|
|
||||||
* Copyright (C) 2017 - 2018 Bosch Sensortec GmbH
|
|
||||||
*
|
|
||||||
* Redistribution and use in source and binary forms, with or without
|
|
||||||
* modification, are permitted provided that the following conditions are met:
|
|
||||||
*
|
|
||||||
* Redistributions of source code must retain the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer.
|
|
||||||
*
|
|
||||||
* Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer in the
|
|
||||||
* documentation and/or other materials provided with the distribution.
|
|
||||||
*
|
|
||||||
* Neither the name of the copyright holder nor the names of the
|
|
||||||
* contributors may be used to endorse or promote products derived from
|
|
||||||
* this software without specific prior written permission.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
|
||||||
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
|
|
||||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
||||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
||||||
* DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER
|
|
||||||
* OR CONTRIBUTORS BE LIABLE FOR ANY
|
|
||||||
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
|
|
||||||
* OR CONSEQUENTIAL DAMAGES(INCLUDING, BUT NOT LIMITED TO,
|
|
||||||
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
||||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
||||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
|
||||||
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
|
||||||
* ANY WAY OUT OF THE USE OF THIS
|
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
|
|
||||||
*
|
|
||||||
* The information provided is believed to be accurate and reliable.
|
|
||||||
* The copyright holder assumes no responsibility
|
|
||||||
* for the consequences of use
|
|
||||||
* of such information nor for any infringement of patents or
|
|
||||||
* other rights of third parties which may result from its use.
|
|
||||||
* No license is granted by implication or otherwise under any patent or
|
|
||||||
* patent rights of the copyright holder.
|
|
||||||
*
|
|
||||||
* @file bme680.h
|
|
||||||
* @date 20 Nov 2017
|
|
||||||
* @version 3.5.5
|
|
||||||
* @brief
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
/*! @file bme680.h
|
|
||||||
@brief Sensor driver for BME680 sensor */
|
|
||||||
/*!
|
|
||||||
* @defgroup BME680 SENSOR API
|
|
||||||
* @{*/
|
|
||||||
#ifndef BME680_H_
|
|
||||||
#define BME680_H_
|
|
||||||
|
|
||||||
/*! CPP guard */
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C"
|
|
||||||
{
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Header includes */
|
|
||||||
#include "bme680_defs.h"
|
|
||||||
|
|
||||||
/* function prototype declarations */
|
|
||||||
/*!
|
|
||||||
* @brief This API is the entry point.
|
|
||||||
* It reads the chip-id and calibration data from the sensor.
|
|
||||||
*
|
|
||||||
* @param[in,out] dev : Structure instance of bme680_dev
|
|
||||||
*
|
|
||||||
* @return Result of API execution status
|
|
||||||
* @retval zero -> Success / +ve value -> Warning / -ve value -> Error
|
|
||||||
*/
|
|
||||||
int8_t bme680_init(struct bme680_dev *dev);
|
|
||||||
|
|
||||||
/*!
|
|
||||||
* @brief This API writes the given data to the register address
|
|
||||||
* of the sensor.
|
|
||||||
*
|
|
||||||
* @param[in] reg_addr : Register address from where the data to be written.
|
|
||||||
* @param[in] reg_data : Pointer to data buffer which is to be written
|
|
||||||
* in the sensor.
|
|
||||||
* @param[in] len : No of bytes of data to write..
|
|
||||||
* @param[in] dev : Structure instance of bme680_dev.
|
|
||||||
*
|
|
||||||
* @return Result of API execution status
|
|
||||||
* @retval zero -> Success / +ve value -> Warning / -ve value -> Error
|
|
||||||
*/
|
|
||||||
int8_t bme680_set_regs(const uint8_t *reg_addr, const uint8_t *reg_data, uint8_t len, struct bme680_dev *dev);
|
|
||||||
|
|
||||||
/*!
|
|
||||||
* @brief This API reads the data from the given register address of the sensor.
|
|
||||||
*
|
|
||||||
* @param[in] reg_addr : Register address from where the data to be read
|
|
||||||
* @param[out] reg_data : Pointer to data buffer to store the read data.
|
|
||||||
* @param[in] len : No of bytes of data to be read.
|
|
||||||
* @param[in] dev : Structure instance of bme680_dev.
|
|
||||||
*
|
|
||||||
* @return Result of API execution status
|
|
||||||
* @retval zero -> Success / +ve value -> Warning / -ve value -> Error
|
|
||||||
*/
|
|
||||||
int8_t bme680_get_regs(uint8_t reg_addr, uint8_t *reg_data, uint16_t len, struct bme680_dev *dev);
|
|
||||||
|
|
||||||
/*!
|
|
||||||
* @brief This API performs the soft reset of the sensor.
|
|
||||||
*
|
|
||||||
* @param[in] dev : Structure instance of bme680_dev.
|
|
||||||
*
|
|
||||||
* @return Result of API execution status
|
|
||||||
* @retval zero -> Success / +ve value -> Warning / -ve value -> Error.
|
|
||||||
*/
|
|
||||||
int8_t bme680_soft_reset(struct bme680_dev *dev);
|
|
||||||
|
|
||||||
/*!
|
|
||||||
* @brief This API is used to set the power mode of the sensor.
|
|
||||||
*
|
|
||||||
* @param[in] dev : Structure instance of bme680_dev
|
|
||||||
* @note : Pass the value to bme680_dev.power_mode structure variable.
|
|
||||||
*
|
|
||||||
* value | mode
|
|
||||||
* -------------|------------------
|
|
||||||
* 0x00 | BME680_SLEEP_MODE
|
|
||||||
* 0x01 | BME680_FORCED_MODE
|
|
||||||
*
|
|
||||||
* * @return Result of API execution status
|
|
||||||
* @retval zero -> Success / +ve value -> Warning / -ve value -> Error
|
|
||||||
*/
|
|
||||||
int8_t bme680_set_sensor_mode(struct bme680_dev *dev);
|
|
||||||
|
|
||||||
/*!
|
|
||||||
* @brief This API is used to get the power mode of the sensor.
|
|
||||||
*
|
|
||||||
* @param[in] dev : Structure instance of bme680_dev
|
|
||||||
* @note : bme680_dev.power_mode structure variable hold the power mode.
|
|
||||||
*
|
|
||||||
* value | mode
|
|
||||||
* ---------|------------------
|
|
||||||
* 0x00 | BME680_SLEEP_MODE
|
|
||||||
* 0x01 | BME680_FORCED_MODE
|
|
||||||
*
|
|
||||||
* @return Result of API execution status
|
|
||||||
* @retval zero -> Success / +ve value -> Warning / -ve value -> Error
|
|
||||||
*/
|
|
||||||
int8_t bme680_get_sensor_mode(struct bme680_dev *dev);
|
|
||||||
|
|
||||||
/*!
|
|
||||||
* @brief This API is used to set the profile duration of the sensor.
|
|
||||||
*
|
|
||||||
* @param[in] dev : Structure instance of bme680_dev.
|
|
||||||
* @param[in] duration : Duration of the measurement in ms.
|
|
||||||
*
|
|
||||||
* @return Nothing
|
|
||||||
*/
|
|
||||||
void bme680_set_profile_dur(uint16_t duration, struct bme680_dev *dev);
|
|
||||||
|
|
||||||
/*!
|
|
||||||
* @brief This API is used to get the profile duration of the sensor.
|
|
||||||
*
|
|
||||||
* @param[in] dev : Structure instance of bme680_dev.
|
|
||||||
* @param[in] duration : Duration of the measurement in ms.
|
|
||||||
*
|
|
||||||
* @return Nothing
|
|
||||||
*/
|
|
||||||
void bme680_get_profile_dur(uint16_t *duration, const struct bme680_dev *dev);
|
|
||||||
|
|
||||||
/*!
|
|
||||||
* @brief This API reads the pressure, temperature and humidity and gas data
|
|
||||||
* from the sensor, compensates the data and store it in the bme680_data
|
|
||||||
* structure instance passed by the user.
|
|
||||||
*
|
|
||||||
* @param[out] data: Structure instance to hold the data.
|
|
||||||
* @param[in] dev : Structure instance of bme680_dev.
|
|
||||||
*
|
|
||||||
* @return Result of API execution status
|
|
||||||
* @retval zero -> Success / +ve value -> Warning / -ve value -> Error
|
|
||||||
*/
|
|
||||||
int8_t bme680_get_sensor_data(struct bme680_field_data *data, struct bme680_dev *dev);
|
|
||||||
|
|
||||||
/*!
|
|
||||||
* @brief This API is used to set the oversampling, filter and T,P,H, gas selection
|
|
||||||
* settings in the sensor.
|
|
||||||
*
|
|
||||||
* @param[in] dev : Structure instance of bme680_dev.
|
|
||||||
* @param[in] desired_settings : Variable used to select the settings which
|
|
||||||
* are to be set in the sensor.
|
|
||||||
*
|
|
||||||
* Macros | Functionality
|
|
||||||
*---------------------------------|----------------------------------------------
|
|
||||||
* BME680_OST_SEL | To set temperature oversampling.
|
|
||||||
* BME680_OSP_SEL | To set pressure oversampling.
|
|
||||||
* BME680_OSH_SEL | To set humidity oversampling.
|
|
||||||
* BME680_GAS_MEAS_SEL | To set gas measurement setting.
|
|
||||||
* BME680_FILTER_SEL | To set filter setting.
|
|
||||||
* BME680_HCNTRL_SEL | To set humidity control setting.
|
|
||||||
* BME680_RUN_GAS_SEL | To set run gas setting.
|
|
||||||
* BME680_NBCONV_SEL | To set NB conversion setting.
|
|
||||||
* BME680_GAS_SENSOR_SEL | To set all gas sensor related settings
|
|
||||||
*
|
|
||||||
* @note : Below are the macros to be used by the user for selecting the
|
|
||||||
* desired settings. User can do OR operation of these macros for configuring
|
|
||||||
* multiple settings.
|
|
||||||
*
|
|
||||||
* @return Result of API execution status
|
|
||||||
* @retval zero -> Success / +ve value -> Warning / -ve value -> Error.
|
|
||||||
*/
|
|
||||||
int8_t bme680_set_sensor_settings(uint16_t desired_settings, struct bme680_dev *dev);
|
|
||||||
|
|
||||||
/*!
|
|
||||||
* @brief This API is used to get the oversampling, filter and T,P,H, gas selection
|
|
||||||
* settings in the sensor.
|
|
||||||
*
|
|
||||||
* @param[in] dev : Structure instance of bme680_dev.
|
|
||||||
* @param[in] desired_settings : Variable used to select the settings which
|
|
||||||
* are to be get from the sensor.
|
|
||||||
*
|
|
||||||
* @return Result of API execution status
|
|
||||||
* @retval zero -> Success / +ve value -> Warning / -ve value -> Error.
|
|
||||||
*/
|
|
||||||
int8_t bme680_get_sensor_settings(uint16_t desired_settings, struct bme680_dev *dev);
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif /* End of CPP guard */
|
|
||||||
#endif /* BME680_H_ */
|
|
||||||
/** @}*/
|
|
||||||
@ -1,512 +0,0 @@
|
|||||||
/**
|
|
||||||
* Copyright (C) 2017 - 2018 Bosch Sensortec GmbH
|
|
||||||
*
|
|
||||||
* Redistribution and use in source and binary forms, with or without
|
|
||||||
* modification, are permitted provided that the following conditions are met:
|
|
||||||
*
|
|
||||||
* Redistributions of source code must retain the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer.
|
|
||||||
*
|
|
||||||
* Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer in the
|
|
||||||
* documentation and/or other materials provided with the distribution.
|
|
||||||
*
|
|
||||||
* Neither the name of the copyright holder nor the names of the
|
|
||||||
* contributors may be used to endorse or promote products derived from
|
|
||||||
* this software without specific prior written permission.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
|
||||||
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
|
|
||||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
||||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
||||||
* DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER
|
|
||||||
* OR CONTRIBUTORS BE LIABLE FOR ANY
|
|
||||||
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
|
|
||||||
* OR CONSEQUENTIAL DAMAGES(INCLUDING, BUT NOT LIMITED TO,
|
|
||||||
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
||||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
||||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
|
||||||
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
|
||||||
* ANY WAY OUT OF THE USE OF THIS
|
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
|
|
||||||
*
|
|
||||||
* The information provided is believed to be accurate and reliable.
|
|
||||||
* The copyright holder assumes no responsibility
|
|
||||||
* for the consequences of use
|
|
||||||
* of such information nor for any infringement of patents or
|
|
||||||
* other rights of third parties which may result from its use.
|
|
||||||
* No license is granted by implication or otherwise under any patent or
|
|
||||||
* patent rights of the copyright holder.
|
|
||||||
*
|
|
||||||
* @file bme680_defs.h
|
|
||||||
* @date 20 Nov 2017
|
|
||||||
* @version 3.5.5
|
|
||||||
* @brief
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*! @file bme680_defs.h
|
|
||||||
@brief Sensor driver for BME680 sensor */
|
|
||||||
/*!
|
|
||||||
* @defgroup BME680 SENSOR API
|
|
||||||
* @brief
|
|
||||||
* @{*/
|
|
||||||
#ifndef BME680_DEFS_H_
|
|
||||||
#define BME680_DEFS_H_
|
|
||||||
|
|
||||||
/********************************************************/
|
|
||||||
/* header includes */
|
|
||||||
#ifdef __KERNEL__
|
|
||||||
#include <linux/types.h>
|
|
||||||
#include <linux/kernel.h>
|
|
||||||
#else
|
|
||||||
#include <stdint.h>
|
|
||||||
#include <stddef.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/******************************************************************************/
|
|
||||||
/*! @name Common macros */
|
|
||||||
/******************************************************************************/
|
|
||||||
|
|
||||||
#if !defined(UINT8_C) && !defined(INT8_C)
|
|
||||||
#define INT8_C(x) S8_C(x)
|
|
||||||
#define UINT8_C(x) U8_C(x)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(UINT16_C) && !defined(INT16_C)
|
|
||||||
#define INT16_C(x) S16_C(x)
|
|
||||||
#define UINT16_C(x) U16_C(x)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(INT32_C) && !defined(UINT32_C)
|
|
||||||
#define INT32_C(x) S32_C(x)
|
|
||||||
#define UINT32_C(x) U32_C(x)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(INT64_C) && !defined(UINT64_C)
|
|
||||||
#define INT64_C(x) S64_C(x)
|
|
||||||
#define UINT64_C(x) U64_C(x)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**@}*/
|
|
||||||
|
|
||||||
/**\name C standard macros */
|
|
||||||
#ifndef NULL
|
|
||||||
#ifdef __cplusplus
|
|
||||||
#define NULL 0
|
|
||||||
#else
|
|
||||||
#define NULL ((void *) 0)
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/** BME680 General config */
|
|
||||||
#define BME680_POLL_PERIOD_MS UINT8_C(10)
|
|
||||||
|
|
||||||
/** BME680 I2C addresses */
|
|
||||||
#define BME680_I2C_ADDR_PRIMARY UINT8_C(0x76)
|
|
||||||
#define BME680_I2C_ADDR_SECONDARY UINT8_C(0x77)
|
|
||||||
|
|
||||||
/** BME680 unique chip identifier */
|
|
||||||
#define BME680_CHIP_ID UINT8_C(0x61)
|
|
||||||
|
|
||||||
/** BME680 coefficients related defines */
|
|
||||||
#define BME680_COEFF_SIZE UINT8_C(41)
|
|
||||||
#define BME680_COEFF_ADDR1_LEN UINT8_C(25)
|
|
||||||
#define BME680_COEFF_ADDR2_LEN UINT8_C(16)
|
|
||||||
|
|
||||||
/** BME680 field_x related defines */
|
|
||||||
#define BME680_FIELD_LENGTH UINT8_C(15)
|
|
||||||
#define BME680_FIELD_ADDR_OFFSET UINT8_C(17)
|
|
||||||
|
|
||||||
/** Soft reset command */
|
|
||||||
#define BME680_SOFT_RESET_CMD UINT8_C(0xb6)
|
|
||||||
|
|
||||||
/** Error code definitions */
|
|
||||||
#define BME680_OK INT8_C(0)
|
|
||||||
/* Errors */
|
|
||||||
#define BME680_E_NULL_PTR INT8_C(-1)
|
|
||||||
#define BME680_E_COM_FAIL INT8_C(-2)
|
|
||||||
#define BME680_E_DEV_NOT_FOUND INT8_C(-3)
|
|
||||||
#define BME680_E_INVALID_LENGTH INT8_C(-4)
|
|
||||||
|
|
||||||
/* Warnings */
|
|
||||||
#define BME680_W_DEFINE_PWR_MODE INT8_C(1)
|
|
||||||
#define BME680_W_NO_NEW_DATA INT8_C(2)
|
|
||||||
|
|
||||||
/* Info's */
|
|
||||||
#define BME680_I_MIN_CORRECTION UINT8_C(1)
|
|
||||||
#define BME680_I_MAX_CORRECTION UINT8_C(2)
|
|
||||||
|
|
||||||
/** Register map */
|
|
||||||
/** Other coefficient's address */
|
|
||||||
#define BME680_ADDR_RES_HEAT_VAL_ADDR UINT8_C(0x00)
|
|
||||||
#define BME680_ADDR_RES_HEAT_RANGE_ADDR UINT8_C(0x02)
|
|
||||||
#define BME680_ADDR_RANGE_SW_ERR_ADDR UINT8_C(0x04)
|
|
||||||
#define BME680_ADDR_SENS_CONF_START UINT8_C(0x5A)
|
|
||||||
#define BME680_ADDR_GAS_CONF_START UINT8_C(0x64)
|
|
||||||
|
|
||||||
/** Field settings */
|
|
||||||
#define BME680_FIELD0_ADDR UINT8_C(0x1d)
|
|
||||||
|
|
||||||
/** Heater settings */
|
|
||||||
#define BME680_RES_HEAT0_ADDR UINT8_C(0x5a)
|
|
||||||
#define BME680_GAS_WAIT0_ADDR UINT8_C(0x64)
|
|
||||||
|
|
||||||
/** Sensor configuration registers */
|
|
||||||
#define BME680_CONF_HEAT_CTRL_ADDR UINT8_C(0x70)
|
|
||||||
#define BME680_CONF_ODR_RUN_GAS_NBC_ADDR UINT8_C(0x71)
|
|
||||||
#define BME680_CONF_OS_H_ADDR UINT8_C(0x72)
|
|
||||||
#define BME680_MEM_PAGE_ADDR UINT8_C(0xf3)
|
|
||||||
#define BME680_CONF_T_P_MODE_ADDR UINT8_C(0x74)
|
|
||||||
#define BME680_CONF_ODR_FILT_ADDR UINT8_C(0x75)
|
|
||||||
|
|
||||||
/** Coefficient's address */
|
|
||||||
#define BME680_COEFF_ADDR1 UINT8_C(0x89)
|
|
||||||
#define BME680_COEFF_ADDR2 UINT8_C(0xe1)
|
|
||||||
|
|
||||||
/** Chip identifier */
|
|
||||||
#define BME680_CHIP_ID_ADDR UINT8_C(0xd0)
|
|
||||||
|
|
||||||
/** Soft reset register */
|
|
||||||
#define BME680_SOFT_RESET_ADDR UINT8_C(0xe0)
|
|
||||||
|
|
||||||
/** Heater control settings */
|
|
||||||
#define BME680_ENABLE_HEATER UINT8_C(0x00)
|
|
||||||
#define BME680_DISABLE_HEATER UINT8_C(0x08)
|
|
||||||
|
|
||||||
/** Gas measurement settings */
|
|
||||||
#define BME680_DISABLE_GAS_MEAS UINT8_C(0x00)
|
|
||||||
#define BME680_ENABLE_GAS_MEAS UINT8_C(0x01)
|
|
||||||
|
|
||||||
/** Over-sampling settings */
|
|
||||||
#define BME680_OS_NONE UINT8_C(0)
|
|
||||||
#define BME680_OS_1X UINT8_C(1)
|
|
||||||
#define BME680_OS_2X UINT8_C(2)
|
|
||||||
#define BME680_OS_4X UINT8_C(3)
|
|
||||||
#define BME680_OS_8X UINT8_C(4)
|
|
||||||
#define BME680_OS_16X UINT8_C(5)
|
|
||||||
|
|
||||||
/** IIR filter settings */
|
|
||||||
#define BME680_FILTER_SIZE_0 UINT8_C(0)
|
|
||||||
#define BME680_FILTER_SIZE_1 UINT8_C(1)
|
|
||||||
#define BME680_FILTER_SIZE_3 UINT8_C(2)
|
|
||||||
#define BME680_FILTER_SIZE_7 UINT8_C(3)
|
|
||||||
#define BME680_FILTER_SIZE_15 UINT8_C(4)
|
|
||||||
#define BME680_FILTER_SIZE_31 UINT8_C(5)
|
|
||||||
#define BME680_FILTER_SIZE_63 UINT8_C(6)
|
|
||||||
#define BME680_FILTER_SIZE_127 UINT8_C(7)
|
|
||||||
|
|
||||||
/** Power mode settings */
|
|
||||||
#define BME680_SLEEP_MODE UINT8_C(0)
|
|
||||||
#define BME680_FORCED_MODE UINT8_C(1)
|
|
||||||
|
|
||||||
/** Delay related macro declaration */
|
|
||||||
#define BME680_RESET_PERIOD UINT32_C(10)
|
|
||||||
|
|
||||||
/** SPI memory page settings */
|
|
||||||
#define BME680_MEM_PAGE0 UINT8_C(0x10)
|
|
||||||
#define BME680_MEM_PAGE1 UINT8_C(0x00)
|
|
||||||
|
|
||||||
/** Ambient humidity shift value for compensation */
|
|
||||||
#define BME680_HUM_REG_SHIFT_VAL UINT8_C(4)
|
|
||||||
|
|
||||||
/** Run gas enable and disable settings */
|
|
||||||
#define BME680_RUN_GAS_DISABLE UINT8_C(0)
|
|
||||||
#define BME680_RUN_GAS_ENABLE UINT8_C(1)
|
|
||||||
|
|
||||||
/** Buffer length macro declaration */
|
|
||||||
#define BME680_TMP_BUFFER_LENGTH UINT8_C(40)
|
|
||||||
#define BME680_REG_BUFFER_LENGTH UINT8_C(6)
|
|
||||||
#define BME680_FIELD_DATA_LENGTH UINT8_C(3)
|
|
||||||
#define BME680_GAS_REG_BUF_LENGTH UINT8_C(20)
|
|
||||||
#define BME680_GAS_HEATER_PROF_LEN_MAX UINT8_C(10)
|
|
||||||
|
|
||||||
/** Settings selector */
|
|
||||||
#define BME680_OST_SEL UINT16_C(1)
|
|
||||||
#define BME680_OSP_SEL UINT16_C(2)
|
|
||||||
#define BME680_OSH_SEL UINT16_C(4)
|
|
||||||
#define BME680_GAS_MEAS_SEL UINT16_C(8)
|
|
||||||
#define BME680_FILTER_SEL UINT16_C(16)
|
|
||||||
#define BME680_HCNTRL_SEL UINT16_C(32)
|
|
||||||
#define BME680_RUN_GAS_SEL UINT16_C(64)
|
|
||||||
#define BME680_NBCONV_SEL UINT16_C(128)
|
|
||||||
#define BME680_GAS_SENSOR_SEL (BME680_GAS_MEAS_SEL | BME680_RUN_GAS_SEL | BME680_NBCONV_SEL)
|
|
||||||
|
|
||||||
/** Number of conversion settings*/
|
|
||||||
#define BME680_NBCONV_MIN UINT8_C(0)
|
|
||||||
#define BME680_NBCONV_MAX UINT8_C(10)
|
|
||||||
|
|
||||||
/** Mask definitions */
|
|
||||||
#define BME680_GAS_MEAS_MSK UINT8_C(0x30)
|
|
||||||
#define BME680_NBCONV_MSK UINT8_C(0X0F)
|
|
||||||
#define BME680_FILTER_MSK UINT8_C(0X1C)
|
|
||||||
#define BME680_OST_MSK UINT8_C(0XE0)
|
|
||||||
#define BME680_OSP_MSK UINT8_C(0X1C)
|
|
||||||
#define BME680_OSH_MSK UINT8_C(0X07)
|
|
||||||
#define BME680_HCTRL_MSK UINT8_C(0x08)
|
|
||||||
#define BME680_RUN_GAS_MSK UINT8_C(0x10)
|
|
||||||
#define BME680_MODE_MSK UINT8_C(0x03)
|
|
||||||
#define BME680_RHRANGE_MSK UINT8_C(0x30)
|
|
||||||
#define BME680_RSERROR_MSK UINT8_C(0xf0)
|
|
||||||
#define BME680_NEW_DATA_MSK UINT8_C(0x80)
|
|
||||||
#define BME680_GAS_INDEX_MSK UINT8_C(0x0f)
|
|
||||||
#define BME680_GAS_RANGE_MSK UINT8_C(0x0f)
|
|
||||||
#define BME680_GASM_VALID_MSK UINT8_C(0x20)
|
|
||||||
#define BME680_HEAT_STAB_MSK UINT8_C(0x10)
|
|
||||||
#define BME680_MEM_PAGE_MSK UINT8_C(0x10)
|
|
||||||
#define BME680_SPI_RD_MSK UINT8_C(0x80)
|
|
||||||
#define BME680_SPI_WR_MSK UINT8_C(0x7f)
|
|
||||||
#define BME680_BIT_H1_DATA_MSK UINT8_C(0x0F)
|
|
||||||
|
|
||||||
/** Bit position definitions for sensor settings */
|
|
||||||
#define BME680_GAS_MEAS_POS UINT8_C(4)
|
|
||||||
#define BME680_FILTER_POS UINT8_C(2)
|
|
||||||
#define BME680_OST_POS UINT8_C(5)
|
|
||||||
#define BME680_OSP_POS UINT8_C(2)
|
|
||||||
#define BME680_RUN_GAS_POS UINT8_C(4)
|
|
||||||
|
|
||||||
/** Array Index to Field data mapping for Calibration Data*/
|
|
||||||
#define BME680_T2_LSB_REG (1)
|
|
||||||
#define BME680_T2_MSB_REG (2)
|
|
||||||
#define BME680_T3_REG (3)
|
|
||||||
#define BME680_P1_LSB_REG (5)
|
|
||||||
#define BME680_P1_MSB_REG (6)
|
|
||||||
#define BME680_P2_LSB_REG (7)
|
|
||||||
#define BME680_P2_MSB_REG (8)
|
|
||||||
#define BME680_P3_REG (9)
|
|
||||||
#define BME680_P4_LSB_REG (11)
|
|
||||||
#define BME680_P4_MSB_REG (12)
|
|
||||||
#define BME680_P5_LSB_REG (13)
|
|
||||||
#define BME680_P5_MSB_REG (14)
|
|
||||||
#define BME680_P7_REG (15)
|
|
||||||
#define BME680_P6_REG (16)
|
|
||||||
#define BME680_P8_LSB_REG (19)
|
|
||||||
#define BME680_P8_MSB_REG (20)
|
|
||||||
#define BME680_P9_LSB_REG (21)
|
|
||||||
#define BME680_P9_MSB_REG (22)
|
|
||||||
#define BME680_P10_REG (23)
|
|
||||||
#define BME680_H2_MSB_REG (25)
|
|
||||||
#define BME680_H2_LSB_REG (26)
|
|
||||||
#define BME680_H1_LSB_REG (26)
|
|
||||||
#define BME680_H1_MSB_REG (27)
|
|
||||||
#define BME680_H3_REG (28)
|
|
||||||
#define BME680_H4_REG (29)
|
|
||||||
#define BME680_H5_REG (30)
|
|
||||||
#define BME680_H6_REG (31)
|
|
||||||
#define BME680_H7_REG (32)
|
|
||||||
#define BME680_T1_LSB_REG (33)
|
|
||||||
#define BME680_T1_MSB_REG (34)
|
|
||||||
#define BME680_GH2_LSB_REG (35)
|
|
||||||
#define BME680_GH2_MSB_REG (36)
|
|
||||||
#define BME680_GH1_REG (37)
|
|
||||||
#define BME680_GH3_REG (38)
|
|
||||||
|
|
||||||
/** BME680 register buffer index settings*/
|
|
||||||
#define BME680_REG_FILTER_INDEX UINT8_C(5)
|
|
||||||
#define BME680_REG_TEMP_INDEX UINT8_C(4)
|
|
||||||
#define BME680_REG_PRES_INDEX UINT8_C(4)
|
|
||||||
#define BME680_REG_HUM_INDEX UINT8_C(2)
|
|
||||||
#define BME680_REG_NBCONV_INDEX UINT8_C(1)
|
|
||||||
#define BME680_REG_RUN_GAS_INDEX UINT8_C(1)
|
|
||||||
#define BME680_REG_HCTRL_INDEX UINT8_C(0)
|
|
||||||
|
|
||||||
/** Macro to combine two 8 bit data's to form a 16 bit data */
|
|
||||||
#define BME680_CONCAT_BYTES(msb, lsb) (((uint16_t)msb << 8) | (uint16_t)lsb)
|
|
||||||
|
|
||||||
/** Macro to SET and GET BITS of a register */
|
|
||||||
#define BME680_SET_BITS(reg_data, bitname, data) \
|
|
||||||
((reg_data & ~(bitname##_MSK)) | \
|
|
||||||
((data << bitname##_POS) & bitname##_MSK))
|
|
||||||
#define BME680_GET_BITS(reg_data, bitname) ((reg_data & (bitname##_MSK)) >> \
|
|
||||||
(bitname##_POS))
|
|
||||||
|
|
||||||
/** Macro variant to handle the bitname position if it is zero */
|
|
||||||
#define BME680_SET_BITS_POS_0(reg_data, bitname, data) \
|
|
||||||
((reg_data & ~(bitname##_MSK)) | \
|
|
||||||
(data & bitname##_MSK))
|
|
||||||
#define BME680_GET_BITS_POS_0(reg_data, bitname) (reg_data & (bitname##_MSK))
|
|
||||||
|
|
||||||
/** Type definitions */
|
|
||||||
/*
|
|
||||||
* Generic communication function pointer
|
|
||||||
* @param[in] dev_id: Place holder to store the id of the device structure
|
|
||||||
* Can be used to store the index of the Chip select or
|
|
||||||
* I2C address of the device.
|
|
||||||
* @param[in] reg_addr: Used to select the register the where data needs to
|
|
||||||
* be read from or written to.
|
|
||||||
* @param[in/out] reg_data: Data array to read/write
|
|
||||||
* @param[in] len: Length of the data array
|
|
||||||
*/
|
|
||||||
typedef int8_t (*bme680_com_fptr_t)(uint8_t dev_id, uint8_t reg_addr, uint8_t *data, uint16_t len);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Delay function pointer
|
|
||||||
* @param[in] period: Time period in milliseconds
|
|
||||||
*/
|
|
||||||
typedef void (*bme680_delay_fptr_t)(uint32_t period);
|
|
||||||
|
|
||||||
/*!
|
|
||||||
* @brief Interface selection Enumerations
|
|
||||||
*/
|
|
||||||
enum bme680_intf {
|
|
||||||
/*! SPI interface */
|
|
||||||
BME680_SPI_INTF,
|
|
||||||
/*! I2C interface */
|
|
||||||
BME680_I2C_INTF
|
|
||||||
};
|
|
||||||
|
|
||||||
/* structure definitions */
|
|
||||||
/*!
|
|
||||||
* @brief Sensor field data structure
|
|
||||||
*/
|
|
||||||
struct bme680_field_data {
|
|
||||||
/*! Contains new_data, gasm_valid & heat_stab */
|
|
||||||
uint8_t status;
|
|
||||||
/*! The index of the heater profile used */
|
|
||||||
uint8_t gas_index;
|
|
||||||
/*! Measurement index to track order */
|
|
||||||
uint8_t meas_index;
|
|
||||||
/*! Temperature in degree celsius x100 */
|
|
||||||
int16_t temperature;
|
|
||||||
/*! Pressure in Pascal */
|
|
||||||
uint32_t pressure;
|
|
||||||
/*! Humidity in % relative humidity x1000 */
|
|
||||||
uint32_t humidity;
|
|
||||||
/*! Gas resistance in Ohms */
|
|
||||||
uint32_t gas_resistance;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*!
|
|
||||||
* @brief Structure to hold the Calibration data
|
|
||||||
*/
|
|
||||||
struct bme680_calib_data {
|
|
||||||
/*! Variable to store calibrated humidity data */
|
|
||||||
uint16_t par_h1;
|
|
||||||
/*! Variable to store calibrated humidity data */
|
|
||||||
uint16_t par_h2;
|
|
||||||
/*! Variable to store calibrated humidity data */
|
|
||||||
int8_t par_h3;
|
|
||||||
/*! Variable to store calibrated humidity data */
|
|
||||||
int8_t par_h4;
|
|
||||||
/*! Variable to store calibrated humidity data */
|
|
||||||
int8_t par_h5;
|
|
||||||
/*! Variable to store calibrated humidity data */
|
|
||||||
uint8_t par_h6;
|
|
||||||
/*! Variable to store calibrated humidity data */
|
|
||||||
int8_t par_h7;
|
|
||||||
/*! Variable to store calibrated gas data */
|
|
||||||
int8_t par_gh1;
|
|
||||||
/*! Variable to store calibrated gas data */
|
|
||||||
int16_t par_gh2;
|
|
||||||
/*! Variable to store calibrated gas data */
|
|
||||||
int8_t par_gh3;
|
|
||||||
/*! Variable to store calibrated temperature data */
|
|
||||||
uint16_t par_t1;
|
|
||||||
/*! Variable to store calibrated temperature data */
|
|
||||||
int16_t par_t2;
|
|
||||||
/*! Variable to store calibrated temperature data */
|
|
||||||
int8_t par_t3;
|
|
||||||
/*! Variable to store calibrated pressure data */
|
|
||||||
uint16_t par_p1;
|
|
||||||
/*! Variable to store calibrated pressure data */
|
|
||||||
int16_t par_p2;
|
|
||||||
/*! Variable to store calibrated pressure data */
|
|
||||||
int8_t par_p3;
|
|
||||||
/*! Variable to store calibrated pressure data */
|
|
||||||
int16_t par_p4;
|
|
||||||
/*! Variable to store calibrated pressure data */
|
|
||||||
int16_t par_p5;
|
|
||||||
/*! Variable to store calibrated pressure data */
|
|
||||||
int8_t par_p6;
|
|
||||||
/*! Variable to store calibrated pressure data */
|
|
||||||
int8_t par_p7;
|
|
||||||
/*! Variable to store calibrated pressure data */
|
|
||||||
int16_t par_p8;
|
|
||||||
/*! Variable to store calibrated pressure data */
|
|
||||||
int16_t par_p9;
|
|
||||||
/*! Variable to store calibrated pressure data */
|
|
||||||
uint8_t par_p10;
|
|
||||||
/*! Variable to store t_fine size */
|
|
||||||
int32_t t_fine;
|
|
||||||
/*! Variable to store heater resistance range */
|
|
||||||
uint8_t res_heat_range;
|
|
||||||
/*! Variable to store heater resistance value */
|
|
||||||
int8_t res_heat_val;
|
|
||||||
/*! Variable to store error range */
|
|
||||||
int8_t range_sw_err;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*!
|
|
||||||
* @brief BME680 sensor settings structure which comprises of ODR,
|
|
||||||
* over-sampling and filter settings.
|
|
||||||
*/
|
|
||||||
struct bme680_tph_sett {
|
|
||||||
/*! Humidity oversampling */
|
|
||||||
uint8_t os_hum;
|
|
||||||
/*! Temperature oversampling */
|
|
||||||
uint8_t os_temp;
|
|
||||||
/*! Pressure oversampling */
|
|
||||||
uint8_t os_pres;
|
|
||||||
/*! Filter coefficient */
|
|
||||||
uint8_t filter;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*!
|
|
||||||
* @brief BME680 gas sensor which comprises of gas settings
|
|
||||||
* and status parameters
|
|
||||||
*/
|
|
||||||
struct bme680_gas_sett {
|
|
||||||
/*! Variable to store nb conversion */
|
|
||||||
uint8_t nb_conv;
|
|
||||||
/*! Variable to store heater control */
|
|
||||||
uint8_t heatr_ctrl;
|
|
||||||
/*! Run gas enable value */
|
|
||||||
uint8_t run_gas;
|
|
||||||
/*! Pointer to store heater temperature */
|
|
||||||
uint16_t heatr_temp;
|
|
||||||
/*! Pointer to store duration profile */
|
|
||||||
uint16_t heatr_dur;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*!
|
|
||||||
* @brief BME680 device structure
|
|
||||||
*/
|
|
||||||
struct bme680_dev {
|
|
||||||
/*! Chip Id */
|
|
||||||
uint8_t chip_id;
|
|
||||||
/*! Device Id */
|
|
||||||
uint8_t dev_id;
|
|
||||||
/*! SPI/I2C interface */
|
|
||||||
enum bme680_intf intf;
|
|
||||||
/*! Memory page used */
|
|
||||||
uint8_t mem_page;
|
|
||||||
/*! Ambient temperature in Degree C*/
|
|
||||||
int8_t amb_temp;
|
|
||||||
/*! Sensor calibration data */
|
|
||||||
struct bme680_calib_data calib;
|
|
||||||
/*! Sensor settings */
|
|
||||||
struct bme680_tph_sett tph_sett;
|
|
||||||
/*! Gas Sensor settings */
|
|
||||||
struct bme680_gas_sett gas_sett;
|
|
||||||
/*! Sensor power modes */
|
|
||||||
uint8_t power_mode;
|
|
||||||
/*! New sensor fields */
|
|
||||||
uint8_t new_fields;
|
|
||||||
/*! Store the info messages */
|
|
||||||
uint8_t info_msg;
|
|
||||||
/*! Burst read structure */
|
|
||||||
bme680_com_fptr_t read;
|
|
||||||
/*! Burst write structure */
|
|
||||||
bme680_com_fptr_t write;
|
|
||||||
/*! Delay in ms */
|
|
||||||
bme680_delay_fptr_t delay_ms;
|
|
||||||
/*! Communication function result */
|
|
||||||
int8_t com_rslt;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* BME680_DEFS_H_ */
|
|
||||||
/** @}*/
|
|
||||||
/** @}*/
|
|
||||||
@ -1,78 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
||||||
<title>Adafruit BME680 Library: Class List</title>
|
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="jquery.js"></script>
|
|
||||||
<script type="text/javascript" src="dynsections.js"></script>
|
|
||||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
||||||
<script type="text/javascript" src="search/search.js"></script>
|
|
||||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
||||||
<div id="titlearea">
|
|
||||||
<table cellspacing="0" cellpadding="0">
|
|
||||||
<tbody>
|
|
||||||
<tr style="height: 56px;">
|
|
||||||
<td id="projectalign" style="padding-left: 0.5em;">
|
|
||||||
<div id="projectname">Adafruit BME680 Library
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<!-- end header part -->
|
|
||||||
<!-- Generated by Doxygen 1.8.13 -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="menudata.js"></script>
|
|
||||||
<script type="text/javascript" src="menu.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function() {
|
|
||||||
initMenu('',true,false,'search.php','Search');
|
|
||||||
$(document).ready(function() { init_search(); });
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<div id="main-nav"></div>
|
|
||||||
</div><!-- top -->
|
|
||||||
<!-- window showing the filter options -->
|
|
||||||
<div id="MSearchSelectWindow"
|
|
||||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
||||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
||||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- iframe showing the search results (closed by default) -->
|
|
||||||
<div id="MSearchResultsWindow">
|
|
||||||
<iframe src="javascript:void(0)" frameborder="0"
|
|
||||||
name="MSearchResults" id="MSearchResults">
|
|
||||||
</iframe>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<div class="headertitle">
|
|
||||||
<div class="title">Class List</div> </div>
|
|
||||||
</div><!--header-->
|
|
||||||
<div class="contents">
|
|
||||||
<div class="textblock">Here are the classes, structs, unions and interfaces with brief descriptions:</div><div class="directory">
|
|
||||||
<table class="directory">
|
|
||||||
<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_adafruit___b_m_e680.html" target="_self">Adafruit_BME680</a></td><td class="desc"></td></tr>
|
|
||||||
</table>
|
|
||||||
</div><!-- directory -->
|
|
||||||
</div><!-- contents -->
|
|
||||||
<!-- start footer part -->
|
|
||||||
<hr class="footer"/><address class="footer"><small>
|
|
||||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
||||||
</a> 1.8.13
|
|
||||||
</small></address>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
Before Width: | Height: | Size: 676 B |
|
Before Width: | Height: | Size: 147 B |
@ -1,157 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
||||||
<title>Adafruit BME680 Library: bme680.c File Reference</title>
|
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="jquery.js"></script>
|
|
||||||
<script type="text/javascript" src="dynsections.js"></script>
|
|
||||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
||||||
<script type="text/javascript" src="search/search.js"></script>
|
|
||||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
||||||
<div id="titlearea">
|
|
||||||
<table cellspacing="0" cellpadding="0">
|
|
||||||
<tbody>
|
|
||||||
<tr style="height: 56px;">
|
|
||||||
<td id="projectalign" style="padding-left: 0.5em;">
|
|
||||||
<div id="projectname">Adafruit BME680 Library
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<!-- end header part -->
|
|
||||||
<!-- Generated by Doxygen 1.8.13 -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="menudata.js"></script>
|
|
||||||
<script type="text/javascript" src="menu.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function() {
|
|
||||||
initMenu('',true,false,'search.php','Search');
|
|
||||||
$(document).ready(function() { init_search(); });
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<div id="main-nav"></div>
|
|
||||||
<!-- window showing the filter options -->
|
|
||||||
<div id="MSearchSelectWindow"
|
|
||||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
||||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
||||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- iframe showing the search results (closed by default) -->
|
|
||||||
<div id="MSearchResultsWindow">
|
|
||||||
<iframe src="javascript:void(0)" frameborder="0"
|
|
||||||
name="MSearchResults" id="MSearchResults">
|
|
||||||
</iframe>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div><!-- top -->
|
|
||||||
<div class="header">
|
|
||||||
<div class="summary">
|
|
||||||
<a href="#func-members">Functions</a> |
|
|
||||||
<a href="#var-members">Variables</a> </div>
|
|
||||||
<div class="headertitle">
|
|
||||||
<div class="title">bme680.c File Reference</div> </div>
|
|
||||||
</div><!--header-->
|
|
||||||
<div class="contents">
|
|
||||||
|
|
||||||
<p>Sensor driver for BME680 sensor.
|
|
||||||
<a href="#details">More...</a></p>
|
|
||||||
<div class="textblock"><code>#include "<a class="el" href="bme680_8h_source.html">bme680.h</a>"</code><br />
|
|
||||||
</div><table class="memberdecls">
|
|
||||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
|
||||||
Functions</h2></td></tr>
|
|
||||||
<tr class="memitem:gaee75ae524b7ca8f4a9b6dbb7f640c2e4"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_m_e680.html#gaee75ae524b7ca8f4a9b6dbb7f640c2e4">bme680_init</a> (struct <a class="el" href="structbme680__dev.html">bme680_dev</a> *dev)</td></tr>
|
|
||||||
<tr class="memdesc:gaee75ae524b7ca8f4a9b6dbb7f640c2e4"><td class="mdescLeft"> </td><td class="mdescRight">This API is the entry point. It reads the chip-id and calibration data from the sensor. <a href="group___b_m_e680.html#gaee75ae524b7ca8f4a9b6dbb7f640c2e4">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:gaee75ae524b7ca8f4a9b6dbb7f640c2e4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:gaf5548cbdbf327e2c77bdb0afb1dde9e4"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_m_e680.html#gaf5548cbdbf327e2c77bdb0afb1dde9e4">bme680_get_regs</a> (uint8_t reg_addr, uint8_t *reg_data, uint16_t len, struct <a class="el" href="structbme680__dev.html">bme680_dev</a> *dev)</td></tr>
|
|
||||||
<tr class="memdesc:gaf5548cbdbf327e2c77bdb0afb1dde9e4"><td class="mdescLeft"> </td><td class="mdescRight">This API reads the data from the given register address of the sensor. <a href="group___b_m_e680.html#gaf5548cbdbf327e2c77bdb0afb1dde9e4">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:gaf5548cbdbf327e2c77bdb0afb1dde9e4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:ga5d1bad74f7ac28e75aca9d7de66fd2b4"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_m_e680.html#ga5d1bad74f7ac28e75aca9d7de66fd2b4">bme680_set_regs</a> (const uint8_t *reg_addr, const uint8_t *reg_data, uint8_t len, struct <a class="el" href="structbme680__dev.html">bme680_dev</a> *dev)</td></tr>
|
|
||||||
<tr class="memdesc:ga5d1bad74f7ac28e75aca9d7de66fd2b4"><td class="mdescLeft"> </td><td class="mdescRight">This API writes the given data to the register address of the sensor. <a href="group___b_m_e680.html#ga5d1bad74f7ac28e75aca9d7de66fd2b4">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:ga5d1bad74f7ac28e75aca9d7de66fd2b4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:ga7f0f1a4378bc6cd0a34acf62509cdec7"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_m_e680.html#ga7f0f1a4378bc6cd0a34acf62509cdec7">bme680_soft_reset</a> (struct <a class="el" href="structbme680__dev.html">bme680_dev</a> *dev)</td></tr>
|
|
||||||
<tr class="memdesc:ga7f0f1a4378bc6cd0a34acf62509cdec7"><td class="mdescLeft"> </td><td class="mdescRight">This API performs the soft reset of the sensor. <a href="group___b_m_e680.html#ga7f0f1a4378bc6cd0a34acf62509cdec7">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:ga7f0f1a4378bc6cd0a34acf62509cdec7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:ga2fea1365b4fa1d33eef434769b16e811"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_m_e680.html#ga2fea1365b4fa1d33eef434769b16e811">bme680_set_sensor_settings</a> (uint16_t desired_settings, struct <a class="el" href="structbme680__dev.html">bme680_dev</a> *dev)</td></tr>
|
|
||||||
<tr class="memdesc:ga2fea1365b4fa1d33eef434769b16e811"><td class="mdescLeft"> </td><td class="mdescRight">This API is used to set the oversampling, filter and T,P,H, gas selection settings in the sensor. <a href="group___b_m_e680.html#ga2fea1365b4fa1d33eef434769b16e811">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:ga2fea1365b4fa1d33eef434769b16e811"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:ga7826b058b8eddcf05ccbb117fd9d41b7"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_m_e680.html#ga7826b058b8eddcf05ccbb117fd9d41b7">bme680_get_sensor_settings</a> (uint16_t desired_settings, struct <a class="el" href="structbme680__dev.html">bme680_dev</a> *dev)</td></tr>
|
|
||||||
<tr class="memdesc:ga7826b058b8eddcf05ccbb117fd9d41b7"><td class="mdescLeft"> </td><td class="mdescRight">This API is used to get the oversampling, filter and T,P,H, gas selection settings in the sensor. <a href="group___b_m_e680.html#ga7826b058b8eddcf05ccbb117fd9d41b7">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:ga7826b058b8eddcf05ccbb117fd9d41b7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:ga5ca765226e758e71c862553c7cc0b371"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_m_e680.html#ga5ca765226e758e71c862553c7cc0b371">bme680_set_sensor_mode</a> (struct <a class="el" href="structbme680__dev.html">bme680_dev</a> *dev)</td></tr>
|
|
||||||
<tr class="memdesc:ga5ca765226e758e71c862553c7cc0b371"><td class="mdescLeft"> </td><td class="mdescRight">This API is used to set the power mode of the sensor. <a href="group___b_m_e680.html#ga5ca765226e758e71c862553c7cc0b371">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:ga5ca765226e758e71c862553c7cc0b371"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:ga4e50492a1f4747868f7e9a826492f1e7"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_m_e680.html#ga4e50492a1f4747868f7e9a826492f1e7">bme680_get_sensor_mode</a> (struct <a class="el" href="structbme680__dev.html">bme680_dev</a> *dev)</td></tr>
|
|
||||||
<tr class="memdesc:ga4e50492a1f4747868f7e9a826492f1e7"><td class="mdescLeft"> </td><td class="mdescRight">This API is used to get the power mode of the sensor. <a href="group___b_m_e680.html#ga4e50492a1f4747868f7e9a826492f1e7">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:ga4e50492a1f4747868f7e9a826492f1e7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:ga192f772bc9cb619e5855e93d6ebd6128"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_m_e680.html#ga192f772bc9cb619e5855e93d6ebd6128">bme680_set_profile_dur</a> (uint16_t duration, struct <a class="el" href="structbme680__dev.html">bme680_dev</a> *dev)</td></tr>
|
|
||||||
<tr class="memdesc:ga192f772bc9cb619e5855e93d6ebd6128"><td class="mdescLeft"> </td><td class="mdescRight">This API is used to set the profile duration of the sensor. <a href="group___b_m_e680.html#ga192f772bc9cb619e5855e93d6ebd6128">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:ga192f772bc9cb619e5855e93d6ebd6128"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:ga191c03ab8aa1f4bc440953fd2f6317c2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_m_e680.html#ga191c03ab8aa1f4bc440953fd2f6317c2">bme680_get_profile_dur</a> (uint16_t *duration, struct <a class="el" href="structbme680__dev.html">bme680_dev</a> *dev)</td></tr>
|
|
||||||
<tr class="memdesc:ga191c03ab8aa1f4bc440953fd2f6317c2"><td class="mdescLeft"> </td><td class="mdescRight">This API is used to get the profile duration of the sensor. <a href="group___b_m_e680.html#ga191c03ab8aa1f4bc440953fd2f6317c2">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:ga191c03ab8aa1f4bc440953fd2f6317c2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:ga1025301e420e1e21911044bebb62f940"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_m_e680.html#ga1025301e420e1e21911044bebb62f940">bme680_get_sensor_data</a> (struct <a class="el" href="structbme680__field__data.html">bme680_field_data</a> *data, struct <a class="el" href="structbme680__dev.html">bme680_dev</a> *dev)</td></tr>
|
|
||||||
<tr class="memdesc:ga1025301e420e1e21911044bebb62f940"><td class="mdescLeft"> </td><td class="mdescRight">This API reads the pressure, temperature and humidity and gas data from the sensor, compensates the data and store it in the bme680_data structure instance passed by the user. <a href="group___b_m_e680.html#ga1025301e420e1e21911044bebb62f940">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:ga1025301e420e1e21911044bebb62f940"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
</table><table class="memberdecls">
|
|
||||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
|
|
||||||
Variables</h2></td></tr>
|
|
||||||
<tr class="memitem:adededc333f13a6bae1487b7cadee4a5f"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="bme680_8c.html#adededc333f13a6bae1487b7cadee4a5f">lookupTable1</a> [16]</td></tr>
|
|
||||||
<tr class="separator:adededc333f13a6bae1487b7cadee4a5f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:aaf3a4ba4968870a9fb857fe7f47f9461"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="bme680_8c.html#aaf3a4ba4968870a9fb857fe7f47f9461">lookupTable2</a> [16]</td></tr>
|
|
||||||
<tr class="separator:aaf3a4ba4968870a9fb857fe7f47f9461"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
</table>
|
|
||||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
||||||
<div class="textblock"><p>Sensor driver for BME680 sensor. </p>
|
|
||||||
</div><h2 class="groupheader">Variable Documentation</h2>
|
|
||||||
<a id="adededc333f13a6bae1487b7cadee4a5f"></a>
|
|
||||||
<h2 class="memtitle"><span class="permalink"><a href="#adededc333f13a6bae1487b7cadee4a5f">◆ </a></span>lookupTable1</h2>
|
|
||||||
|
|
||||||
<div class="memitem">
|
|
||||||
<div class="memproto">
|
|
||||||
<table class="memname">
|
|
||||||
<tr>
|
|
||||||
<td class="memname">uint32_t lookupTable1[16]</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div><div class="memdoc">
|
|
||||||
<b>Initial value:</b><div class="fragment"><div class="line">= { UINT32_C(2147483647), UINT32_C(2147483647), UINT32_C(2147483647), UINT32_C(2147483647),</div><div class="line"> UINT32_C(2147483647), UINT32_C(2126008810), UINT32_C(2147483647), UINT32_C(2130303777), UINT32_C(2147483647),</div><div class="line"> UINT32_C(2147483647), UINT32_C(2143188679), UINT32_C(2136746228), UINT32_C(2147483647), UINT32_C(2126008810),</div><div class="line"> UINT32_C(2147483647), UINT32_C(2147483647) }</div></div><!-- fragment --><p>static variables Look up table for the possible gas range values </p>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<a id="aaf3a4ba4968870a9fb857fe7f47f9461"></a>
|
|
||||||
<h2 class="memtitle"><span class="permalink"><a href="#aaf3a4ba4968870a9fb857fe7f47f9461">◆ </a></span>lookupTable2</h2>
|
|
||||||
|
|
||||||
<div class="memitem">
|
|
||||||
<div class="memproto">
|
|
||||||
<table class="memname">
|
|
||||||
<tr>
|
|
||||||
<td class="memname">uint32_t lookupTable2[16]</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div><div class="memdoc">
|
|
||||||
<b>Initial value:</b><div class="fragment"><div class="line">= { UINT32_C(4096000000), UINT32_C(2048000000), UINT32_C(1024000000), UINT32_C(512000000),</div><div class="line"> UINT32_C(255744255), UINT32_C(127110228), UINT32_C(64000000), UINT32_C(32258064), UINT32_C(16016016), UINT32_C(</div><div class="line"> 8000000), UINT32_C(4000000), UINT32_C(2000000), UINT32_C(1000000), UINT32_C(500000), UINT32_C(250000),</div><div class="line"> UINT32_C(125000) }</div></div><!-- fragment --><p>Look up table for the possible gas range values </p>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div><!-- contents -->
|
|
||||||
<!-- start footer part -->
|
|
||||||
<hr class="footer"/><address class="footer"><small>
|
|
||||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
||||||
</a> 1.8.13
|
|
||||||
</small></address>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,129 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
||||||
<title>Adafruit BME680 Library: bme680.h File Reference</title>
|
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="jquery.js"></script>
|
|
||||||
<script type="text/javascript" src="dynsections.js"></script>
|
|
||||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
||||||
<script type="text/javascript" src="search/search.js"></script>
|
|
||||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
||||||
<div id="titlearea">
|
|
||||||
<table cellspacing="0" cellpadding="0">
|
|
||||||
<tbody>
|
|
||||||
<tr style="height: 56px;">
|
|
||||||
<td id="projectalign" style="padding-left: 0.5em;">
|
|
||||||
<div id="projectname">Adafruit BME680 Library
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<!-- end header part -->
|
|
||||||
<!-- Generated by Doxygen 1.8.13 -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="menudata.js"></script>
|
|
||||||
<script type="text/javascript" src="menu.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function() {
|
|
||||||
initMenu('',true,false,'search.php','Search');
|
|
||||||
$(document).ready(function() { init_search(); });
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<div id="main-nav"></div>
|
|
||||||
<!-- window showing the filter options -->
|
|
||||||
<div id="MSearchSelectWindow"
|
|
||||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
||||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
||||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- iframe showing the search results (closed by default) -->
|
|
||||||
<div id="MSearchResultsWindow">
|
|
||||||
<iframe src="javascript:void(0)" frameborder="0"
|
|
||||||
name="MSearchResults" id="MSearchResults">
|
|
||||||
</iframe>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div><!-- top -->
|
|
||||||
<div class="header">
|
|
||||||
<div class="summary">
|
|
||||||
<a href="#func-members">Functions</a> </div>
|
|
||||||
<div class="headertitle">
|
|
||||||
<div class="title">bme680.h File Reference</div> </div>
|
|
||||||
</div><!--header-->
|
|
||||||
<div class="contents">
|
|
||||||
|
|
||||||
<p>Sensor driver for BME680 sensor.
|
|
||||||
<a href="#details">More...</a></p>
|
|
||||||
<div class="textblock"><code>#include "<a class="el" href="bme680__defs_8h_source.html">bme680_defs.h</a>"</code><br />
|
|
||||||
</div>
|
|
||||||
<p><a href="bme680_8h_source.html">Go to the source code of this file.</a></p>
|
|
||||||
<table class="memberdecls">
|
|
||||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
|
||||||
Functions</h2></td></tr>
|
|
||||||
<tr class="memitem:gaee75ae524b7ca8f4a9b6dbb7f640c2e4"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_m_e680.html#gaee75ae524b7ca8f4a9b6dbb7f640c2e4">bme680_init</a> (struct <a class="el" href="structbme680__dev.html">bme680_dev</a> *dev)</td></tr>
|
|
||||||
<tr class="memdesc:gaee75ae524b7ca8f4a9b6dbb7f640c2e4"><td class="mdescLeft"> </td><td class="mdescRight">This API is the entry point. It reads the chip-id and calibration data from the sensor. <a href="group___b_m_e680.html#gaee75ae524b7ca8f4a9b6dbb7f640c2e4">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:gaee75ae524b7ca8f4a9b6dbb7f640c2e4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:ga5d1bad74f7ac28e75aca9d7de66fd2b4"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_m_e680.html#ga5d1bad74f7ac28e75aca9d7de66fd2b4">bme680_set_regs</a> (const uint8_t *reg_addr, const uint8_t *reg_data, uint8_t len, struct <a class="el" href="structbme680__dev.html">bme680_dev</a> *dev)</td></tr>
|
|
||||||
<tr class="memdesc:ga5d1bad74f7ac28e75aca9d7de66fd2b4"><td class="mdescLeft"> </td><td class="mdescRight">This API writes the given data to the register address of the sensor. <a href="group___b_m_e680.html#ga5d1bad74f7ac28e75aca9d7de66fd2b4">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:ga5d1bad74f7ac28e75aca9d7de66fd2b4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:gaf5548cbdbf327e2c77bdb0afb1dde9e4"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_m_e680.html#gaf5548cbdbf327e2c77bdb0afb1dde9e4">bme680_get_regs</a> (uint8_t reg_addr, uint8_t *reg_data, uint16_t len, struct <a class="el" href="structbme680__dev.html">bme680_dev</a> *dev)</td></tr>
|
|
||||||
<tr class="memdesc:gaf5548cbdbf327e2c77bdb0afb1dde9e4"><td class="mdescLeft"> </td><td class="mdescRight">This API reads the data from the given register address of the sensor. <a href="group___b_m_e680.html#gaf5548cbdbf327e2c77bdb0afb1dde9e4">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:gaf5548cbdbf327e2c77bdb0afb1dde9e4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:ga7f0f1a4378bc6cd0a34acf62509cdec7"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_m_e680.html#ga7f0f1a4378bc6cd0a34acf62509cdec7">bme680_soft_reset</a> (struct <a class="el" href="structbme680__dev.html">bme680_dev</a> *dev)</td></tr>
|
|
||||||
<tr class="memdesc:ga7f0f1a4378bc6cd0a34acf62509cdec7"><td class="mdescLeft"> </td><td class="mdescRight">This API performs the soft reset of the sensor. <a href="group___b_m_e680.html#ga7f0f1a4378bc6cd0a34acf62509cdec7">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:ga7f0f1a4378bc6cd0a34acf62509cdec7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:ga5ca765226e758e71c862553c7cc0b371"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_m_e680.html#ga5ca765226e758e71c862553c7cc0b371">bme680_set_sensor_mode</a> (struct <a class="el" href="structbme680__dev.html">bme680_dev</a> *dev)</td></tr>
|
|
||||||
<tr class="memdesc:ga5ca765226e758e71c862553c7cc0b371"><td class="mdescLeft"> </td><td class="mdescRight">This API is used to set the power mode of the sensor. <a href="group___b_m_e680.html#ga5ca765226e758e71c862553c7cc0b371">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:ga5ca765226e758e71c862553c7cc0b371"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:ga4e50492a1f4747868f7e9a826492f1e7"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_m_e680.html#ga4e50492a1f4747868f7e9a826492f1e7">bme680_get_sensor_mode</a> (struct <a class="el" href="structbme680__dev.html">bme680_dev</a> *dev)</td></tr>
|
|
||||||
<tr class="memdesc:ga4e50492a1f4747868f7e9a826492f1e7"><td class="mdescLeft"> </td><td class="mdescRight">This API is used to get the power mode of the sensor. <a href="group___b_m_e680.html#ga4e50492a1f4747868f7e9a826492f1e7">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:ga4e50492a1f4747868f7e9a826492f1e7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:ga192f772bc9cb619e5855e93d6ebd6128"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_m_e680.html#ga192f772bc9cb619e5855e93d6ebd6128">bme680_set_profile_dur</a> (uint16_t duration, struct <a class="el" href="structbme680__dev.html">bme680_dev</a> *dev)</td></tr>
|
|
||||||
<tr class="memdesc:ga192f772bc9cb619e5855e93d6ebd6128"><td class="mdescLeft"> </td><td class="mdescRight">This API is used to set the profile duration of the sensor. <a href="group___b_m_e680.html#ga192f772bc9cb619e5855e93d6ebd6128">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:ga192f772bc9cb619e5855e93d6ebd6128"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:ga191c03ab8aa1f4bc440953fd2f6317c2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_m_e680.html#ga191c03ab8aa1f4bc440953fd2f6317c2">bme680_get_profile_dur</a> (uint16_t *duration, struct <a class="el" href="structbme680__dev.html">bme680_dev</a> *dev)</td></tr>
|
|
||||||
<tr class="memdesc:ga191c03ab8aa1f4bc440953fd2f6317c2"><td class="mdescLeft"> </td><td class="mdescRight">This API is used to get the profile duration of the sensor. <a href="group___b_m_e680.html#ga191c03ab8aa1f4bc440953fd2f6317c2">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:ga191c03ab8aa1f4bc440953fd2f6317c2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:ga1025301e420e1e21911044bebb62f940"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_m_e680.html#ga1025301e420e1e21911044bebb62f940">bme680_get_sensor_data</a> (struct <a class="el" href="structbme680__field__data.html">bme680_field_data</a> *data, struct <a class="el" href="structbme680__dev.html">bme680_dev</a> *dev)</td></tr>
|
|
||||||
<tr class="memdesc:ga1025301e420e1e21911044bebb62f940"><td class="mdescLeft"> </td><td class="mdescRight">This API reads the pressure, temperature and humidity and gas data from the sensor, compensates the data and store it in the bme680_data structure instance passed by the user. <a href="group___b_m_e680.html#ga1025301e420e1e21911044bebb62f940">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:ga1025301e420e1e21911044bebb62f940"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:ga2fea1365b4fa1d33eef434769b16e811"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_m_e680.html#ga2fea1365b4fa1d33eef434769b16e811">bme680_set_sensor_settings</a> (uint16_t desired_settings, struct <a class="el" href="structbme680__dev.html">bme680_dev</a> *dev)</td></tr>
|
|
||||||
<tr class="memdesc:ga2fea1365b4fa1d33eef434769b16e811"><td class="mdescLeft"> </td><td class="mdescRight">This API is used to set the oversampling, filter and T,P,H, gas selection settings in the sensor. <a href="group___b_m_e680.html#ga2fea1365b4fa1d33eef434769b16e811">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:ga2fea1365b4fa1d33eef434769b16e811"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:ga7826b058b8eddcf05ccbb117fd9d41b7"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_m_e680.html#ga7826b058b8eddcf05ccbb117fd9d41b7">bme680_get_sensor_settings</a> (uint16_t desired_settings, struct <a class="el" href="structbme680__dev.html">bme680_dev</a> *dev)</td></tr>
|
|
||||||
<tr class="memdesc:ga7826b058b8eddcf05ccbb117fd9d41b7"><td class="mdescLeft"> </td><td class="mdescRight">This API is used to get the oversampling, filter and T,P,H, gas selection settings in the sensor. <a href="group___b_m_e680.html#ga7826b058b8eddcf05ccbb117fd9d41b7">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:ga7826b058b8eddcf05ccbb117fd9d41b7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
</table>
|
|
||||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
||||||
<div class="textblock"><p>Sensor driver for BME680 sensor. </p>
|
|
||||||
<p>Copyright (C) 2017 - 2018 Bosch Sensortec GmbH</p>
|
|
||||||
<p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p>
|
|
||||||
<p>Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.</p>
|
|
||||||
<p>Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.</p>
|
|
||||||
<p>Neither the name of the copyright holder nor the names of the contributors may be used to endorse or promote products derived from this software without specific prior written permission.</p>
|
|
||||||
<p>THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE</p>
|
|
||||||
<p>The information provided is believed to be accurate and reliable. The copyright holder assumes no responsibility for the consequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of the copyright holder.</p>
|
|
||||||
<dl class="section date"><dt>Date</dt><dd>5 Jul 2017 </dd></dl>
|
|
||||||
<dl class="section version"><dt>Version</dt><dd>3.5.1</dd></dl>
|
|
||||||
</div></div><!-- contents -->
|
|
||||||
<!-- start footer part -->
|
|
||||||
<hr class="footer"/><address class="footer"><small>
|
|
||||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
||||||
</a> 1.8.13
|
|
||||||
</small></address>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,94 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
||||||
<title>Adafruit BME680 Library: Member List</title>
|
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="jquery.js"></script>
|
|
||||||
<script type="text/javascript" src="dynsections.js"></script>
|
|
||||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
||||||
<script type="text/javascript" src="search/search.js"></script>
|
|
||||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
||||||
<div id="titlearea">
|
|
||||||
<table cellspacing="0" cellpadding="0">
|
|
||||||
<tbody>
|
|
||||||
<tr style="height: 56px;">
|
|
||||||
<td id="projectalign" style="padding-left: 0.5em;">
|
|
||||||
<div id="projectname">Adafruit BME680 Library
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<!-- end header part -->
|
|
||||||
<!-- Generated by Doxygen 1.8.13 -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="menudata.js"></script>
|
|
||||||
<script type="text/javascript" src="menu.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function() {
|
|
||||||
initMenu('',true,false,'search.php','Search');
|
|
||||||
$(document).ready(function() { init_search(); });
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<div id="main-nav"></div>
|
|
||||||
<!-- window showing the filter options -->
|
|
||||||
<div id="MSearchSelectWindow"
|
|
||||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
||||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
||||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- iframe showing the search results (closed by default) -->
|
|
||||||
<div id="MSearchResultsWindow">
|
|
||||||
<iframe src="javascript:void(0)" frameborder="0"
|
|
||||||
name="MSearchResults" id="MSearchResults">
|
|
||||||
</iframe>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div><!-- top -->
|
|
||||||
<div class="header">
|
|
||||||
<div class="headertitle">
|
|
||||||
<div class="title">Adafruit_BME680 Member List</div> </div>
|
|
||||||
</div><!--header-->
|
|
||||||
<div class="contents">
|
|
||||||
|
|
||||||
<p>This is the complete list of members for <a class="el" href="class_adafruit___b_m_e680.html">Adafruit_BME680</a>, including all inherited members.</p>
|
|
||||||
<table class="directory">
|
|
||||||
<tr class="even"><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html#af147d564868b9eac61a2c7fcd8f614cd">Adafruit_BME680</a>(int8_t cspin=-1)</td><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html">Adafruit_BME680</a></td><td class="entry"></td></tr>
|
|
||||||
<tr><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html#a8e89aaed66497bb2dde7ab678aa81173">Adafruit_BME680</a>(int8_t cspin, int8_t mosipin, int8_t misopin, int8_t sckpin)</td><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html">Adafruit_BME680</a></td><td class="entry"></td></tr>
|
|
||||||
<tr class="even"><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html#ac6d9d5dc90424c2c3c3a3b311c1141dc">begin</a>(uint8_t addr=BME680_DEFAULT_ADDRESS)</td><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html">Adafruit_BME680</a></td><td class="entry"></td></tr>
|
|
||||||
<tr><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html#aef05921539684ec297168bdd0cee7c7c">gas_resistance</a></td><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html">Adafruit_BME680</a></td><td class="entry"></td></tr>
|
|
||||||
<tr class="even"><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html#a442787f3ad0f2ab9087535ba9c22102b">humidity</a></td><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html">Adafruit_BME680</a></td><td class="entry"></td></tr>
|
|
||||||
<tr><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html#aa58210864cad77b272669eb86f1d2a88">performReading</a>(void)</td><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html">Adafruit_BME680</a></td><td class="entry"></td></tr>
|
|
||||||
<tr class="even"><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html#a956b36e719ef0b37e59e6c3ecb8c5583">pressure</a></td><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html">Adafruit_BME680</a></td><td class="entry"></td></tr>
|
|
||||||
<tr><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html#a3caae92aa981508f0084b11b1fed4883">readAltitude</a>(float seaLevel)</td><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html">Adafruit_BME680</a></td><td class="entry"></td></tr>
|
|
||||||
<tr class="even"><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html#ae0b55eb1049c5949ff186de86aaafb55">readGas</a>(void)</td><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html">Adafruit_BME680</a></td><td class="entry"></td></tr>
|
|
||||||
<tr><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html#a1402c97860f9c61bf133be7e7056658b">readHumidity</a>(void)</td><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html">Adafruit_BME680</a></td><td class="entry"></td></tr>
|
|
||||||
<tr class="even"><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html#afd081183a7845fee1d1c080cce20495e">readPressure</a>(void)</td><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html">Adafruit_BME680</a></td><td class="entry"></td></tr>
|
|
||||||
<tr><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html#a7b554e6edf5cea06cf480e53bcb65aec">readTemperature</a>(void)</td><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html">Adafruit_BME680</a></td><td class="entry"></td></tr>
|
|
||||||
<tr class="even"><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html#a2e6a61b5441c51bf5e44c3af3ee3fec8">setGasHeater</a>(uint16_t heaterTemp, uint16_t heaterTime)</td><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html">Adafruit_BME680</a></td><td class="entry"></td></tr>
|
|
||||||
<tr><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html#af1f05d2f024e946c1d7cbe3fb90b0859">setHumidityOversampling</a>(uint8_t os)</td><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html">Adafruit_BME680</a></td><td class="entry"></td></tr>
|
|
||||||
<tr class="even"><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html#a42f25a4f258aad9abad4abb6bd95ec77">setIIRFilterSize</a>(uint8_t fs)</td><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html">Adafruit_BME680</a></td><td class="entry"></td></tr>
|
|
||||||
<tr><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html#a73a9467c838951a187a268172a2b5d8c">setPressureOversampling</a>(uint8_t os)</td><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html">Adafruit_BME680</a></td><td class="entry"></td></tr>
|
|
||||||
<tr class="even"><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html#a640ee0a0cb7ca57af30e8408260cc6e6">setTemperatureOversampling</a>(uint8_t os)</td><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html">Adafruit_BME680</a></td><td class="entry"></td></tr>
|
|
||||||
<tr><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html#a074501406d2bf249551e3e489cb9316e">temperature</a></td><td class="entry"><a class="el" href="class_adafruit___b_m_e680.html">Adafruit_BME680</a></td><td class="entry"></td></tr>
|
|
||||||
</table></div><!-- contents -->
|
|
||||||
<!-- start footer part -->
|
|
||||||
<hr class="footer"/><address class="footer"><small>
|
|
||||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
||||||
</a> 1.8.13
|
|
||||||
</small></address>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,537 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
||||||
<title>Adafruit BME680 Library: Adafruit_BME680 Class Reference</title>
|
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="jquery.js"></script>
|
|
||||||
<script type="text/javascript" src="dynsections.js"></script>
|
|
||||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
||||||
<script type="text/javascript" src="search/search.js"></script>
|
|
||||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
||||||
<div id="titlearea">
|
|
||||||
<table cellspacing="0" cellpadding="0">
|
|
||||||
<tbody>
|
|
||||||
<tr style="height: 56px;">
|
|
||||||
<td id="projectalign" style="padding-left: 0.5em;">
|
|
||||||
<div id="projectname">Adafruit BME680 Library
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<!-- end header part -->
|
|
||||||
<!-- Generated by Doxygen 1.8.13 -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="menudata.js"></script>
|
|
||||||
<script type="text/javascript" src="menu.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function() {
|
|
||||||
initMenu('',true,false,'search.php','Search');
|
|
||||||
$(document).ready(function() { init_search(); });
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<div id="main-nav"></div>
|
|
||||||
<!-- window showing the filter options -->
|
|
||||||
<div id="MSearchSelectWindow"
|
|
||||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
||||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
||||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- iframe showing the search results (closed by default) -->
|
|
||||||
<div id="MSearchResultsWindow">
|
|
||||||
<iframe src="javascript:void(0)" frameborder="0"
|
|
||||||
name="MSearchResults" id="MSearchResults">
|
|
||||||
</iframe>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div><!-- top -->
|
|
||||||
<div class="header">
|
|
||||||
<div class="summary">
|
|
||||||
<a href="#pub-methods">Public Member Functions</a> |
|
|
||||||
<a href="#pub-attribs">Public Attributes</a> |
|
|
||||||
<a href="class_adafruit___b_m_e680-members.html">List of all members</a> </div>
|
|
||||||
<div class="headertitle">
|
|
||||||
<div class="title">Adafruit_BME680 Class Reference</div> </div>
|
|
||||||
</div><!--header-->
|
|
||||||
<div class="contents">
|
|
||||||
|
|
||||||
<p><code>#include <<a class="el" href="_adafruit___b_m_e680_8h_source.html">Adafruit_BME680.h</a>></code></p>
|
|
||||||
<table class="memberdecls">
|
|
||||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
||||||
Public Member Functions</h2></td></tr>
|
|
||||||
<tr class="memitem:af147d564868b9eac61a2c7fcd8f614cd"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_adafruit___b_m_e680.html#af147d564868b9eac61a2c7fcd8f614cd">Adafruit_BME680</a> (int8_t cspin=-1)</td></tr>
|
|
||||||
<tr class="memdesc:af147d564868b9eac61a2c7fcd8f614cd"><td class="mdescLeft"> </td><td class="mdescRight">Instantiates sensor with Hardware SPI or I2C. <a href="#af147d564868b9eac61a2c7fcd8f614cd">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:af147d564868b9eac61a2c7fcd8f614cd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:a8e89aaed66497bb2dde7ab678aa81173"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_adafruit___b_m_e680.html#a8e89aaed66497bb2dde7ab678aa81173">Adafruit_BME680</a> (int8_t cspin, int8_t mosipin, int8_t misopin, int8_t sckpin)</td></tr>
|
|
||||||
<tr class="memdesc:a8e89aaed66497bb2dde7ab678aa81173"><td class="mdescLeft"> </td><td class="mdescRight">Instantiates sensor with Software (bit-bang) SPI. <a href="#a8e89aaed66497bb2dde7ab678aa81173">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:a8e89aaed66497bb2dde7ab678aa81173"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:ac6d9d5dc90424c2c3c3a3b311c1141dc"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_adafruit___b_m_e680.html#ac6d9d5dc90424c2c3c3a3b311c1141dc">begin</a> (uint8_t addr=BME680_DEFAULT_ADDRESS)</td></tr>
|
|
||||||
<tr class="memdesc:ac6d9d5dc90424c2c3c3a3b311c1141dc"><td class="mdescLeft"> </td><td class="mdescRight">Initializes the sensor. <a href="#ac6d9d5dc90424c2c3c3a3b311c1141dc">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:ac6d9d5dc90424c2c3c3a3b311c1141dc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:a7b554e6edf5cea06cf480e53bcb65aec"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_adafruit___b_m_e680.html#a7b554e6edf5cea06cf480e53bcb65aec">readTemperature</a> (void)</td></tr>
|
|
||||||
<tr class="memdesc:a7b554e6edf5cea06cf480e53bcb65aec"><td class="mdescLeft"> </td><td class="mdescRight">Performs a reading and returns the ambient temperature. <a href="#a7b554e6edf5cea06cf480e53bcb65aec">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:a7b554e6edf5cea06cf480e53bcb65aec"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:afd081183a7845fee1d1c080cce20495e"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_adafruit___b_m_e680.html#afd081183a7845fee1d1c080cce20495e">readPressure</a> (void)</td></tr>
|
|
||||||
<tr class="memdesc:afd081183a7845fee1d1c080cce20495e"><td class="mdescLeft"> </td><td class="mdescRight">Performs a reading and returns the barometric pressure. <a href="#afd081183a7845fee1d1c080cce20495e">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:afd081183a7845fee1d1c080cce20495e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:a1402c97860f9c61bf133be7e7056658b"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_adafruit___b_m_e680.html#a1402c97860f9c61bf133be7e7056658b">readHumidity</a> (void)</td></tr>
|
|
||||||
<tr class="memdesc:a1402c97860f9c61bf133be7e7056658b"><td class="mdescLeft"> </td><td class="mdescRight">Performs a reading and returns the relative humidity. <a href="#a1402c97860f9c61bf133be7e7056658b">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:a1402c97860f9c61bf133be7e7056658b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:ae0b55eb1049c5949ff186de86aaafb55"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_adafruit___b_m_e680.html#ae0b55eb1049c5949ff186de86aaafb55">readGas</a> (void)</td></tr>
|
|
||||||
<tr class="memdesc:ae0b55eb1049c5949ff186de86aaafb55"><td class="mdescLeft"> </td><td class="mdescRight">Calculates the resistance of the MOX gas sensor. <a href="#ae0b55eb1049c5949ff186de86aaafb55">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:ae0b55eb1049c5949ff186de86aaafb55"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:a3caae92aa981508f0084b11b1fed4883"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_adafruit___b_m_e680.html#a3caae92aa981508f0084b11b1fed4883">readAltitude</a> (float seaLevel)</td></tr>
|
|
||||||
<tr class="memdesc:a3caae92aa981508f0084b11b1fed4883"><td class="mdescLeft"> </td><td class="mdescRight">Calculates the altitude (in meters). <a href="#a3caae92aa981508f0084b11b1fed4883">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:a3caae92aa981508f0084b11b1fed4883"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:a640ee0a0cb7ca57af30e8408260cc6e6"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_adafruit___b_m_e680.html#a640ee0a0cb7ca57af30e8408260cc6e6">setTemperatureOversampling</a> (uint8_t os)</td></tr>
|
|
||||||
<tr class="memdesc:a640ee0a0cb7ca57af30e8408260cc6e6"><td class="mdescLeft"> </td><td class="mdescRight">Setter for Temperature oversampling. <a href="#a640ee0a0cb7ca57af30e8408260cc6e6">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:a640ee0a0cb7ca57af30e8408260cc6e6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:a73a9467c838951a187a268172a2b5d8c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_adafruit___b_m_e680.html#a73a9467c838951a187a268172a2b5d8c">setPressureOversampling</a> (uint8_t os)</td></tr>
|
|
||||||
<tr class="memdesc:a73a9467c838951a187a268172a2b5d8c"><td class="mdescLeft"> </td><td class="mdescRight">Setter for Pressure oversampling. <a href="#a73a9467c838951a187a268172a2b5d8c">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:a73a9467c838951a187a268172a2b5d8c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:af1f05d2f024e946c1d7cbe3fb90b0859"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_adafruit___b_m_e680.html#af1f05d2f024e946c1d7cbe3fb90b0859">setHumidityOversampling</a> (uint8_t os)</td></tr>
|
|
||||||
<tr class="memdesc:af1f05d2f024e946c1d7cbe3fb90b0859"><td class="mdescLeft"> </td><td class="mdescRight">Setter for Humidity oversampling. <a href="#af1f05d2f024e946c1d7cbe3fb90b0859">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:af1f05d2f024e946c1d7cbe3fb90b0859"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:a42f25a4f258aad9abad4abb6bd95ec77"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_adafruit___b_m_e680.html#a42f25a4f258aad9abad4abb6bd95ec77">setIIRFilterSize</a> (uint8_t fs)</td></tr>
|
|
||||||
<tr class="memdesc:a42f25a4f258aad9abad4abb6bd95ec77"><td class="mdescLeft"> </td><td class="mdescRight">Setter for IIR filter. <a href="#a42f25a4f258aad9abad4abb6bd95ec77">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:a42f25a4f258aad9abad4abb6bd95ec77"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:a2e6a61b5441c51bf5e44c3af3ee3fec8"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_adafruit___b_m_e680.html#a2e6a61b5441c51bf5e44c3af3ee3fec8">setGasHeater</a> (uint16_t heaterTemp, uint16_t heaterTime)</td></tr>
|
|
||||||
<tr class="memdesc:a2e6a61b5441c51bf5e44c3af3ee3fec8"><td class="mdescLeft"> </td><td class="mdescRight">Enable and configure gas reading + heater. <a href="#a2e6a61b5441c51bf5e44c3af3ee3fec8">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:a2e6a61b5441c51bf5e44c3af3ee3fec8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:aa58210864cad77b272669eb86f1d2a88"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_adafruit___b_m_e680.html#aa58210864cad77b272669eb86f1d2a88">performReading</a> (void)</td></tr>
|
|
||||||
<tr class="memdesc:aa58210864cad77b272669eb86f1d2a88"><td class="mdescLeft"> </td><td class="mdescRight">Performs a full reading of all 4 sensors in the BME680. <a href="#aa58210864cad77b272669eb86f1d2a88">More...</a><br /></td></tr>
|
|
||||||
<tr class="separator:aa58210864cad77b272669eb86f1d2a88"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
</table><table class="memberdecls">
|
|
||||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
|
|
||||||
Public Attributes</h2></td></tr>
|
|
||||||
<tr class="memitem:a074501406d2bf249551e3e489cb9316e"><td class="memItemLeft" align="right" valign="top"><a id="a074501406d2bf249551e3e489cb9316e"></a>
|
|
||||||
float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_adafruit___b_m_e680.html#a074501406d2bf249551e3e489cb9316e">temperature</a></td></tr>
|
|
||||||
<tr class="memdesc:a074501406d2bf249551e3e489cb9316e"><td class="mdescLeft"> </td><td class="mdescRight">Temperature (Celsius) assigned after calling <a class="el" href="class_adafruit___b_m_e680.html#aa58210864cad77b272669eb86f1d2a88" title="Performs a full reading of all 4 sensors in the BME680. ">performReading()</a> <br /></td></tr>
|
|
||||||
<tr class="separator:a074501406d2bf249551e3e489cb9316e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:a956b36e719ef0b37e59e6c3ecb8c5583"><td class="memItemLeft" align="right" valign="top"><a id="a956b36e719ef0b37e59e6c3ecb8c5583"></a>
|
|
||||||
float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_adafruit___b_m_e680.html#a956b36e719ef0b37e59e6c3ecb8c5583">pressure</a></td></tr>
|
|
||||||
<tr class="memdesc:a956b36e719ef0b37e59e6c3ecb8c5583"><td class="mdescLeft"> </td><td class="mdescRight">Pressure (Pascals) assigned after calling <a class="el" href="class_adafruit___b_m_e680.html#aa58210864cad77b272669eb86f1d2a88" title="Performs a full reading of all 4 sensors in the BME680. ">performReading()</a> <br /></td></tr>
|
|
||||||
<tr class="separator:a956b36e719ef0b37e59e6c3ecb8c5583"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:a442787f3ad0f2ab9087535ba9c22102b"><td class="memItemLeft" align="right" valign="top"><a id="a442787f3ad0f2ab9087535ba9c22102b"></a>
|
|
||||||
float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_adafruit___b_m_e680.html#a442787f3ad0f2ab9087535ba9c22102b">humidity</a></td></tr>
|
|
||||||
<tr class="memdesc:a442787f3ad0f2ab9087535ba9c22102b"><td class="mdescLeft"> </td><td class="mdescRight">Humidity (RH %) assigned after calling <a class="el" href="class_adafruit___b_m_e680.html#aa58210864cad77b272669eb86f1d2a88" title="Performs a full reading of all 4 sensors in the BME680. ">performReading()</a> <br /></td></tr>
|
|
||||||
<tr class="separator:a442787f3ad0f2ab9087535ba9c22102b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
<tr class="memitem:aef05921539684ec297168bdd0cee7c7c"><td class="memItemLeft" align="right" valign="top"><a id="aef05921539684ec297168bdd0cee7c7c"></a>
|
|
||||||
float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_adafruit___b_m_e680.html#aef05921539684ec297168bdd0cee7c7c">gas_resistance</a></td></tr>
|
|
||||||
<tr class="memdesc:aef05921539684ec297168bdd0cee7c7c"><td class="mdescLeft"> </td><td class="mdescRight">Gas resistor (ohms) assigned after calling <a class="el" href="class_adafruit___b_m_e680.html#aa58210864cad77b272669eb86f1d2a88" title="Performs a full reading of all 4 sensors in the BME680. ">performReading()</a> <br /></td></tr>
|
|
||||||
<tr class="separator:aef05921539684ec297168bdd0cee7c7c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
||||||
</table>
|
|
||||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
||||||
<div class="textblock"><p><a class="el" href="class_adafruit___b_m_e680.html">Adafruit_BME680</a> Class for both I2C and SPI usage. Wraps the Bosch library for Arduino usage </p>
|
|
||||||
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
||||||
<a id="af147d564868b9eac61a2c7fcd8f614cd"></a>
|
|
||||||
<h2 class="memtitle"><span class="permalink"><a href="#af147d564868b9eac61a2c7fcd8f614cd">◆ </a></span>Adafruit_BME680() <span class="overload">[1/2]</span></h2>
|
|
||||||
|
|
||||||
<div class="memitem">
|
|
||||||
<div class="memproto">
|
|
||||||
<table class="memname">
|
|
||||||
<tr>
|
|
||||||
<td class="memname">Adafruit_BME680::Adafruit_BME680 </td>
|
|
||||||
<td>(</td>
|
|
||||||
<td class="paramtype">int8_t </td>
|
|
||||||
<td class="paramname"><em>cspin</em> = <code>-1</code></td><td>)</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div><div class="memdoc">
|
|
||||||
|
|
||||||
<p>Instantiates sensor with Hardware SPI or I2C. </p>
|
|
||||||
<dl class="params"><dt>Parameters</dt><dd>
|
|
||||||
<table class="params">
|
|
||||||
<tr><td class="paramname">cspin</td><td>SPI chip select. If not passed in, I2C will be used </td></tr>
|
|
||||||
</table>
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<a id="a8e89aaed66497bb2dde7ab678aa81173"></a>
|
|
||||||
<h2 class="memtitle"><span class="permalink"><a href="#a8e89aaed66497bb2dde7ab678aa81173">◆ </a></span>Adafruit_BME680() <span class="overload">[2/2]</span></h2>
|
|
||||||
|
|
||||||
<div class="memitem">
|
|
||||||
<div class="memproto">
|
|
||||||
<table class="memname">
|
|
||||||
<tr>
|
|
||||||
<td class="memname">Adafruit_BME680::Adafruit_BME680 </td>
|
|
||||||
<td>(</td>
|
|
||||||
<td class="paramtype">int8_t </td>
|
|
||||||
<td class="paramname"><em>cspin</em>, </td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="paramkey"></td>
|
|
||||||
<td></td>
|
|
||||||
<td class="paramtype">int8_t </td>
|
|
||||||
<td class="paramname"><em>mosipin</em>, </td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="paramkey"></td>
|
|
||||||
<td></td>
|
|
||||||
<td class="paramtype">int8_t </td>
|
|
||||||
<td class="paramname"><em>misopin</em>, </td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="paramkey"></td>
|
|
||||||
<td></td>
|
|
||||||
<td class="paramtype">int8_t </td>
|
|
||||||
<td class="paramname"><em>sckpin</em> </td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td></td>
|
|
||||||
<td>)</td>
|
|
||||||
<td></td><td></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div><div class="memdoc">
|
|
||||||
|
|
||||||
<p>Instantiates sensor with Software (bit-bang) SPI. </p>
|
|
||||||
<dl class="params"><dt>Parameters</dt><dd>
|
|
||||||
<table class="params">
|
|
||||||
<tr><td class="paramname">cspin</td><td>SPI chip select </td></tr>
|
|
||||||
<tr><td class="paramname">mosipin</td><td>SPI MOSI (Data from microcontroller to sensor) </td></tr>
|
|
||||||
<tr><td class="paramname">misopin</td><td>SPI MISO (Data to microcontroller from sensor) </td></tr>
|
|
||||||
<tr><td class="paramname">sckpin</td><td>SPI Clock </td></tr>
|
|
||||||
</table>
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<h2 class="groupheader">Member Function Documentation</h2>
|
|
||||||
<a id="ac6d9d5dc90424c2c3c3a3b311c1141dc"></a>
|
|
||||||
<h2 class="memtitle"><span class="permalink"><a href="#ac6d9d5dc90424c2c3c3a3b311c1141dc">◆ </a></span>begin()</h2>
|
|
||||||
|
|
||||||
<div class="memitem">
|
|
||||||
<div class="memproto">
|
|
||||||
<table class="memname">
|
|
||||||
<tr>
|
|
||||||
<td class="memname">bool Adafruit_BME680::begin </td>
|
|
||||||
<td>(</td>
|
|
||||||
<td class="paramtype">uint8_t </td>
|
|
||||||
<td class="paramname"><em>addr</em> = <code>BME680_DEFAULT_ADDRESS</code></td><td>)</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div><div class="memdoc">
|
|
||||||
|
|
||||||
<p>Initializes the sensor. </p>
|
|
||||||
<p>Hardware ss initialized, verifies it is in the I2C or SPI bus, then reads calibration data in preparation for sensor reads.</p>
|
|
||||||
<dl class="params"><dt>Parameters</dt><dd>
|
|
||||||
<table class="params">
|
|
||||||
<tr><td class="paramname">addr</td><td>Optional parameter for the I2C address of BME680. Default is 0x77 </td></tr>
|
|
||||||
</table>
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
<dl class="section return"><dt>Returns</dt><dd>True on sensor initialization success. False on failure. </dd></dl>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<a id="aa58210864cad77b272669eb86f1d2a88"></a>
|
|
||||||
<h2 class="memtitle"><span class="permalink"><a href="#aa58210864cad77b272669eb86f1d2a88">◆ </a></span>performReading()</h2>
|
|
||||||
|
|
||||||
<div class="memitem">
|
|
||||||
<div class="memproto">
|
|
||||||
<table class="memname">
|
|
||||||
<tr>
|
|
||||||
<td class="memname">bool Adafruit_BME680::performReading </td>
|
|
||||||
<td>(</td>
|
|
||||||
<td class="paramtype">void </td>
|
|
||||||
<td class="paramname"></td><td>)</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div><div class="memdoc">
|
|
||||||
|
|
||||||
<p>Performs a full reading of all 4 sensors in the BME680. </p>
|
|
||||||
<p>Assigns the internal <a class="el" href="class_adafruit___b_m_e680.html#a074501406d2bf249551e3e489cb9316e" title="Temperature (Celsius) assigned after calling performReading() ">Adafruit_BME680::temperature</a>, <a class="el" href="class_adafruit___b_m_e680.html#a956b36e719ef0b37e59e6c3ecb8c5583" title="Pressure (Pascals) assigned after calling performReading() ">Adafruit_BME680::pressure</a>, <a class="el" href="class_adafruit___b_m_e680.html#a442787f3ad0f2ab9087535ba9c22102b" title="Humidity (RH %) assigned after calling performReading() ">Adafruit_BME680::humidity</a> and <a class="el" href="class_adafruit___b_m_e680.html#aef05921539684ec297168bdd0cee7c7c" title="Gas resistor (ohms) assigned after calling performReading() ">Adafruit_BME680::gas_resistance</a> member variables</p>
|
|
||||||
<dl class="section return"><dt>Returns</dt><dd>True on success, False on failure </dd></dl>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<a id="a3caae92aa981508f0084b11b1fed4883"></a>
|
|
||||||
<h2 class="memtitle"><span class="permalink"><a href="#a3caae92aa981508f0084b11b1fed4883">◆ </a></span>readAltitude()</h2>
|
|
||||||
|
|
||||||
<div class="memitem">
|
|
||||||
<div class="memproto">
|
|
||||||
<table class="memname">
|
|
||||||
<tr>
|
|
||||||
<td class="memname">float Adafruit_BME680::readAltitude </td>
|
|
||||||
<td>(</td>
|
|
||||||
<td class="paramtype">float </td>
|
|
||||||
<td class="paramname"><em>seaLevel</em></td><td>)</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div><div class="memdoc">
|
|
||||||
|
|
||||||
<p>Calculates the altitude (in meters). </p>
|
|
||||||
<p>Reads the current atmostpheric pressure (in hPa) from the sensor and calculates via the provided sea-level pressure (in hPa).</p>
|
|
||||||
<dl class="params"><dt>Parameters</dt><dd>
|
|
||||||
<table class="params">
|
|
||||||
<tr><td class="paramname">seaLevel</td><td>Sea-level pressure in hPa </td></tr>
|
|
||||||
</table>
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
<dl class="section return"><dt>Returns</dt><dd>Altitude in meters </dd></dl>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<a id="ae0b55eb1049c5949ff186de86aaafb55"></a>
|
|
||||||
<h2 class="memtitle"><span class="permalink"><a href="#ae0b55eb1049c5949ff186de86aaafb55">◆ </a></span>readGas()</h2>
|
|
||||||
|
|
||||||
<div class="memitem">
|
|
||||||
<div class="memproto">
|
|
||||||
<table class="memname">
|
|
||||||
<tr>
|
|
||||||
<td class="memname">uint32_t Adafruit_BME680::readGas </td>
|
|
||||||
<td>(</td>
|
|
||||||
<td class="paramtype">void </td>
|
|
||||||
<td class="paramname"></td><td>)</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div><div class="memdoc">
|
|
||||||
|
|
||||||
<p>Calculates the resistance of the MOX gas sensor. </p>
|
|
||||||
<dl class="section return"><dt>Returns</dt><dd>Resistance in Ohms </dd></dl>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<a id="a1402c97860f9c61bf133be7e7056658b"></a>
|
|
||||||
<h2 class="memtitle"><span class="permalink"><a href="#a1402c97860f9c61bf133be7e7056658b">◆ </a></span>readHumidity()</h2>
|
|
||||||
|
|
||||||
<div class="memitem">
|
|
||||||
<div class="memproto">
|
|
||||||
<table class="memname">
|
|
||||||
<tr>
|
|
||||||
<td class="memname">float Adafruit_BME680::readHumidity </td>
|
|
||||||
<td>(</td>
|
|
||||||
<td class="paramtype">void </td>
|
|
||||||
<td class="paramname"></td><td>)</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div><div class="memdoc">
|
|
||||||
|
|
||||||
<p>Performs a reading and returns the relative humidity. </p>
|
|
||||||
<dl class="section return"><dt>Returns</dt><dd>Relative humidity as floating point </dd></dl>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<a id="afd081183a7845fee1d1c080cce20495e"></a>
|
|
||||||
<h2 class="memtitle"><span class="permalink"><a href="#afd081183a7845fee1d1c080cce20495e">◆ </a></span>readPressure()</h2>
|
|
||||||
|
|
||||||
<div class="memitem">
|
|
||||||
<div class="memproto">
|
|
||||||
<table class="memname">
|
|
||||||
<tr>
|
|
||||||
<td class="memname">float Adafruit_BME680::readPressure </td>
|
|
||||||
<td>(</td>
|
|
||||||
<td class="paramtype">void </td>
|
|
||||||
<td class="paramname"></td><td>)</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div><div class="memdoc">
|
|
||||||
|
|
||||||
<p>Performs a reading and returns the barometric pressure. </p>
|
|
||||||
<dl class="section return"><dt>Returns</dt><dd>Barometic pressure in Pascals </dd></dl>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<a id="a7b554e6edf5cea06cf480e53bcb65aec"></a>
|
|
||||||
<h2 class="memtitle"><span class="permalink"><a href="#a7b554e6edf5cea06cf480e53bcb65aec">◆ </a></span>readTemperature()</h2>
|
|
||||||
|
|
||||||
<div class="memitem">
|
|
||||||
<div class="memproto">
|
|
||||||
<table class="memname">
|
|
||||||
<tr>
|
|
||||||
<td class="memname">float Adafruit_BME680::readTemperature </td>
|
|
||||||
<td>(</td>
|
|
||||||
<td class="paramtype">void </td>
|
|
||||||
<td class="paramname"></td><td>)</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div><div class="memdoc">
|
|
||||||
|
|
||||||
<p>Performs a reading and returns the ambient temperature. </p>
|
|
||||||
<dl class="section return"><dt>Returns</dt><dd>Temperature in degrees Centigrade </dd></dl>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<a id="a2e6a61b5441c51bf5e44c3af3ee3fec8"></a>
|
|
||||||
<h2 class="memtitle"><span class="permalink"><a href="#a2e6a61b5441c51bf5e44c3af3ee3fec8">◆ </a></span>setGasHeater()</h2>
|
|
||||||
|
|
||||||
<div class="memitem">
|
|
||||||
<div class="memproto">
|
|
||||||
<table class="memname">
|
|
||||||
<tr>
|
|
||||||
<td class="memname">bool Adafruit_BME680::setGasHeater </td>
|
|
||||||
<td>(</td>
|
|
||||||
<td class="paramtype">uint16_t </td>
|
|
||||||
<td class="paramname"><em>heaterTemp</em>, </td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="paramkey"></td>
|
|
||||||
<td></td>
|
|
||||||
<td class="paramtype">uint16_t </td>
|
|
||||||
<td class="paramname"><em>heaterTime</em> </td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td></td>
|
|
||||||
<td>)</td>
|
|
||||||
<td></td><td></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div><div class="memdoc">
|
|
||||||
|
|
||||||
<p>Enable and configure gas reading + heater. </p>
|
|
||||||
<dl class="params"><dt>Parameters</dt><dd>
|
|
||||||
<table class="params">
|
|
||||||
<tr><td class="paramname">heaterTemp</td><td>Desired temperature in degrees Centigrade </td></tr>
|
|
||||||
<tr><td class="paramname">heaterTime</td><td>Time to keep heater on in milliseconds </td></tr>
|
|
||||||
</table>
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
<dl class="section return"><dt>Returns</dt><dd>True on success, False on failure </dd></dl>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<a id="af1f05d2f024e946c1d7cbe3fb90b0859"></a>
|
|
||||||
<h2 class="memtitle"><span class="permalink"><a href="#af1f05d2f024e946c1d7cbe3fb90b0859">◆ </a></span>setHumidityOversampling()</h2>
|
|
||||||
|
|
||||||
<div class="memitem">
|
|
||||||
<div class="memproto">
|
|
||||||
<table class="memname">
|
|
||||||
<tr>
|
|
||||||
<td class="memname">bool Adafruit_BME680::setHumidityOversampling </td>
|
|
||||||
<td>(</td>
|
|
||||||
<td class="paramtype">uint8_t </td>
|
|
||||||
<td class="paramname"><em>oversample</em></td><td>)</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div><div class="memdoc">
|
|
||||||
|
|
||||||
<p>Setter for Humidity oversampling. </p>
|
|
||||||
<dl class="params"><dt>Parameters</dt><dd>
|
|
||||||
<table class="params">
|
|
||||||
<tr><td class="paramname">oversample</td><td>Oversampling setting, can be BME680_OS_NONE (turn off Humidity reading), BME680_OS_1X, BME680_OS_2X, BME680_OS_4X, BME680_OS_8X or BME680_OS_16X </td></tr>
|
|
||||||
</table>
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
<dl class="section return"><dt>Returns</dt><dd>True on success, False on failure </dd></dl>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<a id="a42f25a4f258aad9abad4abb6bd95ec77"></a>
|
|
||||||
<h2 class="memtitle"><span class="permalink"><a href="#a42f25a4f258aad9abad4abb6bd95ec77">◆ </a></span>setIIRFilterSize()</h2>
|
|
||||||
|
|
||||||
<div class="memitem">
|
|
||||||
<div class="memproto">
|
|
||||||
<table class="memname">
|
|
||||||
<tr>
|
|
||||||
<td class="memname">bool Adafruit_BME680::setIIRFilterSize </td>
|
|
||||||
<td>(</td>
|
|
||||||
<td class="paramtype">uint8_t </td>
|
|
||||||
<td class="paramname"><em>filtersize</em></td><td>)</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div><div class="memdoc">
|
|
||||||
|
|
||||||
<p>Setter for IIR filter. </p>
|
|
||||||
<dl class="params"><dt>Parameters</dt><dd>
|
|
||||||
<table class="params">
|
|
||||||
<tr><td class="paramname">filtersize</td><td>Size of the filter (in samples). Can be BME680_FILTER_SIZE_0 (no filtering), BME680_FILTER_SIZE_1, BME680_FILTER_SIZE_3, BME680_FILTER_SIZE_7, BME680_FILTER_SIZE_15, BME680_FILTER_SIZE_31, BME680_FILTER_SIZE_63, BME680_FILTER_SIZE_127 </td></tr>
|
|
||||||
</table>
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
<dl class="section return"><dt>Returns</dt><dd>True on success, False on failure </dd></dl>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<a id="a73a9467c838951a187a268172a2b5d8c"></a>
|
|
||||||
<h2 class="memtitle"><span class="permalink"><a href="#a73a9467c838951a187a268172a2b5d8c">◆ </a></span>setPressureOversampling()</h2>
|
|
||||||
|
|
||||||
<div class="memitem">
|
|
||||||
<div class="memproto">
|
|
||||||
<table class="memname">
|
|
||||||
<tr>
|
|
||||||
<td class="memname">bool Adafruit_BME680::setPressureOversampling </td>
|
|
||||||
<td>(</td>
|
|
||||||
<td class="paramtype">uint8_t </td>
|
|
||||||
<td class="paramname"><em>os</em></td><td>)</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div><div class="memdoc">
|
|
||||||
|
|
||||||
<p>Setter for Pressure oversampling. </p>
|
|
||||||
<dl class="params"><dt>Parameters</dt><dd>
|
|
||||||
<table class="params">
|
|
||||||
<tr><td class="paramname">oversample</td><td>Oversampling setting, can be BME680_OS_NONE (turn off Pressure reading), BME680_OS_1X, BME680_OS_2X, BME680_OS_4X, BME680_OS_8X or BME680_OS_16X </td></tr>
|
|
||||||
</table>
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
<dl class="section return"><dt>Returns</dt><dd>True on success, False on failure </dd></dl>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<a id="a640ee0a0cb7ca57af30e8408260cc6e6"></a>
|
|
||||||
<h2 class="memtitle"><span class="permalink"><a href="#a640ee0a0cb7ca57af30e8408260cc6e6">◆ </a></span>setTemperatureOversampling()</h2>
|
|
||||||
|
|
||||||
<div class="memitem">
|
|
||||||
<div class="memproto">
|
|
||||||
<table class="memname">
|
|
||||||
<tr>
|
|
||||||
<td class="memname">bool Adafruit_BME680::setTemperatureOversampling </td>
|
|
||||||
<td>(</td>
|
|
||||||
<td class="paramtype">uint8_t </td>
|
|
||||||
<td class="paramname"><em>oversample</em></td><td>)</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div><div class="memdoc">
|
|
||||||
|
|
||||||
<p>Setter for Temperature oversampling. </p>
|
|
||||||
<dl class="params"><dt>Parameters</dt><dd>
|
|
||||||
<table class="params">
|
|
||||||
<tr><td class="paramname">oversample</td><td>Oversampling setting, can be BME680_OS_NONE (turn off Temperature reading), BME680_OS_1X, BME680_OS_2X, BME680_OS_4X, BME680_OS_8X or BME680_OS_16X </td></tr>
|
|
||||||
</table>
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
<dl class="section return"><dt>Returns</dt><dd>True on success, False on failure </dd></dl>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
||||||
<li><a class="el" href="_adafruit___b_m_e680_8h_source.html">Adafruit_BME680.h</a></li>
|
|
||||||
<li>Adafruit_BME680.cpp</li>
|
|
||||||
</ul>
|
|
||||||
</div><!-- contents -->
|
|
||||||
<!-- start footer part -->
|
|
||||||
<hr class="footer"/><address class="footer"><small>
|
|
||||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
||||||
</a> 1.8.13
|
|
||||||
</small></address>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,82 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
||||||
<title>Adafruit BME680 Library: Class Index</title>
|
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="jquery.js"></script>
|
|
||||||
<script type="text/javascript" src="dynsections.js"></script>
|
|
||||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
||||||
<script type="text/javascript" src="search/search.js"></script>
|
|
||||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
||||||
<div id="titlearea">
|
|
||||||
<table cellspacing="0" cellpadding="0">
|
|
||||||
<tbody>
|
|
||||||
<tr style="height: 56px;">
|
|
||||||
<td id="projectalign" style="padding-left: 0.5em;">
|
|
||||||
<div id="projectname">Adafruit BME680 Library
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<!-- end header part -->
|
|
||||||
<!-- Generated by Doxygen 1.8.13 -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="menudata.js"></script>
|
|
||||||
<script type="text/javascript" src="menu.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function() {
|
|
||||||
initMenu('',true,false,'search.php','Search');
|
|
||||||
$(document).ready(function() { init_search(); });
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<div id="main-nav"></div>
|
|
||||||
</div><!-- top -->
|
|
||||||
<!-- window showing the filter options -->
|
|
||||||
<div id="MSearchSelectWindow"
|
|
||||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
||||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
||||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- iframe showing the search results (closed by default) -->
|
|
||||||
<div id="MSearchResultsWindow">
|
|
||||||
<iframe src="javascript:void(0)" frameborder="0"
|
|
||||||
name="MSearchResults" id="MSearchResults">
|
|
||||||
</iframe>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<div class="headertitle">
|
|
||||||
<div class="title">Class Index</div> </div>
|
|
||||||
</div><!--header-->
|
|
||||||
<div class="contents">
|
|
||||||
<div class="qindex"><a class="qindex" href="#letter_a">a</a></div>
|
|
||||||
<table class="classindex">
|
|
||||||
<tr><td rowspan="2" valign="bottom"><a name="letter_a"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  a  </div></td></tr></table>
|
|
||||||
</td><td></td></tr>
|
|
||||||
<tr><td></td></tr>
|
|
||||||
<tr><td valign="top"><a class="el" href="class_adafruit___b_m_e680.html">Adafruit_BME680</a>   </td><td></td></tr>
|
|
||||||
<tr><td></td><td></td></tr>
|
|
||||||
</table>
|
|
||||||
<div class="qindex"><a class="qindex" href="#letter_a">a</a></div>
|
|
||||||
</div><!-- contents -->
|
|
||||||
<!-- start footer part -->
|
|
||||||
<hr class="footer"/><address class="footer"><small>
|
|
||||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
||||||
</a> 1.8.13
|
|
||||||
</small></address>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
Before Width: | Height: | Size: 132 B |
|
Before Width: | Height: | Size: 746 B |
|
Before Width: | Height: | Size: 3.7 KiB |
@ -1,97 +0,0 @@
|
|||||||
function toggleVisibility(linkObj)
|
|
||||||
{
|
|
||||||
var base = $(linkObj).attr('id');
|
|
||||||
var summary = $('#'+base+'-summary');
|
|
||||||
var content = $('#'+base+'-content');
|
|
||||||
var trigger = $('#'+base+'-trigger');
|
|
||||||
var src=$(trigger).attr('src');
|
|
||||||
if (content.is(':visible')===true) {
|
|
||||||
content.hide();
|
|
||||||
summary.show();
|
|
||||||
$(linkObj).addClass('closed').removeClass('opened');
|
|
||||||
$(trigger).attr('src',src.substring(0,src.length-8)+'closed.png');
|
|
||||||
} else {
|
|
||||||
content.show();
|
|
||||||
summary.hide();
|
|
||||||
$(linkObj).removeClass('closed').addClass('opened');
|
|
||||||
$(trigger).attr('src',src.substring(0,src.length-10)+'open.png');
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
function updateStripes()
|
|
||||||
{
|
|
||||||
$('table.directory tr').
|
|
||||||
removeClass('even').filter(':visible:even').addClass('even');
|
|
||||||
}
|
|
||||||
|
|
||||||
function toggleLevel(level)
|
|
||||||
{
|
|
||||||
$('table.directory tr').each(function() {
|
|
||||||
var l = this.id.split('_').length-1;
|
|
||||||
var i = $('#img'+this.id.substring(3));
|
|
||||||
var a = $('#arr'+this.id.substring(3));
|
|
||||||
if (l<level+1) {
|
|
||||||
i.removeClass('iconfopen iconfclosed').addClass('iconfopen');
|
|
||||||
a.html('▼');
|
|
||||||
$(this).show();
|
|
||||||
} else if (l==level+1) {
|
|
||||||
i.removeClass('iconfclosed iconfopen').addClass('iconfclosed');
|
|
||||||
a.html('►');
|
|
||||||
$(this).show();
|
|
||||||
} else {
|
|
||||||
$(this).hide();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
updateStripes();
|
|
||||||
}
|
|
||||||
|
|
||||||
function toggleFolder(id)
|
|
||||||
{
|
|
||||||
// the clicked row
|
|
||||||
var currentRow = $('#row_'+id);
|
|
||||||
|
|
||||||
// all rows after the clicked row
|
|
||||||
var rows = currentRow.nextAll("tr");
|
|
||||||
|
|
||||||
var re = new RegExp('^row_'+id+'\\d+_$', "i"); //only one sub
|
|
||||||
|
|
||||||
// only match elements AFTER this one (can't hide elements before)
|
|
||||||
var childRows = rows.filter(function() { return this.id.match(re); });
|
|
||||||
|
|
||||||
// first row is visible we are HIDING
|
|
||||||
if (childRows.filter(':first').is(':visible')===true) {
|
|
||||||
// replace down arrow by right arrow for current row
|
|
||||||
var currentRowSpans = currentRow.find("span");
|
|
||||||
currentRowSpans.filter(".iconfopen").removeClass("iconfopen").addClass("iconfclosed");
|
|
||||||
currentRowSpans.filter(".arrow").html('►');
|
|
||||||
rows.filter("[id^=row_"+id+"]").hide(); // hide all children
|
|
||||||
} else { // we are SHOWING
|
|
||||||
// replace right arrow by down arrow for current row
|
|
||||||
var currentRowSpans = currentRow.find("span");
|
|
||||||
currentRowSpans.filter(".iconfclosed").removeClass("iconfclosed").addClass("iconfopen");
|
|
||||||
currentRowSpans.filter(".arrow").html('▼');
|
|
||||||
// replace down arrows by right arrows for child rows
|
|
||||||
var childRowsSpans = childRows.find("span");
|
|
||||||
childRowsSpans.filter(".iconfopen").removeClass("iconfopen").addClass("iconfclosed");
|
|
||||||
childRowsSpans.filter(".arrow").html('►');
|
|
||||||
childRows.show(); //show all children
|
|
||||||
}
|
|
||||||
updateStripes();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
function toggleInherit(id)
|
|
||||||
{
|
|
||||||
var rows = $('tr.inherit.'+id);
|
|
||||||
var img = $('tr.inherit_header.'+id+' img');
|
|
||||||
var src = $(img).attr('src');
|
|
||||||
if (rows.filter(':first').is(':visible')===true) {
|
|
||||||
rows.css('display','none');
|
|
||||||
$(img).attr('src',src.substring(0,src.length-8)+'closed.png');
|
|
||||||
} else {
|
|
||||||
rows.css('display','table-row'); // using show() causes jump in firefox
|
|
||||||
$(img).attr('src',src.substring(0,src.length-10)+'open.png');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@ -1,78 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
||||||
<title>Adafruit BME680 Library: File List</title>
|
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="jquery.js"></script>
|
|
||||||
<script type="text/javascript" src="dynsections.js"></script>
|
|
||||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
||||||
<script type="text/javascript" src="search/search.js"></script>
|
|
||||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
||||||
<div id="titlearea">
|
|
||||||
<table cellspacing="0" cellpadding="0">
|
|
||||||
<tbody>
|
|
||||||
<tr style="height: 56px;">
|
|
||||||
<td id="projectalign" style="padding-left: 0.5em;">
|
|
||||||
<div id="projectname">Adafruit BME680 Library
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<!-- end header part -->
|
|
||||||
<!-- Generated by Doxygen 1.8.13 -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="menudata.js"></script>
|
|
||||||
<script type="text/javascript" src="menu.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function() {
|
|
||||||
initMenu('',true,false,'search.php','Search');
|
|
||||||
$(document).ready(function() { init_search(); });
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<div id="main-nav"></div>
|
|
||||||
</div><!-- top -->
|
|
||||||
<!-- window showing the filter options -->
|
|
||||||
<div id="MSearchSelectWindow"
|
|
||||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
||||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
||||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- iframe showing the search results (closed by default) -->
|
|
||||||
<div id="MSearchResultsWindow">
|
|
||||||
<iframe src="javascript:void(0)" frameborder="0"
|
|
||||||
name="MSearchResults" id="MSearchResults">
|
|
||||||
</iframe>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<div class="headertitle">
|
|
||||||
<div class="title">File List</div> </div>
|
|
||||||
</div><!--header-->
|
|
||||||
<div class="contents">
|
|
||||||
<div class="textblock">Here is a list of all documented files with brief descriptions:</div><div class="directory">
|
|
||||||
<table class="directory">
|
|
||||||
<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a href="_adafruit___b_m_e680_8h_source.html"><span class="icondoc"></span></a><b>Adafruit_BME680.h</b></td><td class="desc"></td></tr>
|
|
||||||
</table>
|
|
||||||
</div><!-- directory -->
|
|
||||||
</div><!-- contents -->
|
|
||||||
<!-- start footer part -->
|
|
||||||
<hr class="footer"/><address class="footer"><small>
|
|
||||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
||||||
</a> 1.8.13
|
|
||||||
</small></address>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
Before Width: | Height: | Size: 616 B |
|
Before Width: | Height: | Size: 597 B |
@ -1,122 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
||||||
<title>Adafruit BME680 Library: Class Members</title>
|
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="jquery.js"></script>
|
|
||||||
<script type="text/javascript" src="dynsections.js"></script>
|
|
||||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
||||||
<script type="text/javascript" src="search/search.js"></script>
|
|
||||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
||||||
<div id="titlearea">
|
|
||||||
<table cellspacing="0" cellpadding="0">
|
|
||||||
<tbody>
|
|
||||||
<tr style="height: 56px;">
|
|
||||||
<td id="projectalign" style="padding-left: 0.5em;">
|
|
||||||
<div id="projectname">Adafruit BME680 Library
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<!-- end header part -->
|
|
||||||
<!-- Generated by Doxygen 1.8.13 -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="menudata.js"></script>
|
|
||||||
<script type="text/javascript" src="menu.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function() {
|
|
||||||
initMenu('',true,false,'search.php','Search');
|
|
||||||
$(document).ready(function() { init_search(); });
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<div id="main-nav"></div>
|
|
||||||
</div><!-- top -->
|
|
||||||
<!-- window showing the filter options -->
|
|
||||||
<div id="MSearchSelectWindow"
|
|
||||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
||||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
||||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- iframe showing the search results (closed by default) -->
|
|
||||||
<div id="MSearchResultsWindow">
|
|
||||||
<iframe src="javascript:void(0)" frameborder="0"
|
|
||||||
name="MSearchResults" id="MSearchResults">
|
|
||||||
</iframe>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="contents">
|
|
||||||
<div class="textblock">Here is a list of all documented class members with links to the class documentation for each member:</div><ul>
|
|
||||||
<li>Adafruit_BME680()
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#af147d564868b9eac61a2c7fcd8f614cd">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>begin()
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#ac6d9d5dc90424c2c3c3a3b311c1141dc">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>gas_resistance
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#aef05921539684ec297168bdd0cee7c7c">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>humidity
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#a442787f3ad0f2ab9087535ba9c22102b">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>performReading()
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#aa58210864cad77b272669eb86f1d2a88">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>pressure
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#a956b36e719ef0b37e59e6c3ecb8c5583">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>readAltitude()
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#a3caae92aa981508f0084b11b1fed4883">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>readGas()
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#ae0b55eb1049c5949ff186de86aaafb55">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>readHumidity()
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#a1402c97860f9c61bf133be7e7056658b">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>readPressure()
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#afd081183a7845fee1d1c080cce20495e">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>readTemperature()
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#a7b554e6edf5cea06cf480e53bcb65aec">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>setGasHeater()
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#a2e6a61b5441c51bf5e44c3af3ee3fec8">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>setHumidityOversampling()
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#af1f05d2f024e946c1d7cbe3fb90b0859">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>setIIRFilterSize()
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#a42f25a4f258aad9abad4abb6bd95ec77">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>setPressureOversampling()
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#a73a9467c838951a187a268172a2b5d8c">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>setTemperatureOversampling()
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#a640ee0a0cb7ca57af30e8408260cc6e6">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>temperature
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#a074501406d2bf249551e3e489cb9316e">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!-- contents -->
|
|
||||||
<!-- start footer part -->
|
|
||||||
<hr class="footer"/><address class="footer"><small>
|
|
||||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
||||||
</a> 1.8.13
|
|
||||||
</small></address>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,110 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
||||||
<title>Adafruit BME680 Library: Class Members - Functions</title>
|
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="jquery.js"></script>
|
|
||||||
<script type="text/javascript" src="dynsections.js"></script>
|
|
||||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
||||||
<script type="text/javascript" src="search/search.js"></script>
|
|
||||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
||||||
<div id="titlearea">
|
|
||||||
<table cellspacing="0" cellpadding="0">
|
|
||||||
<tbody>
|
|
||||||
<tr style="height: 56px;">
|
|
||||||
<td id="projectalign" style="padding-left: 0.5em;">
|
|
||||||
<div id="projectname">Adafruit BME680 Library
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<!-- end header part -->
|
|
||||||
<!-- Generated by Doxygen 1.8.13 -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="menudata.js"></script>
|
|
||||||
<script type="text/javascript" src="menu.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function() {
|
|
||||||
initMenu('',true,false,'search.php','Search');
|
|
||||||
$(document).ready(function() { init_search(); });
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<div id="main-nav"></div>
|
|
||||||
</div><!-- top -->
|
|
||||||
<!-- window showing the filter options -->
|
|
||||||
<div id="MSearchSelectWindow"
|
|
||||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
||||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
||||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- iframe showing the search results (closed by default) -->
|
|
||||||
<div id="MSearchResultsWindow">
|
|
||||||
<iframe src="javascript:void(0)" frameborder="0"
|
|
||||||
name="MSearchResults" id="MSearchResults">
|
|
||||||
</iframe>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="contents">
|
|
||||||
 <ul>
|
|
||||||
<li>Adafruit_BME680()
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#af147d564868b9eac61a2c7fcd8f614cd">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>begin()
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#ac6d9d5dc90424c2c3c3a3b311c1141dc">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>performReading()
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#aa58210864cad77b272669eb86f1d2a88">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>readAltitude()
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#a3caae92aa981508f0084b11b1fed4883">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>readGas()
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#ae0b55eb1049c5949ff186de86aaafb55">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>readHumidity()
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#a1402c97860f9c61bf133be7e7056658b">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>readPressure()
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#afd081183a7845fee1d1c080cce20495e">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>readTemperature()
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#a7b554e6edf5cea06cf480e53bcb65aec">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>setGasHeater()
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#a2e6a61b5441c51bf5e44c3af3ee3fec8">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>setHumidityOversampling()
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#af1f05d2f024e946c1d7cbe3fb90b0859">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>setIIRFilterSize()
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#a42f25a4f258aad9abad4abb6bd95ec77">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>setPressureOversampling()
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#a73a9467c838951a187a268172a2b5d8c">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>setTemperatureOversampling()
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#a640ee0a0cb7ca57af30e8408260cc6e6">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!-- contents -->
|
|
||||||
<!-- start footer part -->
|
|
||||||
<hr class="footer"/><address class="footer"><small>
|
|
||||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
||||||
</a> 1.8.13
|
|
||||||
</small></address>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,83 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
||||||
<title>Adafruit BME680 Library: Class Members - Variables</title>
|
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="jquery.js"></script>
|
|
||||||
<script type="text/javascript" src="dynsections.js"></script>
|
|
||||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
||||||
<script type="text/javascript" src="search/search.js"></script>
|
|
||||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
||||||
<div id="titlearea">
|
|
||||||
<table cellspacing="0" cellpadding="0">
|
|
||||||
<tbody>
|
|
||||||
<tr style="height: 56px;">
|
|
||||||
<td id="projectalign" style="padding-left: 0.5em;">
|
|
||||||
<div id="projectname">Adafruit BME680 Library
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<!-- end header part -->
|
|
||||||
<!-- Generated by Doxygen 1.8.13 -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="menudata.js"></script>
|
|
||||||
<script type="text/javascript" src="menu.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function() {
|
|
||||||
initMenu('',true,false,'search.php','Search');
|
|
||||||
$(document).ready(function() { init_search(); });
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<div id="main-nav"></div>
|
|
||||||
</div><!-- top -->
|
|
||||||
<!-- window showing the filter options -->
|
|
||||||
<div id="MSearchSelectWindow"
|
|
||||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
||||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
||||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- iframe showing the search results (closed by default) -->
|
|
||||||
<div id="MSearchResultsWindow">
|
|
||||||
<iframe src="javascript:void(0)" frameborder="0"
|
|
||||||
name="MSearchResults" id="MSearchResults">
|
|
||||||
</iframe>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="contents">
|
|
||||||
 <ul>
|
|
||||||
<li>gas_resistance
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#aef05921539684ec297168bdd0cee7c7c">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>humidity
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#a442787f3ad0f2ab9087535ba9c22102b">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>pressure
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#a956b36e719ef0b37e59e6c3ecb8c5583">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
<li>temperature
|
|
||||||
: <a class="el" href="class_adafruit___b_m_e680.html#a074501406d2bf249551e3e489cb9316e">Adafruit_BME680</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!-- contents -->
|
|
||||||
<!-- start footer part -->
|
|
||||||
<hr class="footer"/><address class="footer"><small>
|
|
||||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
||||||
</a> 1.8.13
|
|
||||||
</small></address>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,188 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
||||||
<title>Adafruit BME680 Library: File Members</title>
|
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="jquery.js"></script>
|
|
||||||
<script type="text/javascript" src="dynsections.js"></script>
|
|
||||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
||||||
<script type="text/javascript" src="search/search.js"></script>
|
|
||||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
||||||
<div id="titlearea">
|
|
||||||
<table cellspacing="0" cellpadding="0">
|
|
||||||
<tbody>
|
|
||||||
<tr style="height: 56px;">
|
|
||||||
<td id="projectalign" style="padding-left: 0.5em;">
|
|
||||||
<div id="projectname">Adafruit BME680 Library
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<!-- end header part -->
|
|
||||||
<!-- Generated by Doxygen 1.8.13 -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="menudata.js"></script>
|
|
||||||
<script type="text/javascript" src="menu.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function() {
|
|
||||||
initMenu('',true,false,'search.php','Search');
|
|
||||||
$(document).ready(function() { init_search(); });
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<div id="main-nav"></div>
|
|
||||||
</div><!-- top -->
|
|
||||||
<!-- window showing the filter options -->
|
|
||||||
<div id="MSearchSelectWindow"
|
|
||||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
||||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
||||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- iframe showing the search results (closed by default) -->
|
|
||||||
<div id="MSearchResultsWindow">
|
|
||||||
<iframe src="javascript:void(0)" frameborder="0"
|
|
||||||
name="MSearchResults" id="MSearchResults">
|
|
||||||
</iframe>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="contents">
|
|
||||||
<div class="textblock">Here is a list of all documented file members with links to the documentation:</div>
|
|
||||||
|
|
||||||
<h3><a id="index__"></a>- _ -</h3><ul>
|
|
||||||
<li>bme680_com_fptr_t
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#aa7d183195e66f1db50f64f3a3d4ede57">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>bme680_intf
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a2232c03d0c1282e976af41b39e1b87d6">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
<h3><a id="index_b"></a>- b -</h3><ul>
|
|
||||||
<li>BME680_ADDR_RES_HEAT_VAL_ADDR
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#af6a74cbd7c52c150a5d83766e86f3bf1">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_CHIP_ID
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a762d33b22cceaa1f90dc2044ace463ee">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_CHIP_ID_ADDR
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#aa24d214515e9c3606dcefb874888c055">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_COEFF_ADDR1
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a839d12e3afe0332b3383be0e258c472e">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_COEFF_SIZE
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a4cf6e3574a83160f0adbfcf8cc5e3729">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_CONCAT_BYTES
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a9aac51cc4b47a1f1c9f30c07026840ab">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_CONF_HEAT_CTRL_ADDR
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a995aae4506cba06c735bb2ff37fbca49">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_DISABLE_GAS_MEAS
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#ad5a18c765061877212395397d58e2c20">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_ENABLE_HEATER
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a9e973dfcc1a103110cc44077f3ed86c1">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_FIELD0_ADDR
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#aa1126d8a0cab009b3812d4dba28beec3">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_FIELD_LENGTH
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a7cb775d981358b7e58eb8db0094bd1d7">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_FILTER_SIZE_0
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a5edcb9fcb77440f52d2b2865a89b5475">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_GAS_MEAS_MSK
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#adff9a0ef09e48aa5fcecc9bcfb0bf6f2">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_GAS_MEAS_POS
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#aa72739940e9ab88370b0ae23ef687f15">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_HUM_REG_SHIFT_VAL
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#aa9320cbf90a9bb81b912da4bf036e73b">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_I2C_ADDR_PRIMARY
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#af27a16304a83f75bb23883d754610df3">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_I2C_INTF
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a2232c03d0c1282e976af41b39e1b87d6a8c5c46109186b1f476eafcb0fa608cf5">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_MEM_PAGE0
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a2af2d059c5cdc5925dc050a5d67f2d0b">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_NBCONV_MIN
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a8b0bdbbedd050d35a8bc27e23c9c96c4">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_OK
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a2e82e5c447a9dbbeebf95b1ba189effb">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_OS_NONE
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a5ba113b3902da4c9baf45da5f32958d0">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_OST_SEL
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a7ecfc9ebc2dc3fae358c38215821db6d">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_POLL_PERIOD_MS
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a7545f57cf8b21f71292f4d2998049ab0">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_REG_FILTER_INDEX
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#abead566b839b70723d7dc5be6eb65c12">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_RES_HEAT0_ADDR
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#ad1429130a198bff35d0bb98bd1d4cbc1">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_RESET_PERIOD
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a6409d476475762c095a746a1b785bdd6">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_RUN_GAS_DISABLE
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a7cdfa822370f97878b251ec8ae437ad8">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_SET_BITS
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#aa2dfae23c0c4a846bde4fdf3780c390e">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_SET_BITS_POS_0
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a5e3fed11d9e1cb98d8c05bc5f418d4e8">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_SLEEP_MODE
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a9fc5e8034aa79028c0286ea4c974ee69">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_SOFT_RESET_ADDR
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a69bae1e3eba277068c1055e3028bbf41">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_SOFT_RESET_CMD
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a6da379a1060ef5079d34ba88191c3488">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_SPI_INTF
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a2232c03d0c1282e976af41b39e1b87d6a504bd691a4b57b0c914cc8c77bd696c3">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_T2_LSB_REG
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#ab0bf47738f04f4e67488166d66096752">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_TMP_BUFFER_LENGTH
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a9be3bfa321b5d7b421ae2b8900d49eff">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!-- contents -->
|
|
||||||
<!-- start footer part -->
|
|
||||||
<hr class="footer"/><address class="footer"><small>
|
|
||||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
||||||
</a> 1.8.13
|
|
||||||
</small></address>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,172 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
||||||
<title>Adafruit BME680 Library: File Members</title>
|
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="jquery.js"></script>
|
|
||||||
<script type="text/javascript" src="dynsections.js"></script>
|
|
||||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
||||||
<script type="text/javascript" src="search/search.js"></script>
|
|
||||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
||||||
<div id="titlearea">
|
|
||||||
<table cellspacing="0" cellpadding="0">
|
|
||||||
<tbody>
|
|
||||||
<tr style="height: 56px;">
|
|
||||||
<td id="projectalign" style="padding-left: 0.5em;">
|
|
||||||
<div id="projectname">Adafruit BME680 Library
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<!-- end header part -->
|
|
||||||
<!-- Generated by Doxygen 1.8.13 -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="menudata.js"></script>
|
|
||||||
<script type="text/javascript" src="menu.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function() {
|
|
||||||
initMenu('',true,false,'search.php','Search');
|
|
||||||
$(document).ready(function() { init_search(); });
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<div id="main-nav"></div>
|
|
||||||
</div><!-- top -->
|
|
||||||
<!-- window showing the filter options -->
|
|
||||||
<div id="MSearchSelectWindow"
|
|
||||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
||||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
||||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- iframe showing the search results (closed by default) -->
|
|
||||||
<div id="MSearchResultsWindow">
|
|
||||||
<iframe src="javascript:void(0)" frameborder="0"
|
|
||||||
name="MSearchResults" id="MSearchResults">
|
|
||||||
</iframe>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="contents">
|
|
||||||
 
|
|
||||||
|
|
||||||
<h3><a id="index_b"></a>- b -</h3><ul>
|
|
||||||
<li>BME680_ADDR_RES_HEAT_VAL_ADDR
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#af6a74cbd7c52c150a5d83766e86f3bf1">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_CHIP_ID
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a762d33b22cceaa1f90dc2044ace463ee">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_CHIP_ID_ADDR
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#aa24d214515e9c3606dcefb874888c055">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_COEFF_ADDR1
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a839d12e3afe0332b3383be0e258c472e">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_COEFF_SIZE
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a4cf6e3574a83160f0adbfcf8cc5e3729">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_CONCAT_BYTES
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a9aac51cc4b47a1f1c9f30c07026840ab">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_CONF_HEAT_CTRL_ADDR
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a995aae4506cba06c735bb2ff37fbca49">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_DISABLE_GAS_MEAS
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#ad5a18c765061877212395397d58e2c20">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_ENABLE_HEATER
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a9e973dfcc1a103110cc44077f3ed86c1">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_FIELD0_ADDR
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#aa1126d8a0cab009b3812d4dba28beec3">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_FIELD_LENGTH
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a7cb775d981358b7e58eb8db0094bd1d7">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_FILTER_SIZE_0
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a5edcb9fcb77440f52d2b2865a89b5475">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_GAS_MEAS_MSK
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#adff9a0ef09e48aa5fcecc9bcfb0bf6f2">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_GAS_MEAS_POS
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#aa72739940e9ab88370b0ae23ef687f15">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_HUM_REG_SHIFT_VAL
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#aa9320cbf90a9bb81b912da4bf036e73b">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_I2C_ADDR_PRIMARY
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#af27a16304a83f75bb23883d754610df3">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_MEM_PAGE0
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a2af2d059c5cdc5925dc050a5d67f2d0b">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_NBCONV_MIN
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a8b0bdbbedd050d35a8bc27e23c9c96c4">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_OK
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a2e82e5c447a9dbbeebf95b1ba189effb">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_OS_NONE
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a5ba113b3902da4c9baf45da5f32958d0">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_OST_SEL
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a7ecfc9ebc2dc3fae358c38215821db6d">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_POLL_PERIOD_MS
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a7545f57cf8b21f71292f4d2998049ab0">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_REG_FILTER_INDEX
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#abead566b839b70723d7dc5be6eb65c12">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_RES_HEAT0_ADDR
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#ad1429130a198bff35d0bb98bd1d4cbc1">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_RESET_PERIOD
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a6409d476475762c095a746a1b785bdd6">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_RUN_GAS_DISABLE
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a7cdfa822370f97878b251ec8ae437ad8">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_SET_BITS
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#aa2dfae23c0c4a846bde4fdf3780c390e">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_SET_BITS_POS_0
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a5e3fed11d9e1cb98d8c05bc5f418d4e8">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_SLEEP_MODE
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a9fc5e8034aa79028c0286ea4c974ee69">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_SOFT_RESET_ADDR
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a69bae1e3eba277068c1055e3028bbf41">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_SOFT_RESET_CMD
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a6da379a1060ef5079d34ba88191c3488">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_T2_LSB_REG
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#ab0bf47738f04f4e67488166d66096752">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_TMP_BUFFER_LENGTH
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a9be3bfa321b5d7b421ae2b8900d49eff">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!-- contents -->
|
|
||||||
<!-- start footer part -->
|
|
||||||
<hr class="footer"/><address class="footer"><small>
|
|
||||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
||||||
</a> 1.8.13
|
|
||||||
</small></address>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,74 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
||||||
<title>Adafruit BME680 Library: File Members</title>
|
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="jquery.js"></script>
|
|
||||||
<script type="text/javascript" src="dynsections.js"></script>
|
|
||||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
||||||
<script type="text/javascript" src="search/search.js"></script>
|
|
||||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
||||||
<div id="titlearea">
|
|
||||||
<table cellspacing="0" cellpadding="0">
|
|
||||||
<tbody>
|
|
||||||
<tr style="height: 56px;">
|
|
||||||
<td id="projectalign" style="padding-left: 0.5em;">
|
|
||||||
<div id="projectname">Adafruit BME680 Library
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<!-- end header part -->
|
|
||||||
<!-- Generated by Doxygen 1.8.13 -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="menudata.js"></script>
|
|
||||||
<script type="text/javascript" src="menu.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function() {
|
|
||||||
initMenu('',true,false,'search.php','Search');
|
|
||||||
$(document).ready(function() { init_search(); });
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<div id="main-nav"></div>
|
|
||||||
</div><!-- top -->
|
|
||||||
<!-- window showing the filter options -->
|
|
||||||
<div id="MSearchSelectWindow"
|
|
||||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
||||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
||||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- iframe showing the search results (closed by default) -->
|
|
||||||
<div id="MSearchResultsWindow">
|
|
||||||
<iframe src="javascript:void(0)" frameborder="0"
|
|
||||||
name="MSearchResults" id="MSearchResults">
|
|
||||||
</iframe>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="contents">
|
|
||||||
 <ul>
|
|
||||||
<li>bme680_intf
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a2232c03d0c1282e976af41b39e1b87d6">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!-- contents -->
|
|
||||||
<!-- start footer part -->
|
|
||||||
<hr class="footer"/><address class="footer"><small>
|
|
||||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
||||||
</a> 1.8.13
|
|
||||||
</small></address>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,77 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
||||||
<title>Adafruit BME680 Library: File Members</title>
|
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="jquery.js"></script>
|
|
||||||
<script type="text/javascript" src="dynsections.js"></script>
|
|
||||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
||||||
<script type="text/javascript" src="search/search.js"></script>
|
|
||||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
||||||
<div id="titlearea">
|
|
||||||
<table cellspacing="0" cellpadding="0">
|
|
||||||
<tbody>
|
|
||||||
<tr style="height: 56px;">
|
|
||||||
<td id="projectalign" style="padding-left: 0.5em;">
|
|
||||||
<div id="projectname">Adafruit BME680 Library
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<!-- end header part -->
|
|
||||||
<!-- Generated by Doxygen 1.8.13 -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="menudata.js"></script>
|
|
||||||
<script type="text/javascript" src="menu.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function() {
|
|
||||||
initMenu('',true,false,'search.php','Search');
|
|
||||||
$(document).ready(function() { init_search(); });
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<div id="main-nav"></div>
|
|
||||||
</div><!-- top -->
|
|
||||||
<!-- window showing the filter options -->
|
|
||||||
<div id="MSearchSelectWindow"
|
|
||||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
||||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
||||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- iframe showing the search results (closed by default) -->
|
|
||||||
<div id="MSearchResultsWindow">
|
|
||||||
<iframe src="javascript:void(0)" frameborder="0"
|
|
||||||
name="MSearchResults" id="MSearchResults">
|
|
||||||
</iframe>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="contents">
|
|
||||||
 <ul>
|
|
||||||
<li>BME680_I2C_INTF
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a2232c03d0c1282e976af41b39e1b87d6a8c5c46109186b1f476eafcb0fa608cf5">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
<li>BME680_SPI_INTF
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#a2232c03d0c1282e976af41b39e1b87d6a504bd691a4b57b0c914cc8c77bd696c3">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!-- contents -->
|
|
||||||
<!-- start footer part -->
|
|
||||||
<hr class="footer"/><address class="footer"><small>
|
|
||||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
||||||
</a> 1.8.13
|
|
||||||
</small></address>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,115 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
||||||
<title>Adafruit BME680 Library: File Members</title>
|
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="jquery.js"></script>
|
|
||||||
<script type="text/javascript" src="dynsections.js"></script>
|
|
||||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
||||||
<script type="text/javascript" src="search/search.js"></script>
|
|
||||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
||||||
<div id="titlearea">
|
|
||||||
<table cellspacing="0" cellpadding="0">
|
|
||||||
<tbody>
|
|
||||||
<tr style="height: 56px;">
|
|
||||||
<td id="projectalign" style="padding-left: 0.5em;">
|
|
||||||
<div id="projectname">Adafruit BME680 Library
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<!-- end header part -->
|
|
||||||
<!-- Generated by Doxygen 1.8.13 -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="menudata.js"></script>
|
|
||||||
<script type="text/javascript" src="menu.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function() {
|
|
||||||
initMenu('',true,false,'search.php','Search');
|
|
||||||
$(document).ready(function() { init_search(); });
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<div id="main-nav"></div>
|
|
||||||
</div><!-- top -->
|
|
||||||
<!-- window showing the filter options -->
|
|
||||||
<div id="MSearchSelectWindow"
|
|
||||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
||||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
||||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- iframe showing the search results (closed by default) -->
|
|
||||||
<div id="MSearchResultsWindow">
|
|
||||||
<iframe src="javascript:void(0)" frameborder="0"
|
|
||||||
name="MSearchResults" id="MSearchResults">
|
|
||||||
</iframe>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="contents">
|
|
||||||
 <ul>
|
|
||||||
<li>bme680_get_profile_dur()
|
|
||||||
: <a class="el" href="group___b_m_e680.html#ga191c03ab8aa1f4bc440953fd2f6317c2">bme680.c</a>
|
|
||||||
, <a class="el" href="group___b_m_e680.html#ga191c03ab8aa1f4bc440953fd2f6317c2">bme680.h</a>
|
|
||||||
</li>
|
|
||||||
<li>bme680_get_regs()
|
|
||||||
: <a class="el" href="group___b_m_e680.html#gaf5548cbdbf327e2c77bdb0afb1dde9e4">bme680.h</a>
|
|
||||||
, <a class="el" href="group___b_m_e680.html#gaf5548cbdbf327e2c77bdb0afb1dde9e4">bme680.c</a>
|
|
||||||
</li>
|
|
||||||
<li>bme680_get_sensor_data()
|
|
||||||
: <a class="el" href="group___b_m_e680.html#ga1025301e420e1e21911044bebb62f940">bme680.c</a>
|
|
||||||
, <a class="el" href="group___b_m_e680.html#ga1025301e420e1e21911044bebb62f940">bme680.h</a>
|
|
||||||
</li>
|
|
||||||
<li>bme680_get_sensor_mode()
|
|
||||||
: <a class="el" href="group___b_m_e680.html#ga4e50492a1f4747868f7e9a826492f1e7">bme680.h</a>
|
|
||||||
, <a class="el" href="group___b_m_e680.html#ga4e50492a1f4747868f7e9a826492f1e7">bme680.c</a>
|
|
||||||
</li>
|
|
||||||
<li>bme680_get_sensor_settings()
|
|
||||||
: <a class="el" href="group___b_m_e680.html#ga7826b058b8eddcf05ccbb117fd9d41b7">bme680.c</a>
|
|
||||||
, <a class="el" href="group___b_m_e680.html#ga7826b058b8eddcf05ccbb117fd9d41b7">bme680.h</a>
|
|
||||||
</li>
|
|
||||||
<li>bme680_init()
|
|
||||||
: <a class="el" href="group___b_m_e680.html#gaee75ae524b7ca8f4a9b6dbb7f640c2e4">bme680.c</a>
|
|
||||||
, <a class="el" href="group___b_m_e680.html#gaee75ae524b7ca8f4a9b6dbb7f640c2e4">bme680.h</a>
|
|
||||||
</li>
|
|
||||||
<li>bme680_set_profile_dur()
|
|
||||||
: <a class="el" href="group___b_m_e680.html#ga192f772bc9cb619e5855e93d6ebd6128">bme680.c</a>
|
|
||||||
, <a class="el" href="group___b_m_e680.html#ga192f772bc9cb619e5855e93d6ebd6128">bme680.h</a>
|
|
||||||
</li>
|
|
||||||
<li>bme680_set_regs()
|
|
||||||
: <a class="el" href="group___b_m_e680.html#ga5d1bad74f7ac28e75aca9d7de66fd2b4">bme680.h</a>
|
|
||||||
, <a class="el" href="group___b_m_e680.html#ga5d1bad74f7ac28e75aca9d7de66fd2b4">bme680.c</a>
|
|
||||||
</li>
|
|
||||||
<li>bme680_set_sensor_mode()
|
|
||||||
: <a class="el" href="group___b_m_e680.html#ga5ca765226e758e71c862553c7cc0b371">bme680.c</a>
|
|
||||||
, <a class="el" href="group___b_m_e680.html#ga5ca765226e758e71c862553c7cc0b371">bme680.h</a>
|
|
||||||
</li>
|
|
||||||
<li>bme680_set_sensor_settings()
|
|
||||||
: <a class="el" href="group___b_m_e680.html#ga2fea1365b4fa1d33eef434769b16e811">bme680.c</a>
|
|
||||||
, <a class="el" href="group___b_m_e680.html#ga2fea1365b4fa1d33eef434769b16e811">bme680.h</a>
|
|
||||||
</li>
|
|
||||||
<li>bme680_soft_reset()
|
|
||||||
: <a class="el" href="group___b_m_e680.html#ga7f0f1a4378bc6cd0a34acf62509cdec7">bme680.h</a>
|
|
||||||
, <a class="el" href="group___b_m_e680.html#ga7f0f1a4378bc6cd0a34acf62509cdec7">bme680.c</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!-- contents -->
|
|
||||||
<!-- start footer part -->
|
|
||||||
<hr class="footer"/><address class="footer"><small>
|
|
||||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
||||||
</a> 1.8.13
|
|
||||||
</small></address>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,74 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
||||||
<title>Adafruit BME680 Library: File Members</title>
|
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="jquery.js"></script>
|
|
||||||
<script type="text/javascript" src="dynsections.js"></script>
|
|
||||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
||||||
<script type="text/javascript" src="search/search.js"></script>
|
|
||||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
||||||
<div id="titlearea">
|
|
||||||
<table cellspacing="0" cellpadding="0">
|
|
||||||
<tbody>
|
|
||||||
<tr style="height: 56px;">
|
|
||||||
<td id="projectalign" style="padding-left: 0.5em;">
|
|
||||||
<div id="projectname">Adafruit BME680 Library
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<!-- end header part -->
|
|
||||||
<!-- Generated by Doxygen 1.8.13 -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="menudata.js"></script>
|
|
||||||
<script type="text/javascript" src="menu.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function() {
|
|
||||||
initMenu('',true,false,'search.php','Search');
|
|
||||||
$(document).ready(function() { init_search(); });
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<div id="main-nav"></div>
|
|
||||||
</div><!-- top -->
|
|
||||||
<!-- window showing the filter options -->
|
|
||||||
<div id="MSearchSelectWindow"
|
|
||||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
||||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
||||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- iframe showing the search results (closed by default) -->
|
|
||||||
<div id="MSearchResultsWindow">
|
|
||||||
<iframe src="javascript:void(0)" frameborder="0"
|
|
||||||
name="MSearchResults" id="MSearchResults">
|
|
||||||
</iframe>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="contents">
|
|
||||||
 <ul>
|
|
||||||
<li>bme680_com_fptr_t
|
|
||||||
: <a class="el" href="bme680__defs_8h.html#aa7d183195e66f1db50f64f3a3d4ede57">bme680_defs.h</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!-- contents -->
|
|
||||||
<!-- start footer part -->
|
|
||||||
<hr class="footer"/><address class="footer"><small>
|
|
||||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
||||||
</a> 1.8.13
|
|
||||||
</small></address>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,77 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
||||||
<title>Adafruit BME680 Library: File Members</title>
|
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="jquery.js"></script>
|
|
||||||
<script type="text/javascript" src="dynsections.js"></script>
|
|
||||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
||||||
<script type="text/javascript" src="search/search.js"></script>
|
|
||||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
||||||
<div id="titlearea">
|
|
||||||
<table cellspacing="0" cellpadding="0">
|
|
||||||
<tbody>
|
|
||||||
<tr style="height: 56px;">
|
|
||||||
<td id="projectalign" style="padding-left: 0.5em;">
|
|
||||||
<div id="projectname">Adafruit BME680 Library
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<!-- end header part -->
|
|
||||||
<!-- Generated by Doxygen 1.8.13 -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="menudata.js"></script>
|
|
||||||
<script type="text/javascript" src="menu.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function() {
|
|
||||||
initMenu('',true,false,'search.php','Search');
|
|
||||||
$(document).ready(function() { init_search(); });
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<div id="main-nav"></div>
|
|
||||||
</div><!-- top -->
|
|
||||||
<!-- window showing the filter options -->
|
|
||||||
<div id="MSearchSelectWindow"
|
|
||||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
||||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
||||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- iframe showing the search results (closed by default) -->
|
|
||||||
<div id="MSearchResultsWindow">
|
|
||||||
<iframe src="javascript:void(0)" frameborder="0"
|
|
||||||
name="MSearchResults" id="MSearchResults">
|
|
||||||
</iframe>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="contents">
|
|
||||||
 <ul>
|
|
||||||
<li>lookupTable1
|
|
||||||
: <a class="el" href="bme680_8c.html#adededc333f13a6bae1487b7cadee4a5f">bme680.c</a>
|
|
||||||
</li>
|
|
||||||
<li>lookupTable2
|
|
||||||
: <a class="el" href="bme680_8c.html#aaf3a4ba4968870a9fb857fe7f47f9461">bme680.c</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!-- contents -->
|
|
||||||
<!-- start footer part -->
|
|
||||||
<hr class="footer"/><address class="footer"><small>
|
|
||||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
||||||
</a> 1.8.13
|
|
||||||
</small></address>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,73 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
||||||
<title>Adafruit BME680 Library: SENSOR API</title>
|
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="jquery.js"></script>
|
|
||||||
<script type="text/javascript" src="dynsections.js"></script>
|
|
||||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
||||||
<script type="text/javascript" src="search/search.js"></script>
|
|
||||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
||||||
<div id="titlearea">
|
|
||||||
<table cellspacing="0" cellpadding="0">
|
|
||||||
<tbody>
|
|
||||||
<tr style="height: 56px;">
|
|
||||||
<td id="projectalign" style="padding-left: 0.5em;">
|
|
||||||
<div id="projectname">Adafruit BME680 Library
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<!-- end header part -->
|
|
||||||
<!-- Generated by Doxygen 1.8.13 -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="menudata.js"></script>
|
|
||||||
<script type="text/javascript" src="menu.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function() {
|
|
||||||
initMenu('',true,false,'search.php','Search');
|
|
||||||
$(document).ready(function() { init_search(); });
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<div id="main-nav"></div>
|
|
||||||
</div><!-- top -->
|
|
||||||
<!-- window showing the filter options -->
|
|
||||||
<div id="MSearchSelectWindow"
|
|
||||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
||||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
||||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- iframe showing the search results (closed by default) -->
|
|
||||||
<div id="MSearchResultsWindow">
|
|
||||||
<iframe src="javascript:void(0)" frameborder="0"
|
|
||||||
name="MSearchResults" id="MSearchResults">
|
|
||||||
</iframe>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<div class="headertitle">
|
|
||||||
<div class="title">SENSOR API</div> </div>
|
|
||||||
</div><!--header-->
|
|
||||||
<div class="contents">
|
|
||||||
</div><!-- contents -->
|
|
||||||
<!-- start footer part -->
|
|
||||||
<hr class="footer"/><address class="footer"><small>
|
|
||||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
||||||
</a> 1.8.13
|
|
||||||
</small></address>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,73 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
||||||
<title>Adafruit BME680 Library: Main Page</title>
|
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="jquery.js"></script>
|
|
||||||
<script type="text/javascript" src="dynsections.js"></script>
|
|
||||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
||||||
<script type="text/javascript" src="search/search.js"></script>
|
|
||||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
||||||
<div id="titlearea">
|
|
||||||
<table cellspacing="0" cellpadding="0">
|
|
||||||
<tbody>
|
|
||||||
<tr style="height: 56px;">
|
|
||||||
<td id="projectalign" style="padding-left: 0.5em;">
|
|
||||||
<div id="projectname">Adafruit BME680 Library
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<!-- end header part -->
|
|
||||||
<!-- Generated by Doxygen 1.8.13 -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="menudata.js"></script>
|
|
||||||
<script type="text/javascript" src="menu.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function() {
|
|
||||||
initMenu('',true,false,'search.php','Search');
|
|
||||||
$(document).ready(function() { init_search(); });
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<div id="main-nav"></div>
|
|
||||||
</div><!-- top -->
|
|
||||||
<!-- window showing the filter options -->
|
|
||||||
<div id="MSearchSelectWindow"
|
|
||||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
||||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
||||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- iframe showing the search results (closed by default) -->
|
|
||||||
<div id="MSearchResultsWindow">
|
|
||||||
<iframe src="javascript:void(0)" frameborder="0"
|
|
||||||
name="MSearchResults" id="MSearchResults">
|
|
||||||
</iframe>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<div class="headertitle">
|
|
||||||
<div class="title">Adafruit BME680 Library Documentation</div> </div>
|
|
||||||
</div><!--header-->
|
|
||||||
<div class="contents">
|
|
||||||
</div><!-- contents -->
|
|
||||||
<!-- start footer part -->
|
|
||||||
<hr class="footer"/><address class="footer"><small>
|
|
||||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
||||||
</a> 1.8.13
|
|
||||||
</small></address>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
87
lib/Adafruit_BME680-1.0.5/docs/jquery.js
vendored
@ -1,80 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
||||||
<title>Adafruit BME680 Library: README</title>
|
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="jquery.js"></script>
|
|
||||||
<script type="text/javascript" src="dynsections.js"></script>
|
|
||||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
||||||
<script type="text/javascript" src="search/search.js"></script>
|
|
||||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
||||||
<div id="titlearea">
|
|
||||||
<table cellspacing="0" cellpadding="0">
|
|
||||||
<tbody>
|
|
||||||
<tr style="height: 56px;">
|
|
||||||
<td id="projectalign" style="padding-left: 0.5em;">
|
|
||||||
<div id="projectname">Adafruit BME680 Library
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<!-- end header part -->
|
|
||||||
<!-- Generated by Doxygen 1.8.13 -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="menudata.js"></script>
|
|
||||||
<script type="text/javascript" src="menu.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function() {
|
|
||||||
initMenu('',true,false,'search.php','Search');
|
|
||||||
$(document).ready(function() { init_search(); });
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<div id="main-nav"></div>
|
|
||||||
<!-- window showing the filter options -->
|
|
||||||
<div id="MSearchSelectWindow"
|
|
||||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
||||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
||||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- iframe showing the search results (closed by default) -->
|
|
||||||
<div id="MSearchResultsWindow">
|
|
||||||
<iframe src="javascript:void(0)" frameborder="0"
|
|
||||||
name="MSearchResults" id="MSearchResults">
|
|
||||||
</iframe>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div><!-- top -->
|
|
||||||
<div class="header">
|
|
||||||
<div class="headertitle">
|
|
||||||
<div class="title">README </div> </div>
|
|
||||||
</div><!--header-->
|
|
||||||
<div class="contents">
|
|
||||||
<div class="textblock"><p>This is a library for the Adafruit BME680 Humidity, Barometric Pressure, Temp and MOX Gas sensor</p>
|
|
||||||
<p>Designed specifically to work with the Adafruit BME680 Breakout</p><ul>
|
|
||||||
<li><a href="http://www.adafruit.com/products/360">http://www.adafruit.com/products/360</a></li>
|
|
||||||
</ul>
|
|
||||||
<p>These sensors use I2C or SPI to communicate, up to 4 pins are required to interface</p>
|
|
||||||
<p>Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!</p>
|
|
||||||
<p>Check out the links above for our tutorials and wiring diagrams </p>
|
|
||||||
</div></div><!-- contents -->
|
|
||||||
<!-- start footer part -->
|
|
||||||
<hr class="footer"/><address class="footer"><small>
|
|
||||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
||||||
</a> 1.8.13
|
|
||||||
</small></address>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,26 +0,0 @@
|
|||||||
function initMenu(relPath,searchEnabled,serverSide,searchPage,search) {
|
|
||||||
function makeTree(data,relPath) {
|
|
||||||
var result='';
|
|
||||||
if ('children' in data) {
|
|
||||||
result+='<ul>';
|
|
||||||
for (var i in data.children) {
|
|
||||||
result+='<li><a href="'+relPath+data.children[i].url+'">'+
|
|
||||||
data.children[i].text+'</a>'+
|
|
||||||
makeTree(data.children[i],relPath)+'</li>';
|
|
||||||
}
|
|
||||||
result+='</ul>';
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
$('#main-nav').append(makeTree(menudata,relPath));
|
|
||||||
$('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu');
|
|
||||||
if (searchEnabled) {
|
|
||||||
if (serverSide) {
|
|
||||||
$('#main-menu').append('<li style="float:right"><div id="MSearchBox" class="MSearchBoxInactive"><div class="left"><form id="FSearchBox" action="'+searchPage+'" method="get"><img id="MSearchSelect" src="'+relPath+'search/mag.png" alt=""/><input type="text" id="MSearchField" name="query" value="'+search+'" size="20" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)"></form></div><div class="right"></div></div></li>');
|
|
||||||
} else {
|
|
||||||
$('#main-menu').append('<li style="float:right"><div id="MSearchBox" class="MSearchBoxInactive"><span class="left"><img id="MSearchSelect" src="'+relPath+'search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/><input type="text" id="MSearchField" value="'+search+'" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/></span><span class="right"><a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="'+relPath+'search/close.png" alt=""/></a></span></div></li>');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
$('#main-menu').smartmenus();
|
|
||||||
}
|
|
||||||
@ -1,12 +0,0 @@
|
|||||||
var menudata={children:[
|
|
||||||
{text:"Main Page",url:"index.html"},
|
|
||||||
{text:"Related Pages",url:"pages.html"},
|
|
||||||
{text:"Classes",url:"annotated.html",children:[
|
|
||||||
{text:"Class List",url:"annotated.html"},
|
|
||||||
{text:"Class Index",url:"classes.html"},
|
|
||||||
{text:"Class Members",url:"functions.html",children:[
|
|
||||||
{text:"All",url:"functions.html"},
|
|
||||||
{text:"Functions",url:"functions_func.html"},
|
|
||||||
{text:"Variables",url:"functions_vars.html"}]}]},
|
|
||||||
{text:"Files",url:"files.html",children:[
|
|
||||||
{text:"File List",url:"files.html"}]}]}
|
|
||||||
@ -1,78 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
||||||
<title>Adafruit BME680 Library: Modules</title>
|
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="jquery.js"></script>
|
|
||||||
<script type="text/javascript" src="dynsections.js"></script>
|
|
||||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
||||||
<script type="text/javascript" src="search/search.js"></script>
|
|
||||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
||||||
<div id="titlearea">
|
|
||||||
<table cellspacing="0" cellpadding="0">
|
|
||||||
<tbody>
|
|
||||||
<tr style="height: 56px;">
|
|
||||||
<td id="projectalign" style="padding-left: 0.5em;">
|
|
||||||
<div id="projectname">Adafruit BME680 Library
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<!-- end header part -->
|
|
||||||
<!-- Generated by Doxygen 1.8.13 -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="menudata.js"></script>
|
|
||||||
<script type="text/javascript" src="menu.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function() {
|
|
||||||
initMenu('',true,false,'search.php','Search');
|
|
||||||
$(document).ready(function() { init_search(); });
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<div id="main-nav"></div>
|
|
||||||
</div><!-- top -->
|
|
||||||
<!-- window showing the filter options -->
|
|
||||||
<div id="MSearchSelectWindow"
|
|
||||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
||||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
||||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- iframe showing the search results (closed by default) -->
|
|
||||||
<div id="MSearchResultsWindow">
|
|
||||||
<iframe src="javascript:void(0)" frameborder="0"
|
|
||||||
name="MSearchResults" id="MSearchResults">
|
|
||||||
</iframe>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<div class="headertitle">
|
|
||||||
<div class="title">Modules</div> </div>
|
|
||||||
</div><!--header-->
|
|
||||||
<div class="contents">
|
|
||||||
<div class="textblock">Here is a list of all modules:</div><div class="directory">
|
|
||||||
<table class="directory">
|
|
||||||
<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="group___b_m_e680.html" target="_self">SENSOR API</a></td><td class="desc"></td></tr>
|
|
||||||
</table>
|
|
||||||
</div><!-- directory -->
|
|
||||||
</div><!-- contents -->
|
|
||||||
<!-- start footer part -->
|
|
||||||
<hr class="footer"/><address class="footer"><small>
|
|
||||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
||||||
</a> 1.8.13
|
|
||||||
</small></address>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
Before Width: | Height: | Size: 153 B |
|
Before Width: | Height: | Size: 95 B |
|
Before Width: | Height: | Size: 98 B |
|
Before Width: | Height: | Size: 123 B |
@ -1,78 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
||||||
<title>Adafruit BME680 Library: Related Pages</title>
|
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="jquery.js"></script>
|
|
||||||
<script type="text/javascript" src="dynsections.js"></script>
|
|
||||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
||||||
<script type="text/javascript" src="search/search.js"></script>
|
|
||||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
||||||
<div id="titlearea">
|
|
||||||
<table cellspacing="0" cellpadding="0">
|
|
||||||
<tbody>
|
|
||||||
<tr style="height: 56px;">
|
|
||||||
<td id="projectalign" style="padding-left: 0.5em;">
|
|
||||||
<div id="projectname">Adafruit BME680 Library
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<!-- end header part -->
|
|
||||||
<!-- Generated by Doxygen 1.8.13 -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="menudata.js"></script>
|
|
||||||
<script type="text/javascript" src="menu.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function() {
|
|
||||||
initMenu('',true,false,'search.php','Search');
|
|
||||||
$(document).ready(function() { init_search(); });
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<div id="main-nav"></div>
|
|
||||||
</div><!-- top -->
|
|
||||||
<!-- window showing the filter options -->
|
|
||||||
<div id="MSearchSelectWindow"
|
|
||||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
||||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
||||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- iframe showing the search results (closed by default) -->
|
|
||||||
<div id="MSearchResultsWindow">
|
|
||||||
<iframe src="javascript:void(0)" frameborder="0"
|
|
||||||
name="MSearchResults" id="MSearchResults">
|
|
||||||
</iframe>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<div class="headertitle">
|
|
||||||
<div class="title">Related Pages</div> </div>
|
|
||||||
</div><!--header-->
|
|
||||||
<div class="contents">
|
|
||||||
<div class="textblock">Here is a list of all related documentation pages:</div><div class="directory">
|
|
||||||
<table class="directory">
|
|
||||||
<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="md__r_e_a_d_m_e.html" target="_self">README</a></td><td class="desc"></td></tr>
|
|
||||||
</table>
|
|
||||||
</div><!-- directory -->
|
|
||||||
</div><!-- contents -->
|
|
||||||
<!-- start footer part -->
|
|
||||||
<hr class="footer"/><address class="footer"><small>
|
|
||||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
||||||
</a> 1.8.13
|
|
||||||
</small></address>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,26 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html><head><title></title>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<link rel="stylesheet" type="text/css" href="search.css"/>
|
|
||||||
<script type="text/javascript" src="all_0.js"></script>
|
|
||||||
<script type="text/javascript" src="search.js"></script>
|
|
||||||
</head>
|
|
||||||
<body class="SRPage">
|
|
||||||
<div id="SRIndex">
|
|
||||||
<div class="SRStatus" id="Loading">Loading...</div>
|
|
||||||
<div id="SRResults"></div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
createResults();
|
|
||||||
--></script>
|
|
||||||
<div class="SRStatus" id="Searching">Searching...</div>
|
|
||||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
document.getElementById("Loading").style.display="none";
|
|
||||||
document.getElementById("NoMatches").style.display="none";
|
|
||||||
var searchResults = new SearchResults("searchResults");
|
|
||||||
searchResults.Search();
|
|
||||||
--></script>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
var searchData=
|
|
||||||
[
|
|
||||||
['adafruit_5fbme680',['Adafruit_BME680',['../class_adafruit___b_m_e680.html',1,'Adafruit_BME680'],['../class_adafruit___b_m_e680.html#af147d564868b9eac61a2c7fcd8f614cd',1,'Adafruit_BME680::Adafruit_BME680(int8_t cspin=-1)'],['../class_adafruit___b_m_e680.html#a8e89aaed66497bb2dde7ab678aa81173',1,'Adafruit_BME680::Adafruit_BME680(int8_t cspin, int8_t mosipin, int8_t misopin, int8_t sckpin)']]]
|
|
||||||
];
|
|
||||||
@ -1,26 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html><head><title></title>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<link rel="stylesheet" type="text/css" href="search.css"/>
|
|
||||||
<script type="text/javascript" src="all_1.js"></script>
|
|
||||||
<script type="text/javascript" src="search.js"></script>
|
|
||||||
</head>
|
|
||||||
<body class="SRPage">
|
|
||||||
<div id="SRIndex">
|
|
||||||
<div class="SRStatus" id="Loading">Loading...</div>
|
|
||||||
<div id="SRResults"></div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
createResults();
|
|
||||||
--></script>
|
|
||||||
<div class="SRStatus" id="Searching">Searching...</div>
|
|
||||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
document.getElementById("Loading").style.display="none";
|
|
||||||
document.getElementById("NoMatches").style.display="none";
|
|
||||||
var searchResults = new SearchResults("searchResults");
|
|
||||||
searchResults.Search();
|
|
||||||
--></script>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
var searchData=
|
|
||||||
[
|
|
||||||
['begin',['begin',['../class_adafruit___b_m_e680.html#ac6d9d5dc90424c2c3c3a3b311c1141dc',1,'Adafruit_BME680']]]
|
|
||||||
];
|
|
||||||
@ -1,26 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html><head><title></title>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<link rel="stylesheet" type="text/css" href="search.css"/>
|
|
||||||
<script type="text/javascript" src="all_10.js"></script>
|
|
||||||
<script type="text/javascript" src="search.js"></script>
|
|
||||||
</head>
|
|
||||||
<body class="SRPage">
|
|
||||||
<div id="SRIndex">
|
|
||||||
<div class="SRStatus" id="Loading">Loading...</div>
|
|
||||||
<div id="SRResults"></div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
createResults();
|
|
||||||
--></script>
|
|
||||||
<div class="SRStatus" id="Searching">Searching...</div>
|
|
||||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
document.getElementById("Loading").style.display="none";
|
|
||||||
document.getElementById("NoMatches").style.display="none";
|
|
||||||
var searchResults = new SearchResults("searchResults");
|
|
||||||
searchResults.Search();
|
|
||||||
--></script>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
var searchData=
|
|
||||||
[
|
|
||||||
['write',['write',['../structbme680__dev.html#a5e1e5dad78b9831125c240dde61b13a2',1,'bme680_dev']]]
|
|
||||||
];
|
|
||||||
@ -1,26 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html><head><title></title>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<link rel="stylesheet" type="text/css" href="search.css"/>
|
|
||||||
<script type="text/javascript" src="all_2.js"></script>
|
|
||||||
<script type="text/javascript" src="search.js"></script>
|
|
||||||
</head>
|
|
||||||
<body class="SRPage">
|
|
||||||
<div id="SRIndex">
|
|
||||||
<div class="SRStatus" id="Loading">Loading...</div>
|
|
||||||
<div id="SRResults"></div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
createResults();
|
|
||||||
--></script>
|
|
||||||
<div class="SRStatus" id="Searching">Searching...</div>
|
|
||||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
document.getElementById("Loading").style.display="none";
|
|
||||||
document.getElementById("NoMatches").style.display="none";
|
|
||||||
var searchResults = new SearchResults("searchResults");
|
|
||||||
searchResults.Search();
|
|
||||||
--></script>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
var searchData=
|
|
||||||
[
|
|
||||||
['gas_5fresistance',['gas_resistance',['../class_adafruit___b_m_e680.html#aef05921539684ec297168bdd0cee7c7c',1,'Adafruit_BME680']]]
|
|
||||||
];
|
|
||||||
@ -1,26 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html><head><title></title>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<link rel="stylesheet" type="text/css" href="search.css"/>
|
|
||||||
<script type="text/javascript" src="all_3.js"></script>
|
|
||||||
<script type="text/javascript" src="search.js"></script>
|
|
||||||
</head>
|
|
||||||
<body class="SRPage">
|
|
||||||
<div id="SRIndex">
|
|
||||||
<div class="SRStatus" id="Loading">Loading...</div>
|
|
||||||
<div id="SRResults"></div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
createResults();
|
|
||||||
--></script>
|
|
||||||
<div class="SRStatus" id="Searching">Searching...</div>
|
|
||||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
document.getElementById("Loading").style.display="none";
|
|
||||||
document.getElementById("NoMatches").style.display="none";
|
|
||||||
var searchResults = new SearchResults("searchResults");
|
|
||||||
searchResults.Search();
|
|
||||||
--></script>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
var searchData=
|
|
||||||
[
|
|
||||||
['humidity',['humidity',['../class_adafruit___b_m_e680.html#a442787f3ad0f2ab9087535ba9c22102b',1,'Adafruit_BME680']]]
|
|
||||||
];
|
|
||||||
@ -1,26 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html><head><title></title>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<link rel="stylesheet" type="text/css" href="search.css"/>
|
|
||||||
<script type="text/javascript" src="all_4.js"></script>
|
|
||||||
<script type="text/javascript" src="search.js"></script>
|
|
||||||
</head>
|
|
||||||
<body class="SRPage">
|
|
||||||
<div id="SRIndex">
|
|
||||||
<div class="SRStatus" id="Loading">Loading...</div>
|
|
||||||
<div id="SRResults"></div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
createResults();
|
|
||||||
--></script>
|
|
||||||
<div class="SRStatus" id="Searching">Searching...</div>
|
|
||||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
document.getElementById("Loading").style.display="none";
|
|
||||||
document.getElementById("NoMatches").style.display="none";
|
|
||||||
var searchResults = new SearchResults("searchResults");
|
|
||||||
searchResults.Search();
|
|
||||||
--></script>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
var searchData=
|
|
||||||
[
|
|
||||||
['performreading',['performReading',['../class_adafruit___b_m_e680.html#aa58210864cad77b272669eb86f1d2a88',1,'Adafruit_BME680']]],
|
|
||||||
['pressure',['pressure',['../class_adafruit___b_m_e680.html#a956b36e719ef0b37e59e6c3ecb8c5583',1,'Adafruit_BME680']]]
|
|
||||||
];
|
|
||||||
@ -1,26 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html><head><title></title>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<link rel="stylesheet" type="text/css" href="search.css"/>
|
|
||||||
<script type="text/javascript" src="all_5.js"></script>
|
|
||||||
<script type="text/javascript" src="search.js"></script>
|
|
||||||
</head>
|
|
||||||
<body class="SRPage">
|
|
||||||
<div id="SRIndex">
|
|
||||||
<div class="SRStatus" id="Loading">Loading...</div>
|
|
||||||
<div id="SRResults"></div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
createResults();
|
|
||||||
--></script>
|
|
||||||
<div class="SRStatus" id="Searching">Searching...</div>
|
|
||||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
document.getElementById("Loading").style.display="none";
|
|
||||||
document.getElementById("NoMatches").style.display="none";
|
|
||||||
var searchResults = new SearchResults("searchResults");
|
|
||||||
searchResults.Search();
|
|
||||||
--></script>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,9 +0,0 @@
|
|||||||
var searchData=
|
|
||||||
[
|
|
||||||
['readme',['README',['../md__r_e_a_d_m_e.html',1,'']]],
|
|
||||||
['readaltitude',['readAltitude',['../class_adafruit___b_m_e680.html#a3caae92aa981508f0084b11b1fed4883',1,'Adafruit_BME680']]],
|
|
||||||
['readgas',['readGas',['../class_adafruit___b_m_e680.html#ae0b55eb1049c5949ff186de86aaafb55',1,'Adafruit_BME680']]],
|
|
||||||
['readhumidity',['readHumidity',['../class_adafruit___b_m_e680.html#a1402c97860f9c61bf133be7e7056658b',1,'Adafruit_BME680']]],
|
|
||||||
['readpressure',['readPressure',['../class_adafruit___b_m_e680.html#afd081183a7845fee1d1c080cce20495e',1,'Adafruit_BME680']]],
|
|
||||||
['readtemperature',['readTemperature',['../class_adafruit___b_m_e680.html#a7b554e6edf5cea06cf480e53bcb65aec',1,'Adafruit_BME680']]]
|
|
||||||
];
|
|
||||||
@ -1,26 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html><head><title></title>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<link rel="stylesheet" type="text/css" href="search.css"/>
|
|
||||||
<script type="text/javascript" src="all_6.js"></script>
|
|
||||||
<script type="text/javascript" src="search.js"></script>
|
|
||||||
</head>
|
|
||||||
<body class="SRPage">
|
|
||||||
<div id="SRIndex">
|
|
||||||
<div class="SRStatus" id="Loading">Loading...</div>
|
|
||||||
<div id="SRResults"></div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
createResults();
|
|
||||||
--></script>
|
|
||||||
<div class="SRStatus" id="Searching">Searching...</div>
|
|
||||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
document.getElementById("Loading").style.display="none";
|
|
||||||
document.getElementById("NoMatches").style.display="none";
|
|
||||||
var searchResults = new SearchResults("searchResults");
|
|
||||||
searchResults.Search();
|
|
||||||
--></script>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
var searchData=
|
|
||||||
[
|
|
||||||
['setgasheater',['setGasHeater',['../class_adafruit___b_m_e680.html#a2e6a61b5441c51bf5e44c3af3ee3fec8',1,'Adafruit_BME680']]],
|
|
||||||
['sethumidityoversampling',['setHumidityOversampling',['../class_adafruit___b_m_e680.html#af1f05d2f024e946c1d7cbe3fb90b0859',1,'Adafruit_BME680']]],
|
|
||||||
['setiirfiltersize',['setIIRFilterSize',['../class_adafruit___b_m_e680.html#a42f25a4f258aad9abad4abb6bd95ec77',1,'Adafruit_BME680']]],
|
|
||||||
['setpressureoversampling',['setPressureOversampling',['../class_adafruit___b_m_e680.html#a73a9467c838951a187a268172a2b5d8c',1,'Adafruit_BME680']]],
|
|
||||||
['settemperatureoversampling',['setTemperatureOversampling',['../class_adafruit___b_m_e680.html#a640ee0a0cb7ca57af30e8408260cc6e6',1,'Adafruit_BME680']]]
|
|
||||||
];
|
|
||||||
@ -1,26 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html><head><title></title>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<link rel="stylesheet" type="text/css" href="search.css"/>
|
|
||||||
<script type="text/javascript" src="all_7.js"></script>
|
|
||||||
<script type="text/javascript" src="search.js"></script>
|
|
||||||
</head>
|
|
||||||
<body class="SRPage">
|
|
||||||
<div id="SRIndex">
|
|
||||||
<div class="SRStatus" id="Loading">Loading...</div>
|
|
||||||
<div id="SRResults"></div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
createResults();
|
|
||||||
--></script>
|
|
||||||
<div class="SRStatus" id="Searching">Searching...</div>
|
|
||||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
document.getElementById("Loading").style.display="none";
|
|
||||||
document.getElementById("NoMatches").style.display="none";
|
|
||||||
var searchResults = new SearchResults("searchResults");
|
|
||||||
searchResults.Search();
|
|
||||||
--></script>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
var searchData=
|
|
||||||
[
|
|
||||||
['temperature',['temperature',['../class_adafruit___b_m_e680.html#a074501406d2bf249551e3e489cb9316e',1,'Adafruit_BME680']]]
|
|
||||||
];
|
|
||||||
@ -1,26 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html><head><title></title>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<link rel="stylesheet" type="text/css" href="search.css"/>
|
|
||||||
<script type="text/javascript" src="all_8.js"></script>
|
|
||||||
<script type="text/javascript" src="search.js"></script>
|
|
||||||
</head>
|
|
||||||
<body class="SRPage">
|
|
||||||
<div id="SRIndex">
|
|
||||||
<div class="SRStatus" id="Loading">Loading...</div>
|
|
||||||
<div id="SRResults"></div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
createResults();
|
|
||||||
--></script>
|
|
||||||
<div class="SRStatus" id="Searching">Searching...</div>
|
|
||||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
document.getElementById("Loading").style.display="none";
|
|
||||||
document.getElementById("NoMatches").style.display="none";
|
|
||||||
var searchResults = new SearchResults("searchResults");
|
|
||||||
searchResults.Search();
|
|
||||||
--></script>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
var searchData=
|
|
||||||
[
|
|
||||||
['meas_5findex',['meas_index',['../structbme680__field__data.html#add2cb9f6b7d736908aa9f75904122d3c',1,'bme680_field_data']]],
|
|
||||||
['mem_5fpage',['mem_page',['../structbme680__dev.html#a388e543d88b93a2a5c91e1f66ed0e998',1,'bme680_dev']]]
|
|
||||||
];
|
|
||||||
@ -1,26 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html><head><title></title>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<link rel="stylesheet" type="text/css" href="search.css"/>
|
|
||||||
<script type="text/javascript" src="all_9.js"></script>
|
|
||||||
<script type="text/javascript" src="search.js"></script>
|
|
||||||
</head>
|
|
||||||
<body class="SRPage">
|
|
||||||
<div id="SRIndex">
|
|
||||||
<div class="SRStatus" id="Loading">Loading...</div>
|
|
||||||
<div id="SRResults"></div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
createResults();
|
|
||||||
--></script>
|
|
||||||
<div class="SRStatus" id="Searching">Searching...</div>
|
|
||||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
document.getElementById("Loading").style.display="none";
|
|
||||||
document.getElementById("NoMatches").style.display="none";
|
|
||||||
var searchResults = new SearchResults("searchResults");
|
|
||||||
searchResults.Search();
|
|
||||||
--></script>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
var searchData=
|
|
||||||
[
|
|
||||||
['nb_5fconv',['nb_conv',['../structbme680__gas__sett.html#ad0fd15bcd071158faaa40037171cd798',1,'bme680_gas_sett']]],
|
|
||||||
['new_5ffields',['new_fields',['../structbme680__dev.html#a488698f8c1c548bb19ac1f8ee67cbadd',1,'bme680_dev']]]
|
|
||||||
];
|
|
||||||
@ -1,26 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html><head><title></title>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<link rel="stylesheet" type="text/css" href="search.css"/>
|
|
||||||
<script type="text/javascript" src="all_a.js"></script>
|
|
||||||
<script type="text/javascript" src="search.js"></script>
|
|
||||||
</head>
|
|
||||||
<body class="SRPage">
|
|
||||||
<div id="SRIndex">
|
|
||||||
<div class="SRStatus" id="Loading">Loading...</div>
|
|
||||||
<div id="SRResults"></div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
createResults();
|
|
||||||
--></script>
|
|
||||||
<div class="SRStatus" id="Searching">Searching...</div>
|
|
||||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
document.getElementById("Loading").style.display="none";
|
|
||||||
document.getElementById("NoMatches").style.display="none";
|
|
||||||
var searchResults = new SearchResults("searchResults");
|
|
||||||
searchResults.Search();
|
|
||||||
--></script>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,6 +0,0 @@
|
|||||||
var searchData=
|
|
||||||
[
|
|
||||||
['os_5fhum',['os_hum',['../structbme680__tph__sett.html#a12b21e2faba6c4e235f14070e9a9bb3e',1,'bme680_tph_sett']]],
|
|
||||||
['os_5fpres',['os_pres',['../structbme680__tph__sett.html#ad754f858d10c2164e1d18756c9cf8db0',1,'bme680_tph_sett']]],
|
|
||||||
['os_5ftemp',['os_temp',['../structbme680__tph__sett.html#a80a4dec6bde73d2083d464cb79ae8df8',1,'bme680_tph_sett']]]
|
|
||||||
];
|
|
||||||
@ -1,26 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html><head><title></title>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<link rel="stylesheet" type="text/css" href="search.css"/>
|
|
||||||
<script type="text/javascript" src="all_b.js"></script>
|
|
||||||
<script type="text/javascript" src="search.js"></script>
|
|
||||||
</head>
|
|
||||||
<body class="SRPage">
|
|
||||||
<div id="SRIndex">
|
|
||||||
<div class="SRStatus" id="Loading">Loading...</div>
|
|
||||||
<div id="SRResults"></div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
createResults();
|
|
||||||
--></script>
|
|
||||||
<div class="SRStatus" id="Searching">Searching...</div>
|
|
||||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
document.getElementById("Loading").style.display="none";
|
|
||||||
document.getElementById("NoMatches").style.display="none";
|
|
||||||
var searchResults = new SearchResults("searchResults");
|
|
||||||
searchResults.Search();
|
|
||||||
--></script>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,28 +0,0 @@
|
|||||||
var searchData=
|
|
||||||
[
|
|
||||||
['par_5fgh1',['par_gh1',['../structbme680__calib__data.html#ab9c4601c2e89a776257bbd27f66c9e2c',1,'bme680_calib_data']]],
|
|
||||||
['par_5fgh2',['par_gh2',['../structbme680__calib__data.html#aeebd7cb98502f77c4cce34d6a9a1f6db',1,'bme680_calib_data']]],
|
|
||||||
['par_5fgh3',['par_gh3',['../structbme680__calib__data.html#aaae5921c2ddbee1935665f428266f373',1,'bme680_calib_data']]],
|
|
||||||
['par_5fh1',['par_h1',['../structbme680__calib__data.html#a14a76f440f0f9df731057cd511403a29',1,'bme680_calib_data']]],
|
|
||||||
['par_5fh2',['par_h2',['../structbme680__calib__data.html#a8c241a150118622dcab5a1daae8c5893',1,'bme680_calib_data']]],
|
|
||||||
['par_5fh3',['par_h3',['../structbme680__calib__data.html#a43a808580e91172a5b840210e8a85bf0',1,'bme680_calib_data']]],
|
|
||||||
['par_5fh4',['par_h4',['../structbme680__calib__data.html#a8d73c2a1a2b56bd9530f467f86f02c7a',1,'bme680_calib_data']]],
|
|
||||||
['par_5fh5',['par_h5',['../structbme680__calib__data.html#afa1dcf66631dcb16aa8c091a65e1d580',1,'bme680_calib_data']]],
|
|
||||||
['par_5fh6',['par_h6',['../structbme680__calib__data.html#ad97ebd01754136bd9af03c9e09c43005',1,'bme680_calib_data']]],
|
|
||||||
['par_5fh7',['par_h7',['../structbme680__calib__data.html#a59dd799e9a4b5faad9b3755aeb88ad30',1,'bme680_calib_data']]],
|
|
||||||
['par_5fp1',['par_p1',['../structbme680__calib__data.html#aac7cb7d36376532cd4a39aa5ddfe68c0',1,'bme680_calib_data']]],
|
|
||||||
['par_5fp10',['par_p10',['../structbme680__calib__data.html#a49b5fb944862a2937be8aafee042108c',1,'bme680_calib_data']]],
|
|
||||||
['par_5fp2',['par_p2',['../structbme680__calib__data.html#a97ee906971dca54be2deada4ede4664b',1,'bme680_calib_data']]],
|
|
||||||
['par_5fp3',['par_p3',['../structbme680__calib__data.html#a997a9f626fb184d400c178c84575c01a',1,'bme680_calib_data']]],
|
|
||||||
['par_5fp4',['par_p4',['../structbme680__calib__data.html#aa5757dfc40816cf3c8e29e2aeb4a521a',1,'bme680_calib_data']]],
|
|
||||||
['par_5fp5',['par_p5',['../structbme680__calib__data.html#adf1614f15852812b5a4346d75f9d37f4',1,'bme680_calib_data']]],
|
|
||||||
['par_5fp6',['par_p6',['../structbme680__calib__data.html#af70bee9d3b48b1ce25557b2639093ef3',1,'bme680_calib_data']]],
|
|
||||||
['par_5fp7',['par_p7',['../structbme680__calib__data.html#ad3af987b1e051ffb136efd2b8d2ba19e',1,'bme680_calib_data']]],
|
|
||||||
['par_5fp8',['par_p8',['../structbme680__calib__data.html#a4e75e3ba3a52bda30daffc6c0e242c03',1,'bme680_calib_data']]],
|
|
||||||
['par_5fp9',['par_p9',['../structbme680__calib__data.html#aebe0a4d1259e37c56b57e221add89bd9',1,'bme680_calib_data']]],
|
|
||||||
['par_5ft1',['par_t1',['../structbme680__calib__data.html#a0f01e767396f9328edb6e5ae9a314b2f',1,'bme680_calib_data']]],
|
|
||||||
['par_5ft2',['par_t2',['../structbme680__calib__data.html#a5ba9c77d416227faae07642a7537788f',1,'bme680_calib_data']]],
|
|
||||||
['par_5ft3',['par_t3',['../structbme680__calib__data.html#acda7c141bb94e5e6b3654387fc8bce47',1,'bme680_calib_data']]],
|
|
||||||
['power_5fmode',['power_mode',['../structbme680__dev.html#a7b2b2947aa6a6e336c90811373de1a6b',1,'bme680_dev']]],
|
|
||||||
['pressure',['pressure',['../structbme680__field__data.html#af92dbc060536ac0cd546a1f402fcecb4',1,'bme680_field_data']]]
|
|
||||||
];
|
|
||||||
@ -1,26 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html><head><title></title>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<link rel="stylesheet" type="text/css" href="search.css"/>
|
|
||||||
<script type="text/javascript" src="all_c.js"></script>
|
|
||||||
<script type="text/javascript" src="search.js"></script>
|
|
||||||
</head>
|
|
||||||
<body class="SRPage">
|
|
||||||
<div id="SRIndex">
|
|
||||||
<div class="SRStatus" id="Loading">Loading...</div>
|
|
||||||
<div id="SRResults"></div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
createResults();
|
|
||||||
--></script>
|
|
||||||
<div class="SRStatus" id="Searching">Searching...</div>
|
|
||||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
document.getElementById("Loading").style.display="none";
|
|
||||||
document.getElementById("NoMatches").style.display="none";
|
|
||||||
var searchResults = new SearchResults("searchResults");
|
|
||||||
searchResults.Search();
|
|
||||||
--></script>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,10 +0,0 @@
|
|||||||
var searchData=
|
|
||||||
[
|
|
||||||
['readme',['README',['../md__r_e_a_d_m_e.html',1,'']]],
|
|
||||||
['range_5fsw_5ferr',['range_sw_err',['../structbme680__calib__data.html#ab42378cffea08117ba872e9b7b2e3580',1,'bme680_calib_data']]],
|
|
||||||
['read',['read',['../structbme680__dev.html#aa36aaa5af7488e1a9dce5b8b834b1956',1,'bme680_dev']]],
|
|
||||||
['readaltitude',['readAltitude',['../class_adafruit___b_m_e680.html#a3caae92aa981508f0084b11b1fed4883',1,'Adafruit_BME680']]],
|
|
||||||
['res_5fheat_5frange',['res_heat_range',['../structbme680__calib__data.html#ae37d0c08a01ea1ecf19b82fe4b08f1a8',1,'bme680_calib_data']]],
|
|
||||||
['res_5fheat_5fval',['res_heat_val',['../structbme680__calib__data.html#aa77e96c4bd34ffd5611e014192b936fc',1,'bme680_calib_data']]],
|
|
||||||
['run_5fgas',['run_gas',['../structbme680__gas__sett.html#a01ce898d2f312f59dd4bda78d7abe951',1,'bme680_gas_sett']]]
|
|
||||||
];
|
|
||||||
@ -1,26 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html><head><title></title>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<link rel="stylesheet" type="text/css" href="search.css"/>
|
|
||||||
<script type="text/javascript" src="all_d.js"></script>
|
|
||||||
<script type="text/javascript" src="search.js"></script>
|
|
||||||
</head>
|
|
||||||
<body class="SRPage">
|
|
||||||
<div id="SRIndex">
|
|
||||||
<div class="SRStatus" id="Loading">Loading...</div>
|
|
||||||
<div id="SRResults"></div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
createResults();
|
|
||||||
--></script>
|
|
||||||
<div class="SRStatus" id="Searching">Searching...</div>
|
|
||||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
document.getElementById("Loading").style.display="none";
|
|
||||||
document.getElementById("NoMatches").style.display="none";
|
|
||||||
var searchResults = new SearchResults("searchResults");
|
|
||||||
searchResults.Search();
|
|
||||||
--></script>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
var searchData=
|
|
||||||
[
|
|
||||||
['sensor_20api',['SENSOR API',['../group___b_m_e680.html',1,'']]],
|
|
||||||
['setgasheater',['setGasHeater',['../class_adafruit___b_m_e680.html#a2e6a61b5441c51bf5e44c3af3ee3fec8',1,'Adafruit_BME680']]],
|
|
||||||
['setiirfiltersize',['setIIRFilterSize',['../class_adafruit___b_m_e680.html#a42f25a4f258aad9abad4abb6bd95ec77',1,'Adafruit_BME680']]],
|
|
||||||
['settemperatureoversampling',['setTemperatureOversampling',['../class_adafruit___b_m_e680.html#a640ee0a0cb7ca57af30e8408260cc6e6',1,'Adafruit_BME680']]],
|
|
||||||
['status',['status',['../structbme680__field__data.html#af52b43f86807c1f1ef7526bbb9584c5b',1,'bme680_field_data']]]
|
|
||||||
];
|
|
||||||
@ -1,26 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html><head><title></title>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<link rel="stylesheet" type="text/css" href="search.css"/>
|
|
||||||
<script type="text/javascript" src="all_e.js"></script>
|
|
||||||
<script type="text/javascript" src="search.js"></script>
|
|
||||||
</head>
|
|
||||||
<body class="SRPage">
|
|
||||||
<div id="SRIndex">
|
|
||||||
<div class="SRStatus" id="Loading">Loading...</div>
|
|
||||||
<div id="SRResults"></div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
createResults();
|
|
||||||
--></script>
|
|
||||||
<div class="SRStatus" id="Searching">Searching...</div>
|
|
||||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
document.getElementById("Loading").style.display="none";
|
|
||||||
document.getElementById("NoMatches").style.display="none";
|
|
||||||
var searchResults = new SearchResults("searchResults");
|
|
||||||
searchResults.Search();
|
|
||||||
--></script>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,6 +0,0 @@
|
|||||||
var searchData=
|
|
||||||
[
|
|
||||||
['t_5ffine',['t_fine',['../structbme680__calib__data.html#aae7b1a022503644a5e31996a97c032ae',1,'bme680_calib_data']]],
|
|
||||||
['temperature',['temperature',['../structbme680__field__data.html#a8954536ec56e28e4bc79ed7bf1bc5176',1,'bme680_field_data']]],
|
|
||||||
['tph_5fsett',['tph_sett',['../structbme680__dev.html#a38a17360e0b57778b734393e80819294',1,'bme680_dev']]]
|
|
||||||
];
|
|
||||||
@ -1,26 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html><head><title></title>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<link rel="stylesheet" type="text/css" href="search.css"/>
|
|
||||||
<script type="text/javascript" src="all_f.js"></script>
|
|
||||||
<script type="text/javascript" src="search.js"></script>
|
|
||||||
</head>
|
|
||||||
<body class="SRPage">
|
|
||||||
<div id="SRIndex">
|
|
||||||
<div class="SRStatus" id="Loading">Loading...</div>
|
|
||||||
<div id="SRResults"></div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
createResults();
|
|
||||||
--></script>
|
|
||||||
<div class="SRStatus" id="Searching">Searching...</div>
|
|
||||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
document.getElementById("Loading").style.display="none";
|
|
||||||
document.getElementById("NoMatches").style.display="none";
|
|
||||||
var searchResults = new SearchResults("searchResults");
|
|
||||||
searchResults.Search();
|
|
||||||
--></script>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
var searchData=
|
|
||||||
[
|
|
||||||
['write',['write',['../structbme680__dev.html#a5e1e5dad78b9831125c240dde61b13a2',1,'bme680_dev']]]
|
|
||||||
];
|
|
||||||
@ -1,26 +0,0 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html><head><title></title>
|
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
||||||
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
||||||
<link rel="stylesheet" type="text/css" href="search.css"/>
|
|
||||||
<script type="text/javascript" src="classes_0.js"></script>
|
|
||||||
<script type="text/javascript" src="search.js"></script>
|
|
||||||
</head>
|
|
||||||
<body class="SRPage">
|
|
||||||
<div id="SRIndex">
|
|
||||||
<div class="SRStatus" id="Loading">Loading...</div>
|
|
||||||
<div id="SRResults"></div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
createResults();
|
|
||||||
--></script>
|
|
||||||
<div class="SRStatus" id="Searching">Searching...</div>
|
|
||||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
document.getElementById("Loading").style.display="none";
|
|
||||||
document.getElementById("NoMatches").style.display="none";
|
|
||||||
var searchResults = new SearchResults("searchResults");
|
|
||||||
searchResults.Search();
|
|
||||||
--></script>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
var searchData=
|
|
||||||
[
|
|
||||||
['adafruit_5fbme680',['Adafruit_BME680',['../class_adafruit___b_m_e680.html',1,'']]]
|
|
||||||
];
|
|
||||||