Browse Source

Fix icons, update solar power on/off ; tweak display timings, font, etc

master
KemoNine 3 years ago
parent
commit
97c1e08b5d
  1. 7
      hardware/arduino/Plant_Monitor/README.md
  2. 1
      hardware/arduino/Plant_Monitor/extern/Adafruit-GFX-Library
  3. 1
      hardware/arduino/Plant_Monitor/extern/BMPtoArray
  4. BIN
      hardware/arduino/Plant_Monitor/extern/Due-pinout.png
  5. 57
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/AUTHORS
  6. 3
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/BUGS
  7. 187
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/LICENSE
  8. 1455
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/NEWS
  9. 67
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/README.md
  10. 250
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/langcover.txt
  11. 7143
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/status.txt
  12. BIN
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuMathTeXGyre.ttf
  13. BIN
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSans-Bold.ttf
  14. BIN
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSans-BoldOblique.ttf
  15. BIN
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSans-ExtraLight.ttf
  16. BIN
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSans-Oblique.ttf
  17. BIN
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSans.ttf
  18. BIN
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSansCondensed-Bold.ttf
  19. BIN
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSansCondensed-BoldOblique.ttf
  20. BIN
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSansCondensed-Oblique.ttf
  21. BIN
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSansCondensed.ttf
  22. BIN
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSansMono-Bold.ttf
  23. BIN
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSansMono-BoldOblique.ttf
  24. BIN
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSansMono-Oblique.ttf
  25. BIN
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSansMono.ttf
  26. BIN
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSerif-Bold.ttf
  27. BIN
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSerif-BoldItalic.ttf
  28. BIN
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSerif-Italic.ttf
  29. BIN
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSerif.ttf
  30. BIN
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSerifCondensed-Bold.ttf
  31. BIN
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSerifCondensed-BoldItalic.ttf
  32. BIN
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSerifCondensed-Italic.ttf
  33. BIN
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSerifCondensed.ttf
  34. 279
      hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/unicover.txt
  35. 1
      hardware/arduino/Plant_Monitor/extern/image2cpp
  36. 86
      hardware/arduino/Plant_Monitor/extern/lipo_fuelgauge-v10/defs.h
  37. 175
      hardware/arduino/Plant_Monitor/extern/lipo_fuelgauge-v10/i2c.h
  38. 359
      hardware/arduino/Plant_Monitor/extern/lipo_fuelgauge-v10/main.c
  39. 379
      hardware/arduino/Plant_Monitor/extern/lipo_fuelgauge-v10/main.hex
  40. 555
      hardware/arduino/Plant_Monitor/extern/lipo_fuelgauge-v10/makefile
  41. 65
      hardware/arduino/Plant_Monitor/extern/lipo_fuelgauge-v10/types.h
  42. 32
      hardware/arduino/Plant_Monitor/extern/max1704x/.gitignore
  43. 674
      hardware/arduino/Plant_Monitor/extern/max1704x/LICENSE
  44. 123
      hardware/arduino/Plant_Monitor/extern/max1704x/README.md
  45. 88
      hardware/arduino/Plant_Monitor/extern/max1704x/examples/Both/Both.ino
  46. 202
      hardware/arduino/Plant_Monitor/extern/max1704x/examples/MAX17043/MAX17043.ino
  47. 202
      hardware/arduino/Plant_Monitor/extern/max1704x/examples/MAX17044/MAX17044.ino
  48. BIN
      hardware/arduino/Plant_Monitor/extern/max1704x/extras/MAX17043-MAX17044.pdf
  49. BIN
      hardware/arduino/Plant_Monitor/extern/max1704x/extras/SparkFunLiPoFuelGauge-small.png
  50. BIN
      hardware/arduino/Plant_Monitor/extern/max1704x/extras/SparkFunLiPoFuelGauge.jpg
  51. 40
      hardware/arduino/Plant_Monitor/extern/max1704x/keywords.txt
  52. 9
      hardware/arduino/Plant_Monitor/extern/max1704x/library.properties
  53. 37
      hardware/arduino/Plant_Monitor/extern/max1704x/src/MAX17043.h
  54. 37
      hardware/arduino/Plant_Monitor/extern/max1704x/src/MAX17044.h
  55. 229
      hardware/arduino/Plant_Monitor/extern/max1704x/src/MAX1704X.cpp
  56. 75
      hardware/arduino/Plant_Monitor/extern/max1704x/src/MAX1704X.h
  57. BIN
      hardware/arduino/Plant_Monitor/extern/sparkfun esp32/14689-SparkFun_Thing_Plus_-_ESP32_WROOM-03.jpg
  58. BIN
      hardware/arduino/Plant_Monitor/extern/sparkfun esp32/esp32-thing-plus-grpahical-datasheet.png
  59. 281
      hardware/arduino/Plant_Monitor/fonts/DejaVuSansMono-Bold.12.h
  60. 398
      hardware/arduino/Plant_Monitor/fonts/DejaVuSansMono-Bold.16.h
  61. 562
      hardware/arduino/Plant_Monitor/fonts/DejaVuSansMono-Bold.20.h
  62. 184
      hardware/arduino/Plant_Monitor/fonts/DejaVuSansMono-Bold.8.h
  63. 208
      hardware/arduino/Plant_Monitor/fonts/DejaVuSansMono-Bold.9.h
  64. 271
      hardware/arduino/Plant_Monitor/fonts/DejaVuSansMono.12.h
  65. 388
      hardware/arduino/Plant_Monitor/fonts/DejaVuSansMono.16.h
  66. 539
      hardware/arduino/Plant_Monitor/fonts/DejaVuSansMono.20.h
  67. 181
      hardware/arduino/Plant_Monitor/fonts/DejaVuSansMono.8.h
  68. 205
      hardware/arduino/Plant_Monitor/fonts/DejaVuSansMono.9.h
  69. BIN
      hardware/arduino/Plant_Monitor/icons/ColorTable.ACT
  70. BIN
      hardware/arduino/Plant_Monitor/icons/battery_0.bmp
  71. BIN
      hardware/arduino/Plant_Monitor/icons/battery_100.bmp
  72. BIN
      hardware/arduino/Plant_Monitor/icons/battery_25.bmp
  73. BIN
      hardware/arduino/Plant_Monitor/icons/battery_50.bmp
  74. BIN
      hardware/arduino/Plant_Monitor/icons/battery_75.bmp
  75. BIN
      hardware/arduino/Plant_Monitor/icons/cat-grass.bmp
  76. BIN
      hardware/arduino/Plant_Monitor/icons/catnip.bmp
  77. BIN
      hardware/arduino/Plant_Monitor/icons/christmas-cactus.bmp
  78. BIN
      hardware/arduino/Plant_Monitor/icons/humidity.bmp
  79. BIN
      hardware/arduino/Plant_Monitor/icons/tarragon.bmp
  80. BIN
      hardware/arduino/Plant_Monitor/icons/temp_humidity.bmp
  81. BIN
      hardware/arduino/Plant_Monitor/icons/temperature.bmp
  82. BIN
      hardware/arduino/Plant_Monitor/icons/warning.bmp
  83. BIN
      hardware/arduino/Plant_Monitor/icons/warning_full.bmp
  84. 184
      hardware/arduino/Plant_Monitor/ino/DejaVuSansMono-Bold.8.h
  85. 37
      hardware/arduino/Plant_Monitor/ino/MAX17043.h
  86. 229
      hardware/arduino/Plant_Monitor/ino/MAX1704X.cpp
  87. 75
      hardware/arduino/Plant_Monitor/ino/MAX1704X.h
  88. 243
      hardware/arduino/Plant_Monitor/ino/SHT1x.cpp
  89. 41
      hardware/arduino/Plant_Monitor/ino/SHT1x.h
  90. 11
      hardware/arduino/Plant_Monitor/ino/battery_0.h
  91. 11
      hardware/arduino/Plant_Monitor/ino/battery_100.h
  92. 11
      hardware/arduino/Plant_Monitor/ino/battery_25.h
  93. 11
      hardware/arduino/Plant_Monitor/ino/battery_50.h
  94. 11
      hardware/arduino/Plant_Monitor/ino/battery_75.h
  95. 11
      hardware/arduino/Plant_Monitor/ino/cat-grass.h
  96. 11
      hardware/arduino/Plant_Monitor/ino/catnip.h
  97. 11
      hardware/arduino/Plant_Monitor/ino/christmas-cactus.h
  98. 11
      hardware/arduino/Plant_Monitor/ino/humidity.h
  99. 162
      hardware/arduino/Plant_Monitor/ino/ino.ino
  100. 11
      hardware/arduino/Plant_Monitor/ino/tarragon.h
  101. Some files were not shown because too many files have changed in this diff Show More

7
hardware/arduino/Plant_Monitor/README.md

@ -1,7 +0,0 @@
# Plant Monitor
A basic plant monitor backed by the Arduino Due.
## DEPRICATION WARNING!
This build is not longer maintained. It has been moved to the ```esphome``` platform.

1
hardware/arduino/Plant_Monitor/extern/Adafruit-GFX-Library vendored

@ -1 +0,0 @@
Subproject commit fbd16ee4b79ad80758d67bd2f067773a6cdbe558

1
hardware/arduino/Plant_Monitor/extern/BMPtoArray vendored

@ -1 +0,0 @@
Subproject commit 0856f0af143411ac06d26bb5237f4f5caff3d8f6

BIN
hardware/arduino/Plant_Monitor/extern/Due-pinout.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 614 KiB

57
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/AUTHORS vendored

@ -1,57 +0,0 @@
abysta at yandex.ru
Adrian Schroeter
Aleksey Chalabyan
Andrey Valentinovich Panov
Ben Laenen
Besarion Gugushvili
Bhikkhu Pesala
Clayborne Arevalo
Dafydd Harries
Danilo Segan
Davide Viti
David Jez
David Lawrence Ramsey
Denis Jacquerye
Dwayne Bailey
Eugeniy Meshcheryakov
Frédéric Wang
Gee Fung Sit
Heikki Lindroos
James Cloos
James Crippen
John Karp
Keenan Pepper
Lars Næsbye Christensen
Lior Halphon
MaEr
Mashrab Kuvatov
Max Berger
Mederic Boquien
Michael Everson
MihailJP
Misu Moldovan
Nguyen Thai Ngoc Duy
Nicolas Mailhot
Norayr Chilingarian
Olleg Samoylov
Ognyan Kulev
Ondrej Koala Vacha
Peter Cernak
Remy Oudompheng
Roozbeh Pournader
Rouben Hakobian
Sahak Petrosyan
Sami Tarazi
Sander Vesik
Stepan Roh
Stephen Hartke
Steve Tinney
Tavmjong Bah
Thomas Henlich
Tim May
Valentin Stoykov
Vasek Stodulka
Wesley Transue
Yoshiki Ohshima
$Id$

3
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/BUGS vendored

@ -1,3 +0,0 @@
See http://dejavu.sourceforge.net/wiki/index.php/Bugs
$Id$

187
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/LICENSE vendored

@ -1,187 +0,0 @@
Fonts are (c) Bitstream (see below). DejaVu changes are in public domain.
Glyphs imported from Arev fonts are (c) Tavmjong Bah (see below)
Bitstream Vera Fonts Copyright
------------------------------
Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is
a trademark of Bitstream, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of the fonts accompanying this license ("Fonts") and associated
documentation files (the "Font Software"), to reproduce and distribute the
Font Software, including without limitation the rights to use, copy, merge,
publish, distribute, and/or sell copies of the Font Software, and to permit
persons to whom the Font Software is furnished to do so, subject to the
following conditions:
The above copyright and trademark notices and this permission notice shall
be included in all copies of one or more of the Font Software typefaces.
The Font Software may be modified, altered, or added to, and in particular
the designs of glyphs or characters in the Fonts may be modified and
additional glyphs or characters may be added to the Fonts, only if the fonts
are renamed to names not containing either the words "Bitstream" or the word
"Vera".
This License becomes null and void to the extent applicable to Fonts or Font
Software that has been modified and is distributed under the "Bitstream
Vera" names.
The Font Software may be sold as part of a larger software package but no
copy of one or more of the Font Software typefaces may be sold by itself.
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME
FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING
ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE
FONT SOFTWARE.
Except as contained in this notice, the names of Gnome, the Gnome
Foundation, and Bitstream Inc., shall not be used in advertising or
otherwise to promote the sale, use or other dealings in this Font Software
without prior written authorization from the Gnome Foundation or Bitstream
Inc., respectively. For further information, contact: fonts at gnome dot
org.
Arev Fonts Copyright
------------------------------
Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved.
Permission is hereby granted, free of charge, to any person obtaining
a copy of the fonts accompanying this license ("Fonts") and
associated documentation files (the "Font Software"), to reproduce
and distribute the modifications to the Bitstream Vera Font Software,
including without limitation the rights to use, copy, merge, publish,
distribute, and/or sell copies of the Font Software, and to permit
persons to whom the Font Software is furnished to do so, subject to
the following conditions:
The above copyright and trademark notices and this permission notice
shall be included in all copies of one or more of the Font Software
typefaces.
The Font Software may be modified, altered, or added to, and in
particular the designs of glyphs or characters in the Fonts may be
modified and additional glyphs or characters may be added to the
Fonts, only if the fonts are renamed to names not containing either
the words "Tavmjong Bah" or the word "Arev".
This License becomes null and void to the extent applicable to Fonts
or Font Software that has been modified and is distributed under the
"Tavmjong Bah Arev" names.
The Font Software may be sold as part of a larger software package but
no copy of one or more of the Font Software typefaces may be sold by
itself.
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL
TAVMJONG BAH BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Except as contained in this notice, the name of Tavmjong Bah shall not
be used in advertising or otherwise to promote the sale, use or other
dealings in this Font Software without prior written authorization
from Tavmjong Bah. For further information, contact: tavmjong @ free
. fr.
TeX Gyre DJV Math
-----------------
Fonts are (c) Bitstream (see below). DejaVu changes are in public domain.
Math extensions done by B. Jackowski, P. Strzelczyk and P. Pianowski
(on behalf of TeX users groups) are in public domain.
Letters imported from Euler Fraktur from AMSfonts are (c) American
Mathematical Society (see below).
Bitstream Vera Fonts Copyright
Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera
is a trademark of Bitstream, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of the fonts accompanying this license (“Fonts”) and associated
documentation
files (the “Font Software”), to reproduce and distribute the Font Software,
including without limitation the rights to use, copy, merge, publish,
distribute,
and/or sell copies of the Font Software, and to permit persons to whom
the Font Software is furnished to do so, subject to the following
conditions:
The above copyright and trademark notices and this permission notice
shall be
included in all copies of one or more of the Font Software typefaces.
The Font Software may be modified, altered, or added to, and in particular
the designs of glyphs or characters in the Fonts may be modified and
additional
glyphs or characters may be added to the Fonts, only if the fonts are
renamed
to names not containing either the words “Bitstream” or the word “Vera”.
This License becomes null and void to the extent applicable to Fonts or
Font Software
that has been modified and is distributed under the “Bitstream Vera”
names.
The Font Software may be sold as part of a larger software package but
no copy
of one or more of the Font Software typefaces may be sold by itself.
THE FONT SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME
FOUNDATION
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL,
SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN
ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR
INABILITY TO USE
THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
Except as contained in this notice, the names of GNOME, the GNOME
Foundation,
and Bitstream Inc., shall not be used in advertising or otherwise to promote
the sale, use or other dealings in this Font Software without prior written
authorization from the GNOME Foundation or Bitstream Inc., respectively.
For further information, contact: fonts at gnome dot org.
AMSFonts (v. 2.2) copyright
The PostScript Type 1 implementation of the AMSFonts produced by and
previously distributed by Blue Sky Research and Y&Y, Inc. are now freely
available for general use. This has been accomplished through the
cooperation
of a consortium of scientific publishers with Blue Sky Research and Y&Y.
Members of this consortium include:
Elsevier Science IBM Corporation Society for Industrial and Applied
Mathematics (SIAM) Springer-Verlag American Mathematical Society (AMS)
In order to assure the authenticity of these fonts, copyright will be
held by
the American Mathematical Society. This is not meant to restrict in any way
the legitimate use of the fonts, such as (but not limited to) electronic
distribution of documents containing these fonts, inclusion of these fonts
into other public domain or commercial font collections or computer
applications, use of the outline data to create derivative fonts and/or
faces, etc. However, the AMS does require that the AMS copyright notice be
removed from any derivative versions of the fonts which have been altered in
any way. In addition, to ensure the fidelity of TeX documents using Computer
Modern fonts, Professor Donald Knuth, creator of the Computer Modern faces,
has requested that any alterations which yield different font metrics be
given a different name.
$Id$

1455
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/NEWS vendored

File diff suppressed because it is too large Load Diff

67
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/README.md vendored

@ -1,67 +0,0 @@
[![Build Status](https://travis-ci.org/dejavu-fonts/dejavu-fonts.svg)](https://travis-ci.org/dejavu-fonts/dejavu-fonts)
DejaVu fonts 2.37 (c)2004-2016 DejaVu fonts team
------------------------------------------------
The DejaVu fonts are a font family based on the Bitstream Vera Fonts
(http://gnome.org/fonts/). Its purpose is to provide a wider range of
characters (see status.txt for more information) while maintaining the
original look and feel.
DejaVu fonts are based on Bitstream Vera fonts version 1.10.
Available fonts (Sans = sans serif, Mono = monospaced):
DejaVu Sans Mono
DejaVu Sans Mono Bold
DejaVu Sans Mono Bold Oblique
DejaVu Sans Mono Oblique
DejaVu Sans
DejaVu Sans Bold
DejaVu Sans Bold Oblique
DejaVu Sans Oblique
DejaVu Sans ExtraLight (experimental)
DejaVu Serif
DejaVu Serif Bold
DejaVu Serif Bold Italic (experimental)
DejaVu Serif Italic (experimental)
DejaVu Sans Condensed (experimental)
DejaVu Sans Condensed Bold (experimental)
DejaVu Sans Condensed Bold Oblique (experimental)
DejaVu Sans Condensed Oblique (experimental)
DejaVu Serif Condensed (experimental)
DejaVu Serif Condensed Bold (experimental)
DejaVu Serif Condensed Bold Italic (experimental)
DejaVu Serif Condensed Italic (experimental)
DejaVu Math TeX Gyre
All fonts are also available as derivative called DejaVu LGC with support
only for Latin, Greek and Cyrillic scripts.
For license information see LICENSE. What's new is described in NEWS. Known
bugs are in BUGS. All authors are mentioned in AUTHORS.
Fonts are published in source form as SFD files (Spline Font Database from
FontForge - http://fontforge.sf.net/) and in compiled form as TTF files
(TrueType fonts).
For more information go to http://dejavu.sourceforge.net/.
Characters from Arev fonts, Copyright (c) 2006 by Tavmjong Bah:
---------------------------
U+01BA, U+01BF, U+01F7, U+021C-U+021D, U+0220, U+0222-U+0223,
U+02B9, U+02BA, U+02BD, U+02C2-U+02C5, U+02d4-U+02D5,
U+02D7, U+02EC-U+02EE, U+0346-U+034E, U+0360, U+0362,
U+03E2-03EF, U+0460-0463, U+0466-U+0486, U+0488-U+0489, U+04A8-U+04A9,
U+0500-U+050F, U+2055-205E, U+20B0, U+20B2-U+20B3, U+2102, U+210D, U+210F,
U+2111, U+2113, U+2115, U+2118-U+211A, U+211C-U+211D, U+2124, U+2135,
U+213C-U+2140, U+2295-U+2298, U+2308-U+230B, U+26A2-U+26B1, U+2701-U+2704,
U+2706-U+2709, U+270C-U+274B, U+2758-U+275A, U+2761-U+2775, U+2780-U+2794,
U+2798-U+27AF, U+27B1-U+27BE, U+FB05-U+FB06
DejaVu Math TeX Gyre
--------------------
TeX Gyre DJV Math by B. Jackowski, P. Strzelczyk and P. Pianowski
(on behalf of TeX users groups).
$Id$

250
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/langcover.txt vendored

@ -1,250 +0,0 @@
This is the language coverage file for DejaVu fonts
($Id$)
Sans Serif Sans Mono
aa Afar 100% (62/62) 100% (62/62) 100% (62/62)
ab Abkhazia 100% (90/90) 93% (84/90) 84% (76/90)
af Afrikaans 100% (69/69) 100% (69/69) 100% (69/69)
ak Akan 100% (73/73) 100% (73/73) 100% (73/73)
am Amharic (0/264) (0/264) (0/264)
an Aragonese 100% (66/66) 100% (66/66) 100% (66/66)
ar Arabic 100% (36/36) (0/36) 100% (36/36)
as Assamese (0/64) (0/64) (0/64)
ast Asturian/Bable/Leonese/Asturleonese 100% (70/70) 100% (70/70) 100% (70/70)
av Avaric 100% (67/67) 100% (67/67) 100% (67/67)
ay Aymara 100% (60/60) 100% (60/60) 100% (60/60)
az-az Azerbaijani in Azerbaijan 100% (66/66) 100% (66/66) 100% (66/66)
az-ir Azerbaijani in Iran 100% (40/40) (0/40) 100% (40/40)
ba Bashkir 100% (82/82) 100% (82/82) 97% (80/82)
be Byelorussian 100% (68/68) 100% (68/68) 100% (68/68)
ber-dz Berber in Algeria 100% (70/70) 100% (70/70) 100% (70/70)
ber-ma Berber in Morocco 100% (32/32) (0/32) (0/32)
bg Bulgarian 100% (60/60) 100% (60/60) 100% (60/60)
bh Bihari (Devanagari script) (0/68) (0/68) (0/68)
bho Bhojpuri (Devanagari script) (0/68) (0/68) (0/68)
bi Bislama 100% (58/58) 100% (58/58) 100% (58/58)
bin Edo or Bini 100% (78/78) 100% (78/78) 100% (78/78)
bm Bambara 100% (60/60) 100% (60/60) 100% (60/60)
bn Bengali (0/63) (0/63) (0/63)
bo Tibetan (0/95) (0/95) (0/95)
br Breton 100% (64/64) 100% (64/64) 100% (64/64)
brx Bodo (Devanagari script) (0/82) (0/82) (0/82)
bs Bosnian 100% (62/62) 100% (62/62) 100% (62/62)
bua Buriat (Buryat) 100% (70/70) 100% (70/70) 100% (70/70)
byn Blin/Bilin (0/255) (0/255) (0/255)
ca Catalan 100% (74/74) 100% (74/74) 100% (74/74)
ce Chechen 100% (67/67) 100% (67/67) 100% (67/67)
ch Chamorro 100% (58/58) 100% (58/58) 100% (58/58)
chm Mari (Lower Cheremis / Upper Cheremis) 100% (76/76) 100% (76/76) 100% (76/76)
chr Cherokee (0/85) (0/85) (0/85)
co Corsican 100% (84/84) 100% (84/84) 100% (84/84)
crh Crimean Tatar/Crimean Turkish 100% (68/68) 100% (68/68) 100% (68/68)
cs Czech 100% (82/82) 100% (82/82) 100% (82/82)
csb Kashubian 100% (74/74) 100% (74/74) 100% (74/74)
cu Old Church Slavonic 100% (103/103) 90% (93/103) 78% (81/103)
cv Chuvash 100% (74/74) 100% (74/74) 100% (74/74)
cy Welsh 100% (78/78) 100% (78/78) 100% (78/78)
da Danish 100% (70/70) 100% (70/70) 100% (70/70)
de German 100% (59/59) 100% (59/59) 100% (59/59)
doi Dogri (0/85) (0/85) (0/85)
dv Divehi/Dhivehi/Maldivian (0/49) (0/49) (0/49)
dz Dzongkha (0/95) (0/95) (0/95)
ee Ewe 100% (99/99) 100% (99/99) 100% (99/99)
el Greek 100% (69/69) 100% (69/69) 100% (69/69)
en English 100% (72/72) 100% (72/72) 100% (72/72)
eo Esperanto 100% (64/64) 100% (64/64) 100% (64/64)
es Spanish 100% (66/66) 100% (66/66) 100% (66/66)
et Estonian 100% (64/64) 100% (64/64) 100% (64/64)
eu Basque 100% (56/56) 100% (56/56) 100% (56/56)
fa Persian 100% (40/40) (0/40) 100% (40/40)
fat Fanti 100% (73/73) 100% (73/73) 100% (73/73)
ff Fulah (Fula) 100% (62/62) 100% (62/62) 100% (62/62)
fi Finnish 100% (62/62) 100% (62/62) 100% (62/62)
fil Filipino 100% (84/84) 100% (84/84) 100% (84/84)
fj Fijian 100% (52/52) 100% (52/52) 100% (52/52)
fo Faroese 100% (68/68) 100% (68/68) 100% (68/68)
fr French 100% (84/84) 100% (84/84) 100% (84/84)
fur Friulian 100% (66/66) 100% (66/66) 100% (66/66)
fy Frisian 100% (75/75) 100% (75/75) 100% (75/75)
ga Irish 100% (80/80) 100% (80/80) 100% (80/80)
gd Scots Gaelic 100% (70/70) 100% (70/70) 100% (70/70)
gez Ethiopic (Geez) (0/218) (0/218) (0/218)
gl Galician 100% (66/66) 100% (66/66) 100% (66/66)
gn Guarani 100% (70/70) 100% (70/70) 100% (70/70)
gu Gujarati (0/68) (0/68) (0/68)
gv Manx Gaelic 100% (54/54) 100% (54/54) 100% (54/54)
ha Hausa 100% (60/60) 100% (60/60) 100% (60/60)
haw Hawaiian 100% (63/63) 100% (63/63) 100% (63/63)
he Hebrew 100% (27/27) (0/27) (0/27)
hi Hindi (Devanagari script) (0/68) (0/68) (0/68)
hne Chhattisgarhi (0/68) (0/68) (0/68)
ho Hiri Motu 100% (52/52) 100% (52/52) 100% (52/52)
hr Croatian 100% (62/62) 100% (62/62) 100% (62/62)
hsb Upper Sorbian 100% (72/72) 100% (72/72) 100% (72/72)
ht Haitian/Haitian Creole 100% (56/56) 100% (56/56) 100% (56/56)
hu Hungarian 100% (70/70) 100% (70/70) 100% (70/70)
hy Armenian 100% (77/77) 100% (77/77) 100% (77/77)
hz Herero 100% (57/57) 100% (57/57) 100% (57/57)
ia Interlingua 100% (52/52) 100% (52/52) 100% (52/52)
id Indonesian 100% (54/54) 100% (54/54) 100% (54/54)
ie Interlingue 100% (52/52) 100% (52/52) 100% (52/52)
ig Igbo 100% (58/58) 100% (58/58) 100% (58/58)
ii Sichuan Yi/Nuosu (0/1165) (0/1165) (0/1165)
ik Inupiaq (Inupiak, Eskimo) 100% (68/68) 100% (68/68) 100% (68/68)
io Ido 100% (52/52) 100% (52/52) 100% (52/52)
is Icelandic 100% (70/70) 100% (70/70) 100% (70/70)
it Italian 100% (72/72) 100% (72/72) 100% (72/72)
iu Inuktitut 100% (161/161) (0/161) (0/161)
ja Japanese (0/2314) (0/2314) (0/2314)
jv Javanese 100% (56/56) 100% (56/56) 100% (56/56)
ka Georgian 100% (33/33) 100% (33/33) 100% (33/33)
kaa Kara-Kalpak (Karakalpak) 100% (78/78) 100% (78/78) 100% (78/78)
kab Kabyle 100% (70/70) 100% (70/70) 100% (70/70)
ki Kikuyu 100% (56/56) 100% (56/56) 100% (56/56)
kj Kuanyama/Kwanyama 100% (52/52) 100% (52/52) 100% (52/52)
kk Kazakh 100% (77/77) 100% (77/77) 100% (77/77)
kl Greenlandic 100% (81/81) 100% (81/81) 100% (81/81)
km Central Khmer (0/63) (0/63) (0/63)
kn Kannada (0/70) (0/70) (0/70)
ko Korean (0/2442) (0/2442) (0/2442)
kok Kokani (Devanagari script) (0/68) (0/68) (0/68)
kr Kanuri 100% (56/56) 100% (56/56) 100% (56/56)
ks Kashmiri 78% (26/33) (0/33) 69% (23/33)
ku-am Kurdish in Armenia 100% (64/64) 100% (64/64) 100% (64/64)
ku-iq Kurdish in Iraq 100% (32/32) (0/32) 87% (28/32)
ku-ir Kurdish in Iran 100% (32/32) (0/32) 87% (28/32)
ku-tr Kurdish in Turkey 100% (62/62) 100% (62/62) 100% (62/62)
kum Kumyk 100% (66/66) 100% (66/66) 100% (66/66)
kv Komi (Komi-Permyak/Komi-Siryan) 100% (70/70) 100% (70/70) 100% (70/70)
kw Cornish 100% (64/64) 100% (64/64) 100% (64/64)
kwm Kwambi 100% (52/52) 100% (52/52) 100% (52/52)
ky Kirgiz 100% (70/70) 100% (70/70) 100% (70/70)
la Latin 100% (68/68) 100% (68/68) 100% (68/68)
lah Lahnda 92% (25/27) (0/27) 85% (23/27)
lb Luxembourgish (Letzeburgesch) 100% (75/75) 100% (75/75) 100% (75/75)
lez Lezghian (Lezgian) 100% (67/67) 100% (67/67) 100% (67/67)
lg Ganda 100% (54/54) 100% (54/54) 100% (54/54)
li Limburgan/Limburger/Limburgish 100% (62/62) 100% (62/62) 100% (62/62)
ln Lingala 100% (81/81) 100% (81/81) 100% (81/81)
lo Lao 100% (55/55) (0/55) 83% (46/55)
lt Lithuanian 100% (70/70) 100% (70/70) 100% (70/70)
lv Latvian 100% (78/78) 100% (78/78) 100% (78/78)
mai Maithili (Devanagari script) (0/68) (0/68) (0/68)
mg Malagasy 100% (56/56) 100% (56/56) 100% (56/56)
mh Marshallese 100% (62/62) 100% (62/62) 100% (62/62)
mi Maori 100% (64/64) 100% (64/64) 100% (64/64)
mk Macedonian 100% (42/42) 100% (42/42) 100% (42/42)
ml Malayalam (0/68) (0/68) (0/68)
mn-cn Mongolian in China (0/130) (0/130) (0/130)
mn-mn Mongolian in Mongolia 100% (70/70) 100% (70/70) 100% (70/70)
mni Maniputi (0/78) (0/78) (0/78)
mo Moldavian 100% (128/128) 100% (128/128) 100% (128/128)
mr Marathi (Devanagari script) (0/68) (0/68) (0/68)
ms Malay 100% (52/52) 100% (52/52) 100% (52/52)
mt Maltese 100% (72/72) 100% (72/72) 100% (72/72)
my Burmese (Myanmar) (0/48) (0/48) (0/48)
na Nauru 100% (60/60) 100% (60/60) 100% (60/60)
nb Norwegian Bokmal 100% (70/70) 100% (70/70) 100% (70/70)
nds Low Saxon 100% (59/59) 100% (59/59) 100% (59/59)
ne Nepali (0/72) (0/72) (0/72)
ng Ndonga 100% (52/52) 100% (52/52) 100% (52/52)
nl Dutch 100% (82/82) 100% (82/82) 100% (82/82)
nn Norwegian Nynorsk 100% (76/76) 100% (76/76) 100% (76/76)
no Norwegian (Bokmal) 100% (70/70) 100% (70/70) 100% (70/70)
nqo N'Ko 91% (54/59) (0/59) (0/59)
nr Ndebele, South 100% (52/52) 100% (52/52) 100% (52/52)
nso Northern Sotho 100% (58/58) 100% (58/58) 100% (58/58)
nv Navajo/Navaho 100% (72/72) 100% (72/72) 100% (72/72)
ny Chichewa 100% (54/54) 100% (54/54) 100% (54/54)
oc Occitan 100% (70/70) 100% (70/70) 100% (70/70)
om Oromo or Galla 100% (52/52) 100% (52/52) 100% (52/52)
or Oriya (0/68) (0/68) (0/68)
os Ossetic 100% (66/66) 100% (66/66) 100% (66/66)
ota Ottoman Turkish 100% (37/37) (0/37) 97% (36/37)
pa Panjabi/Punjabi (0/63) (0/63) (0/63)
pa-pk Panjabi/Punjabi in Pakistan 92% (25/27) (0/27) 85% (23/27)
pap-an Papiamento in Netherlands Antilles 100% (72/72) 100% (72/72) 100% (72/72)
pap-aw Papiamento in Aruba 100% (54/54) 100% (54/54) 100% (54/54)
pes Western Farsi 100% (40/40) (0/40) 100% (40/40)
pl Polish 100% (70/70) 100% (70/70) 100% (70/70)
prs Dari/Eastern Farsi 100% (40/40) (0/40) 100% (40/40)
ps-af Pashto in Afghanistan 97% (48/49) (0/49) 77% (38/49)
ps-pk Pashto in Pakistan 95% (47/49) (0/49) 75% (37/49)
pt Portuguese 100% (82/82) 100% (82/82) 100% (82/82)
qu Quechua 100% (55/55) 100% (55/55) 100% (55/55)
quz Cusco Quechua 100% (55/55) 100% (55/55) 100% (55/55)
rm Rhaeto-Romance (Romansch) 100% (66/66) 100% (66/66) 100% (66/66)
rn Rundi 100% (52/52) 100% (52/52) 100% (52/52)
ro Romanian 100% (62/62) 100% (62/62) 100% (62/62)
ru Russian 100% (66/66) 100% (66/66) 100% (66/66)
rw Kinyarwanda 100% (52/52) 100% (52/52) 100% (52/52)
sa Sanskrit (Devanagari script) (0/68) (0/68) (0/68)
sah Yakut 100% (76/76) 100% (76/76) 100% (76/76)
sat Santali (Devanagari script) (0/70) (0/70) (0/70)
sc Sardinian 100% (62/62) 100% (62/62) 100% (62/62)
sco Scots 100% (56/56) 100% (56/56) 100% (56/56)
sd Sindhi 100% (54/54) (0/54) 79% (43/54)
se North Sami 100% (66/66) 100% (66/66) 100% (66/66)
sel Selkup (Ostyak-Samoyed) 100% (66/66) 100% (66/66) 100% (66/66)
sg Sango 100% (72/72) 100% (72/72) 100% (72/72)
sh Serbo-Croatian 100% (156/156) 100% (156/156) 98% (154/156)
shs Secwepemctsin 100% (48/48) 100% (48/48) 100% (48/48)
si Sinhala/Sinhalese (0/73) (0/73) (0/73)
sid Sidamo (0/281) (0/281) (0/281)
sk Slovak 100% (86/86) 100% (86/86) 100% (86/86)
sl Slovenian 100% (62/62) 100% (62/62) 100% (62/62)
sm Samoan 100% (53/53) 100% (53/53) 100% (53/53)
sma South Sami 100% (60/60) 100% (60/60) 100% (60/60)
smj Lule Sami 100% (60/60) 100% (60/60) 100% (60/60)
smn Inari Sami 100% (68/68) 100% (68/68) 100% (68/68)
sms Skolt Sami 100% (80/80) 100% (80/80) 97% (78/80)
sn Shona 100% (52/52) 100% (52/52) 100% (52/52)
so Somali 100% (52/52) 100% (52/52) 100% (52/52)
sq Albanian 100% (56/56) 100% (56/56) 100% (56/56)
sr Serbian 100% (60/60) 100% (60/60) 100% (60/60)
ss Swati 100% (52/52) 100% (52/52) 100% (52/52)
st Sotho, Southern 100% (52/52) 100% (52/52) 100% (52/52)
su Sundanese 100% (54/54) 100% (54/54) 100% (54/54)
sv Swedish 100% (68/68) 100% (68/68) 100% (68/68)
sw Swahili 100% (52/52) 100% (52/52) 100% (52/52)
syr Syriac (0/45) (0/45) (0/45)
ta Tamil (0/48) (0/48) (0/48)
te Telugu (0/70) (0/70) (0/70)
tg Tajik 100% (78/78) 100% (78/78) 97% (76/78)
th Thai 1% (1/74) 1% (1/74) 1% (1/74)
ti-er Eritrean Tigrinya (0/255) (0/255) (0/255)
ti-et Ethiopian Tigrinya (0/281) (0/281) (0/281)
tig Tigre (0/221) (0/221) (0/221)
tk Turkmen 100% (68/68) 100% (68/68) 100% (68/68)
tl Tagalog 100% (84/84) 100% (84/84) 100% (84/84)
tn Tswana 100% (58/58) 100% (58/58) 100% (58/58)
to Tonga 100% (53/53) 100% (53/53) 100% (53/53)
tr Turkish 100% (70/70) 100% (70/70) 100% (70/70)
ts Tsonga 100% (52/52) 100% (52/52) 100% (52/52)
tt Tatar 100% (76/76) 100% (76/76) 100% (76/76)
tw Twi 100% (73/73) 100% (73/73) 100% (73/73)
ty Tahitian 100% (65/65) 100% (65/65) 100% (65/65)
tyv Tuvinian 100% (70/70) 100% (70/70) 100% (70/70)
ug Uyghur 100% (33/33) (0/33) 78% (26/33)
uk Ukrainian 100% (72/72) 100% (72/72) 100% (72/72)
ur Urdu 92% (25/27) (0/27) 85% (23/27)
uz Uzbek 100% (52/52) 100% (52/52) 100% (52/52)
ve Venda 100% (62/62) 100% (62/62) 100% (62/62)
vi Vietnamese 100% (194/194) 100% (194/194) 76% (148/194)
vo Volapuk 100% (54/54) 100% (54/54) 100% (54/54)
vot Votic 100% (62/62) 100% (62/62) 100% (62/62)
wa Walloon 100% (70/70) 100% (70/70) 100% (70/70)
wal Wolaitta/Wolaytta (0/281) (0/281) (0/281)
wen Sorbian languages (lower and upper) 100% (76/76) 100% (76/76) 100% (76/76)
wo Wolof 100% (66/66) 100% (66/66) 100% (66/66)
xh Xhosa 100% (52/52) 100% (52/52) 100% (52/52)
yap Yapese 100% (58/58) 100% (58/58) 100% (58/58)
yi Yiddish 100% (27/27) (0/27) (0/27)
yo Yoruba 100% (119/119) 100% (119/119) 100% (119/119)
za Zhuang/Chuang 100% (52/52) 100% (52/52) 100% (52/52)
zh-cn Chinese (simplified) 0% (2/6765) 0% (2/6765) 0% (2/6765)
zh-hk Chinese Hong Kong Supplementary Character Set (0/1083) (0/1083) (0/1083)
zh-mo Chinese in Macau (0/1083) (0/1083) (0/1083)
zh-sg Chinese in Singapore 0% (2/6765) 0% (2/6765) 0% (2/6765)
zh-tw Chinese (traditional) (0/13063) (0/13063) (0/13063)
zu Zulu 100% (52/52) 100% (52/52) 100% (52/52)

7143
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/status.txt vendored

File diff suppressed because it is too large Load Diff

BIN
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuMathTeXGyre.ttf vendored

Binary file not shown.

BIN
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSans-Bold.ttf vendored

Binary file not shown.

BIN
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSans-BoldOblique.ttf vendored

Binary file not shown.

BIN
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSans-ExtraLight.ttf vendored

Binary file not shown.

BIN
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSans-Oblique.ttf vendored

Binary file not shown.

BIN
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSans.ttf vendored

Binary file not shown.

BIN
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSansCondensed-Bold.ttf vendored

Binary file not shown.

BIN
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSansCondensed-BoldOblique.ttf vendored

Binary file not shown.

BIN
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSansCondensed-Oblique.ttf vendored

Binary file not shown.

BIN
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSansCondensed.ttf vendored

Binary file not shown.

BIN
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSansMono-Bold.ttf vendored

Binary file not shown.

BIN
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSansMono-BoldOblique.ttf vendored

Binary file not shown.

BIN
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSansMono-Oblique.ttf vendored

Binary file not shown.

BIN
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSansMono.ttf vendored

Binary file not shown.

BIN
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSerif-Bold.ttf vendored

Binary file not shown.

BIN
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSerif-BoldItalic.ttf vendored

Binary file not shown.

BIN
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSerif-Italic.ttf vendored

Binary file not shown.

BIN
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSerif.ttf vendored

Binary file not shown.

BIN
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSerifCondensed-Bold.ttf vendored

Binary file not shown.

BIN
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSerifCondensed-BoldItalic.ttf vendored

Binary file not shown.

BIN
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSerifCondensed-Italic.ttf vendored

Binary file not shown.

BIN
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/ttf/DejaVuSerifCondensed.ttf vendored

Binary file not shown.

279
hardware/arduino/Plant_Monitor/extern/dejavu-fonts-ttf-2.37/unicover.txt vendored

@ -1,279 +0,0 @@
This is the Unicode coverage file for DejaVu fonts
($Id$)
Control and similar characters are discounted from totals.
Sans Serif Sans Mono
U+0000 Basic Latin 100% (95/95) 100% (95/95) 100% (95/95)
U+0080 Latin-1 Supplement 100% (96/96) 100% (96/96) 100% (96/96)
U+0100 Latin Extended-A 100% (128/128) 100% (128/128) 100% (128/128)
U+0180 Latin Extended-B 100% (208/208) 100% (208/208) 86% (180/208)
U+0250 IPA Extensions 100% (96/96) 100% (96/96) 100% (96/96)
U+02b0 Spacing Modifier Letters 78% (63/80) 73% (59/80) 62% (50/80)
U+0300 Combining Diacritical Marks 83% (93/112) 61% (69/112) 59% (67/112)
U+0370 Greek and Coptic 100% (135/135) 89% (121/135) 85% (116/135)
U+0400 Cyrillic 100% (256/256) 79% (204/256) 70% (180/256)
U+0500 Cyrillic Supplement 79% (38/48) 20% (10/48) 12% (6/48)
U+0530 Armenian 96% (86/89) 96% (86/89) 96% (86/89)
U+0590 Hebrew 62% (54/87) (0/87) (0/87)
U+0600 Arabic 64% (165/255) (0/255) 38% (99/255)
U+0700 Syriac (0/77) (0/77) (0/77)
U+0750 Arabic Supplement (0/48) (0/48) (0/48)
U+0780 Thaana (0/50) (0/50) (0/50)
U+07c0 NKo 91% (54/59) (0/59) (0/59)
U+0800 Samaritan (0/61) (0/61) (0/61)
U+0840 Mandaic (0/29) (0/29) (0/29)
U+08a0 Arabic Extended-A (0/73) (0/73) (0/73)
U+0900 Devanagari (0/128) (0/128) (0/128)
U+0980 Bengali (0/93) (0/93) (0/93)
U+0a00 Gurmukhi (0/79) (0/79) (0/79)
U+0a80 Gujarati (0/85) (0/85) (0/85)
U+0b00 Oriya (0/90) (0/90) (0/90)
U+0b80 Tamil (0/72) (0/72) (0/72)
U+0c00 Telugu (0/96) (0/96) (0/96)
U+0c80 Kannada (0/88) (0/88) (0/88)
U+0d00 Malayalam (0/114) (0/114) (0/114)
U+0d80 Sinhala (0/90) (0/90) (0/90)
U+0e00 Thai 1% (1/87) 1% (1/87) 1% (1/87)
U+0e80 Lao 97% (65/67) (0/67) 68% (46/67)
U+0f00 Tibetan (0/211) (0/211) (0/211)
U+1000 Myanmar (0/160) (0/160) (0/160)
U+10a0 Georgian 94% (83/88) 94% (83/88) 51% (45/88)
U+1100 Hangul Jamo (0/256) (0/256) (0/256)
U+1200 Ethiopic (0/358) (0/358) (0/358)
U+1380 Ethiopic Supplement (0/26) (0/26) (0/26)
U+13a0 Cherokee (0/92) (0/92) (0/92)
U+1400 Unified Canadian Aboriginal Syllabics 63% (404/640) (0/640) (0/640)
U+1680 Ogham 100% (29/29) (0/29) (0/29)
U+16a0 Runic (0/89) (0/89) (0/89)
U+1700 Tagalog (0/20) (0/20) (0/20)
U+1720 Hanunoo (0/23) (0/23) (0/23)
U+1740 Buhid (0/20) (0/20) (0/20)
U+1760 Tagbanwa (0/18) (0/18) (0/18)
U+1780 Khmer (0/114) (0/114) (0/114)
U+1800 Mongolian (0/156) (0/156) (0/156)
U+18b0 Unified Canadian Aboriginal Syllabics Extended (0/70) (0/70) (0/70)
U+1900 Limbu (0/68) (0/68) (0/68)
U+1950 Tai Le (0/35) (0/35) (0/35)
U+1980 New Tai Lue (0/83) (0/83) (0/83)
U+19e0 Khmer Symbols (0/32) (0/32) (0/32)
U+1a00 Buginese (0/30) (0/30) (0/30)
U+1a20 Tai Tham (0/127) (0/127) (0/127)
U+1ab0 Combining Diacritical Marks Extended (0/15) (0/15) (0/15)
U+1b00 Balinese (0/121) (0/121) (0/121)
U+1b80 Sundanese (0/64) (0/64) (0/64)
U+1bc0 Batak (0/56) (0/56) (0/56)
U+1c00 Lepcha (0/74) (0/74) (0/74)
U+1c50 Ol Chiki (0/48) (0/48) (0/48)
U+1c80 Cyrillic Extended-C (0/9) (0/9) (0/9)
U+1cc0 Sundanese Supplement (0/8) (0/8) (0/8)
U+1cd0 Vedic Extensions (0/41) (0/41) (0/41)
U+1d00 Phonetic Extensions 82% (106/128) 89% (115/128) 48% (62/128)
U+1d80 Phonetic Extensions Supplement 59% (38/64) 59% (38/64) 57% (37/64)
U+1dc0 Combining Diacritical Marks Supplement 10% (6/59) 10% (6/59) (0/59)
U+1e00 Latin Extended Additional 98% (252/256) 98% (252/256) 71% (182/256)
U+1f00 Greek Extended 100% (233/233) 100% (233/233) 100% (233/233)
U+2000 General Punctuation 96% (107/111) 78% (87/111) 48% (54/111)
U+2070 Superscripts and Subscripts 100% (42/42) 100% (42/42) 100% (42/42)
U+20a0 Currency Symbols 83% (26/31) 32% (10/31) 83% (26/31)
U+20d0 Combining Diacritical Marks for Symbols 21% (7/33) (0/33) (0/33)
U+2100 Letterlike Symbols 93% (75/80) 42% (34/80) 22% (18/80)
U+2150 Number Forms 91% (55/60) 91% (55/60) 26% (16/60)
U+2190 Arrows 100% (112/112) 100% (112/112) 100% (112/112)
U+2200 Mathematical Operators 100% (256/256) 39% (101/256) 69% (178/256)
U+2300 Miscellaneous Technical 25% (65/255) 14% (36/255) 53% (136/255)
U+2400 Control Pictures 5% (2/39) 2% (1/39) 2% (1/39)
U+2440 Optical Character Recognition (0/11) (0/11) (0/11)
U+2460 Enclosed Alphanumerics 6% (10/160) (0/160) (0/160)
U+2500 Box Drawing 100% (128/128) 100% (128/128) 100% (128/128)
U+2580 Block Elements 100% (32/32) 100% (32/32) 100% (32/32)
U+25a0 Geometric Shapes 100% (96/96) 100% (96/96) 100% (96/96)
U+2600 Miscellaneous Symbols 73% (189/256) 11% (30/256) 58% (149/256)
U+2700 Dingbats 90% (174/192) 0% (1/192) 75% (144/192)
U+27c0 Miscellaneous Mathematical Symbols-A 18% (9/48) 10% (5/48) 22% (11/48)
U+27f0 Supplemental Arrows-A 100% (16/16) 100% (16/16) 18% (3/16)
U+2800 Braille Patterns 100% (256/256) 100% (256/256) (0/256)
U+2900 Supplemental Arrows-B 4% (6/128) 100% (128/128) (0/128)
U+2980 Miscellaneous Mathematical Symbols-B 10% (13/128) 0% (1/128) 5% (7/128)
U+2a00 Supplemental Mathematical Operators 28% (74/256) 2% (6/256) 1% (4/256)
U+2b00 Miscellaneous Symbols and Arrows 16% (35/206) 13% (27/206) 8% (18/206)
U+2c00 Glagolitic (0/94) (0/94) (0/94)
U+2c60 Latin Extended-C 96% (31/32) 84% (27/32) 43% (14/32)
U+2c80 Coptic (0/123) (0/123) (0/123)
U+2d00 Georgian Supplement 95% (38/40) 95% (38/40) (0/40)
U+2d30 Tifinagh 93% (55/59) (0/59) (0/59)
U+2d80 Ethiopic Extended (0/79) (0/79) (0/79)
U+2de0 Cyrillic Extended-A (0/32) (0/32) (0/32)
U+2e00 Supplemental Punctuation 10% (7/69) 10% (7/69) 10% (7/69)
U+2e80 CJK Radicals Supplement (0/115) (0/115) (0/115)
U+2f00 Kangxi Radicals (0/214) (0/214) (0/214)
U+2ff0 Ideographic Description Characters (0/12) (0/12) (0/12)
U+3000 CJK Symbols and Punctuation (0/64) (0/64) (0/64)
U+3040 Hiragana (0/93) (0/93) (0/93)
U+30a0 Katakana (0/96) (0/96) (0/96)
U+3100 Bopomofo (0/41) (0/41) (0/41)
U+3130 Hangul Compatibility Jamo (0/94) (0/94) (0/94)
U+3190 Kanbun (0/16) (0/16) (0/16)
U+31a0 Bopomofo Extended (0/27) (0/27) (0/27)
U+31c0 CJK Strokes (0/36) (0/36) (0/36)
U+31f0 Katakana Phonetic Extensions (0/16) (0/16) (0/16)
U+3200 Enclosed CJK Letters and Months (0/254) (0/254) (0/254)
U+3300 CJK Compatibility (0/256) (0/256) (0/256)
U+3400 CJK Unified Ideographs Extension A (0/0) (0/0) (0/0)
U+4dc0 Yijing Hexagram Symbols 100% (64/64) (0/64) (0/64)
U+4e00 CJK Unified Ideographs (0/0) (0/0) (0/0)
U+a000 Yi Syllables (0/1165) (0/1165) (0/1165)
U+a490 Yi Radicals (0/55) (0/55) (0/55)
U+a4d0 Lisu 100% (48/48) (0/48) (0/48)
U+a500 Vai (0/300) (0/300) (0/300)
U+a640 Cyrillic Extended-B 34% (33/96) 12% (12/96) (0/96)
U+a6a0 Bamum (0/88) (0/88) (0/88)
U+a700 Modifier Tone Letters 62% (20/32) 62% (20/32) 62% (20/32)
U+a720 Latin Extended-D 48% (77/160) 37% (60/160) 10% (17/160)
U+a800 Syloti Nagri (0/44) (0/44) (0/44)
U+a830 Common Indic Number Forms (0/10) (0/10) (0/10)
U+a840 Phags-pa (0/56) (0/56) (0/56)
U+a880 Saurashtra (0/82) (0/82) (0/82)
U+a8e0 Devanagari Extended (0/30) (0/30) (0/30)
U+a900 Kayah Li (0/48) (0/48) (0/48)
U+a930 Rejang (0/37) (0/37) (0/37)
U+a960 Hangul Jamo Extended-A (0/29) (0/29) (0/29)
U+a980 Javanese (0/91) (0/91) (0/91)
U+a9e0 Myanmar Extended-B (0/31) (0/31) (0/31)
U+aa00 Cham (0/83) (0/83) (0/83)
U+aa60 Myanmar Extended-A (0/32) (0/32) (0/32)
U+aa80 Tai Viet (0/72) (0/72) (0/72)
U+aae0 Meetei Mayek Extensions (0/23) (0/23) (0/23)
U+ab00 Ethiopic Extended-A (0/32) (0/32) (0/32)
U+ab30 Latin Extended-E (0/54) (0/54) (0/54)
U+ab70 Cherokee Supplement (0/80) (0/80) (0/80)
U+abc0 Meetei Mayek (0/56) (0/56) (0/56)
U+ac00 Hangul Syllables (0/0) (0/0) (0/0)
U+d7b0 Hangul Jamo Extended-B (0/72) (0/72) (0/72)
U+d800 High Surrogates (0/0) (0/0) (0/0)
U+db80 High Private Use Surrogates (0/0) (0/0) (0/0)
U+dc00 Low Surrogates (0/0) (0/0) (0/0)
U+e000 Private Use Area (0/0) (0/0) (0/0)
U+f900 CJK Compatibility Ideographs (0/472) (0/472) (0/472)
U+fb00 Alphabetic Presentation Forms 100% (58/58) 12% (7/58) 3% (2/58)
U+fb50 Arabic Presentation Forms-A 17% (108/611) (0/611) 11% (72/611)
U+fe00 Variation Selectors 100% (16/16) 100% (16/16) (0/16)
U+fe10 Vertical Forms (0/10) (0/10) (0/10)
U+fe20 Combining Half Marks 25% (4/16) (0/16) (0/16)
U+fe30 CJK Compatibility Forms (0/32) (0/32) (0/32)
U+fe50 Small Form Variants (0/26) (0/26) (0/26)
U+fe70 Arabic Presentation Forms-B 100% (141/141) (0/141) 100% (141/141)
U+ff00 Halfwidth and Fullwidth Forms (0/225) (0/225) (0/225)
U+fff0 Specials 100% (5/5) 100% (5/5) 100% (5/5)
U+10000 Linear B Syllabary (0/88) (0/88) (0/88)
U+10080 Linear B Ideograms (0/123) (0/123) (0/123)
U+10100 Aegean Numbers (0/57) (0/57) (0/57)
U+10140 Ancient Greek Numbers (0/79) (0/79) (0/79)
U+10190 Ancient Symbols (0/13) (0/13) (0/13)
U+101d0 Phaistos Disc (0/46) (0/46) (0/46)
U+10280 Lycian (0/29) (0/29) (0/29)
U+102a0 Carian (0/49) (0/49) (0/49)
U+102e0 Coptic Epact Numbers (0/28) (0/28) (0/28)
U+10300 Old Italic 97% (35/36) (0/36) (0/36)
U+10330 Gothic (0/27) (0/27) (0/27)
U+10350 Old Permic (0/43) (0/43) (0/43)
U+10380 Ugaritic (0/31) (0/31) (0/31)
U+103a0 Old Persian (0/50) (0/50) (0/50)
U+10400 Deseret (0/80) (0/80) (0/80)
U+10450 Shavian (0/48) (0/48) (0/48)
U+10480 Osmanya (0/40) (0/40) (0/40)
U+104b0 Osage (0/72) (0/72) (0/72)
U+10500 Elbasan (0/40) (0/40) (0/40)
U+10530 Caucasian Albanian (0/53) (0/53) (0/53)
U+10600 Linear A (0/341) (0/341) (0/341)
U+10800 Cypriot Syllabary (0/55) (0/55) (0/55)
U+10840 Imperial Aramaic (0/31) (0/31) (0/31)
U+10860 Palmyrene (0/32) (0/32) (0/32)
U+10880 Nabataean (0/40) (0/40) (0/40)
U+108e0 Hatran (0/26) (0/26) (0/26)
U+10900 Phoenician (0/29) (0/29) (0/29)
U+10920 Lydian (0/27) (0/27) (0/27)
U+10980 Meroitic Hieroglyphs (0/32) (0/32) (0/32)
U+109a0 Meroitic Cursive (0/90) (0/90) (0/90)
U+10a00 Kharoshthi (0/65) (0/65) (0/65)
U+10a60 Old South Arabian (0/32) (0/32) (0/32)
U+10a80 Old North Arabian (0/32) (0/32) (0/32)
U+10ac0 Manichaean (0/51) (0/51) (0/51)
U+10b00 Avestan (0/61) (0/61) (0/61)
U+10b40 Inscriptional Parthian (0/30) (0/30) (0/30)
U+10b60 Inscriptional Pahlavi (0/27) (0/27) (0/27)
U+10b80 Psalter Pahlavi (0/29) (0/29) (0/29)
U+10c00 Old Turkic (0/73) (0/73) (0/73)
U+10c80 Old Hungarian (0/108) (0/108) (0/108)
U+10e60 Rumi Numeral Symbols (0/31) (0/31) (0/31)
U+11000 Brahmi (0/109) (0/109) (0/109)
U+11080 Kaithi (0/66) (0/66) (0/66)
U+110d0 Sora Sompeng (0/35) (0/35) (0/35)
U+11100 Chakma (0/67) (0/67) (0/67)
U+11150 Mahajani (0/39) (0/39) (0/39)
U+11180 Sharada (0/94) (0/94) (0/94)
U+111e0 Sinhala Archaic Numbers (0/20) (0/20) (0/20)
U+11200 Khojki (0/62) (0/62) (0/62)
U+11280 Multani (0/38) (0/38) (0/38)
U+112b0 Khudawadi (0/69) (0/69) (0/69)
U+11300 Grantha (0/85) (0/85) (0/85)
U+11400 Newa (0/92) (0/92) (0/92)
U+11480 Tirhuta (0/82) (0/82) (0/82)
U+11580 Siddham (0/92) (0/92) (0/92)
U+11600 Modi (0/79) (0/79) (0/79)
U+11660 Mongolian Supplement (0/13) (0/13) (0/13)
U+11680 Takri (0/66) (0/66) (0/66)
U+11700 Ahom (0/57) (0/57) (0/57)
U+118a0 Warang Citi (0/84) (0/84) (0/84)
U+11ac0 Pau Cin Hau (0/57) (0/57) (0/57)
U+11c00 Bhaiksuki (0/97) (0/97) (0/97)
U+11c70 Marchen (0/68) (0/68) (0/68)
U+12000 Cuneiform (0/922) (0/922) (0/922)
U+12400 Cuneiform Numbers and Punctuation (0/116) (0/116) (0/116)
U+12480 Early Dynastic Cuneiform (0/196) (0/196) (0/196)
U+13000 Egyptian Hieroglyphs (0/1071) (0/1071) (0/1071)
U+14400 Anatolian Hieroglyphs (0/583) (0/583) (0/583)
U+16800 Bamum Supplement (0/569) (0/569) (0/569)
U+16a40 Mro (0/43) (0/43) (0/43)
U+16ad0 Bassa Vah (0/36) (0/36) (0/36)
U+16b00 Pahawh Hmong (0/127) (0/127) (0/127)
U+16f00 Miao (0/133) (0/133) (0/133)
U+16fe0 Ideographic Symbols and Punctuation (0/1) (0/1) (0/1)
U+17000 Tangut (0/0) (0/0) (0/0)
U+18800 Tangut Components (0/755) (0/755) (0/755)
U+1b000 Kana Supplement (0/2) (0/2) (0/2)
U+1bc00 Duployan (0/143) (0/143) (0/143)
U+1bca0 Shorthand Format Controls (0/4) (0/4) (0/4)
U+1d000 Byzantine Musical Symbols (0/246) (0/246) (0/246)
U+1d100 Musical Symbols (0/231) (0/231) (0/231)
U+1d200 Ancient Greek Musical Notation (0/70) (0/70) (0/70)
U+1d300 Tai Xuan Jing Symbols 100% (87/87) (0/87) (0/87)
U+1d360 Counting Rod Numerals (0/18) (0/18) (0/18)
U+1d400 Mathematical Alphanumeric Symbols 11% (117/996) 10% (108/996) 6% (63/996)
U+1d800 Sutton SignWriting (0/672) (0/672) (0/672)
U+1e000 Glagolitic Supplement (0/38) (0/38) (0/38)
U+1e800 Mende Kikakui (0/213) (0/213) (0/213)
U+1e900 Adlam (0/87) (0/87) (0/87)
U+1ee00 Arabic Mathematical Alphabetic Symbols 51% (74/143) (0/143) (0/143)
U+1f000 Mahjong Tiles (0/44) (0/44) (0/44)
U+1f030 Domino Tiles 100% (100/100) (0/100) (0/100)
U+1f0a0 Playing Cards 71% (59/82) (0/82) (0/82)
U+1f100 Enclosed Alphanumeric Supplement (0/191) (0/191) (0/191)
U+1f200 Enclosed Ideographic Supplement (0/58) (0/58) (0/58)
U+1f300 Miscellaneous Symbols and Pictographs 1% (12/768) (0/768) (0/768)
U+1f600 Emoticons 80% (64/80) (0/80) (0/80)
U+1f650 Ornamental Dingbats (0/48) (0/48) (0/48)
U+1f680 Transport and Map Symbols (0/103) (0/103) (0/103)
U+1f700 Alchemical Symbols (0/116) (0/116) (0/116)
U+1f780 Geometric Shapes Extended (0/85) (0/85) (0/85)
U+1f800 Supplemental Arrows-C (0/148) (0/148) (0/148)
U+1f900 Supplemental Symbols and Pictographs (0/82) (0/82) (0/82)
U+20000 CJK Unified Ideographs Extension B (0/0) (0/0) (0/0)
U+2a700 CJK Unified Ideographs Extension C (0/0) (0/0) (0/0)
U+2b740 CJK Unified Ideographs Extension D (0/0) (0/0) (0/0)
U+2b820 CJK Unified Ideographs Extension E (0/0) (0/0) (0/0)
U+2f800 CJK Compatibility Ideographs Supplement (0/542) (0/542) (0/542)
U+e0000 Tags (0/98) (0/98) (0/98)
U+e0100 Variation Selectors Supplement (0/240) (0/240) (0/240)
U+f0000 Supplementary Private Use Area-A (0/0) (0/0) (0/0)
U+100000 Supplementary Private Use Area-B (0/0) (0/0) (0/0)

1
hardware/arduino/Plant_Monitor/extern/image2cpp vendored

@ -1 +0,0 @@
Subproject commit d316261abf4c17e7e8061042bba1aa50970d28b3

86
hardware/arduino/Plant_Monitor/extern/lipo_fuelgauge-v10/defs.h vendored

@ -1,86 +0,0 @@
/*! \file avrlibdefs.h \brief AVRlib global defines and macros. */
//*****************************************************************************
//
// File Name : 'avrlibdefs.h'
// Title : AVRlib global defines and macros include file
// Author : Pascal Stang
// Created : 7/12/2001
// Revised : 9/30/2002
// Version : 1.1
// Target MCU : Atmel AVR series
// Editor Tabs : 4
//
// Description : This include file is designed to contain items useful to all
// code files and projects, regardless of specific implementation.
//
// This code is distributed under the GNU Public License
// which can be found at http://www.gnu.org/licenses/gpl.txt
//
//*****************************************************************************
#ifndef AVRLIBDEFS_H
#define AVRLIBDEFS_H
//#define F_CPU 4000000
#define MEM_TYPE 1
// Code compatibility to new AVR-libc
// outb(), inb(), inw(), outw(), BV(), sbi(), cbi(), sei(), cli()
#ifndef outb
#define outb(addr, data) addr = (data)
#endif
#ifndef inb
#define inb(addr) (addr)
#endif
#ifndef outw
#define outw(addr, data) addr = (data)
#endif
#ifndef inw
#define inw(addr) (addr)
#endif
#ifndef BV
#define BV(bit) (1<<(bit))
#endif
//#ifndef cbi
// #define cbi(reg,bit) reg &= ~(BV(bit))
//#endif
//#ifndef sbi
// #define sbi(reg,bit) reg |= (BV(bit))
//#endif
#ifndef cli
#define cli() __asm__ __volatile__ ("cli" ::)
#endif
#ifndef sei
#define sei() __asm__ __volatile__ ("sei" ::)
#endif
// support for individual port pin naming in the mega128
// see port128.h for details
#ifdef __AVR_ATmega128__
// not currently necessary due to inclusion
// of these defines in newest AVR-GCC
// do a quick test to see if include is needed
#ifndef PD0
//#include "port128.h"
#endif
#endif
// use this for packed structures
// (this is seldom necessary on an 8-bit architecture like AVR,
// but can assist in code portability to AVR)
#define GNUC_PACKED __attribute__((packed))
// port address helpers
#define DDR(x) ((x)-1) // address of data direction register of port x
#define PIN(x) ((x)-2) // address of input register of port x
// MIN/MAX/ABS macros
#define MIN(a,b) ((a<b)?(a):(b))
#define MAX(a,b) ((a>b)?(a):(b))
#define ABS(x) ((x>0)?(x):(-x))
// constants
#define PI 3.14159265359
#endif

175
hardware/arduino/Plant_Monitor/extern/lipo_fuelgauge-v10/i2c.h vendored

@ -1,175 +0,0 @@
// This library provides the high-level functions needed to use the I2C
// serial interface supported by the hardware of several AVR processors.
#include <avr/io.h>
#include <avr/interrupt.h>
#include "types.h"
#include "defs.h"
// TWSR values (not bits)
// (taken from avr-libc twi.h - thank you Marek Michalkiewicz)
// Master
#define TW_START 0x08
#define TW_REP_START 0x10
// Master Transmitter
#define TW_MT_SLA_ACK 0x18
#define TW_MT_SLA_NACK 0x20
#define TW_MT_DATA_ACK 0x28
#define TW_MT_DATA_NACK 0x30
#define TW_MT_ARB_LOST 0x38
// Master Receiver
#define TW_MR_ARB_LOST 0x38
#define TW_MR_SLA_ACK 0x40
#define TW_MR_SLA_NACK 0x48
#define TW_MR_DATA_ACK 0x50
#define TW_MR_DATA_NACK 0x58
// Slave Transmitter
#define TW_ST_SLA_ACK 0xA8
#define TW_ST_ARB_LOST_SLA_ACK 0xB0
#define TW_ST_DATA_ACK 0xB8
#define TW_ST_DATA_NACK 0xC0
#define TW_ST_LAST_DATA 0xC8
// Slave Receiver
#define TW_SR_SLA_ACK 0x60
#define TW_SR_ARB_LOST_SLA_ACK 0x68
#define TW_SR_GCALL_ACK 0x70
#define TW_SR_ARB_LOST_GCALL_ACK 0x78
#define TW_SR_DATA_ACK 0x80
#define TW_SR_DATA_NACK 0x88
#define TW_SR_GCALL_DATA_ACK 0x90
#define TW_SR_GCALL_DATA_NACK 0x98
#define TW_SR_STOP 0xA0
// Misc
#define TW_NO_INFO 0xF8
#define TW_BUS_ERROR 0x00
// defines and constants
#define TWCR_CMD_MASK 0x0F
#define TWSR_STATUS_MASK 0xF8
// return values
#define I2C_OK 0x00
#define I2C_ERROR_NODEV 0x01
#define WRITE_sda() DDRC = DDRC | 0b00010000 //SDA must be output when writing
#define READ_sda() DDRC = DDRC & 0b11101111 //SDA must be input when reading - don't forget the resistor on SDA!!
#define sbi(var, mask) ((var) |= (uint8_t)(1 << mask))
#define cbi(var, mask) ((var) &= (uint8_t)~(1 << mask))
// functions
//! Initialize I2C (TWI) interface
void i2cInit(void);
//! Set the I2C transaction bitrate (in KHz)
void i2cSetBitrate(unsigned short bitrateKHz);
// Low-level I2C transaction commands
//! Send an I2C start condition in Master mode
void i2cSendStart(void);
//! Send an I2C stop condition in Master mode
void i2cSendStop(void);
//! Wait for current I2C operation to complete
void i2cWaitForComplete(void);
//! Send an (address|R/W) combination or a data byte over I2C
void i2cSendByte(unsigned char data);
//! Receive a data byte over I2C
// ackFlag = TRUE if recevied data should be ACK'ed
// ackFlag = FALSE if recevied data should be NACK'ed
void i2cReceiveByte(unsigned char ackFlag);
//! Pick up the data that was received with i2cReceiveByte()
unsigned char i2cGetReceivedByte(void);
//! Get current I2c bus status from TWSR
unsigned char i2cGetStatus(void);
// high-level I2C transaction commands
//! send I2C data to a device on the bus (non-interrupt based)
unsigned char i2cMasterSendNI(unsigned char deviceAddr, unsigned char length, unsigned char* data);
//! receive I2C data from a device on the bus (non-interrupt based)
unsigned char i2cMasterReceiveNI(unsigned char deviceAddr, unsigned char length, unsigned char *data);
/*********************
****I2C Functions****
*********************/
void i2cInit(void)
{
// set i2c bit rate to 40KHz
i2cSetBitrate(100);
// enable TWI (two-wire interface)
sbi(TWCR, TWEN);
}
void i2cSetBitrate(unsigned short bitrateKHz)
{
unsigned char bitrate_div;
cbi(TWSR, TWPS0);
cbi(TWSR, TWPS1);
// calculate bitrate division
bitrate_div = ((F_CPU/4000l)/bitrateKHz);
if(bitrate_div >= 16)
bitrate_div = (bitrate_div-16)/2;
outb(TWBR, bitrate_div);
}
void i2cSendStart(void)
{
WRITE_sda();
// send start condition
TWCR = (1<<TWINT)|(1<<TWSTA)|(1<<TWEN);
}
void i2cSendStop(void)
{
// transmit stop condition
TWCR = (1<<TWINT)|(1<<TWEN)|(1<<TWSTO);
}
void i2cWaitForComplete(void)
{
int i = 0; //time out variable
// wait for i2c interface to complete operation
while ((!(TWCR & (1<<TWINT))) && (i < 90))
i++;
}
void i2cSendByte(unsigned char data)
{
WRITE_sda();
// save data to the TWDR
TWDR = data;
// begin send
TWCR = (1<<TWINT)|(1<<TWEN);
}
void i2cReceiveByte(unsigned char ackFlag)
{
// begin receive over i2c
if( ackFlag )
{
// ackFlag = TRUE: ACK the recevied data
outb(TWCR, (inb(TWCR)&TWCR_CMD_MASK)|BV(TWINT)|BV(TWEA));
}
else
{
// ackFlag = FALSE: NACK the recevied data
outb(TWCR, (inb(TWCR)&TWCR_CMD_MASK)|BV(TWINT));
}
}
unsigned char i2cGetReceivedByte(void)
{
// retieve received data byte from i2c TWDR
return( inb(TWDR) );
}
unsigned char i2cGetStatus(void)
{
// retieve current i2c status from i2c TWSR
return( inb(TWSR) );
}

359
hardware/arduino/Plant_Monitor/extern/lipo_fuelgauge-v10/main.c vendored

@ -1,359 +0,0 @@
/*
6-22-11
Aaron Weiss
aaron at sparkfun dot com
OSHW 1.0 License, http://freedomdefined.org/OSHW
LiPo Fuel Gauge Example Code
Uses the MAX17043
ATmega328@3.3V w/ external 8MHz resonator
HF: 0xDA, LF: 0xFF, EF: 0xF8
PIN CONNECTIONS:
VCC - No connect or connect to system power
GND - GND
SDA - PC4
SCL - PC5
ALT - PD2
QST - GND or a hardware reset pin
Default Baud Rate: 9600bps 8N1
Firmware: v10
Hardware: v10
Usage: Displays the raw A/D value in mV and percentage of
charge every second
*/
#include <stdlib.h>
#include <stdio.h>
#include <avr/io.h>
#include <avr/pgmspace.h>
#include <avr/interrupt.h>
#include "types.h"
#include "defs.h"
#include "i2c.h"
#define FOSC 8000000
#define BAUD 9600
#define sbi(var, mask) ((var) |= (uint8_t)(1 << mask))
#define cbi(var, mask) ((var) &= (uint8_t)~(1 << mask))
#define STATUS_LED 5
///===========Main Prototypes=============================///////////////////////
void config(void);
void power_on_reset(void);
long read_ad(void);
long read_config(void);
void read_percent(void);
void quick_start_reset(void);
/////=====================================================///////////////////////
///============Initialize Prototypes=====================///////////////////////
void ioinit(void); // initializes IO
void UART_Init(unsigned int ubrr);
static int uart_putchar(char c, FILE *stream);
uint8_t uart_getchar(void);
static FILE mystdout = FDEV_SETUP_STREAM(uart_putchar, NULL, _FDEV_SETUP_WRITE);
void delay(uint16_t x); // general purpose delay
/////===================================================////////////////////////
///============I2C Prototypes=============//////////////////
void i2cSendStart(void);
void i2cSendStop(void);
void i2cWaitForComplete(void);
void i2cSendByte(unsigned char data);
void i2cInit(void);
void i2cHz(long uP_F, long scl_F);
///===========Global Vars=============================//////////////////////////
volatile long i=0; //counts per second
volatile double percent_decimal;
/////===================================================////////////////////////
//=========MAIN================/////////////////////////////////////////////////
ISR (INT0_vect)
{
//when charge drops below 32% turn on status LED
sbi(PORTB, STATUS_LED);
}
ISR(TIMER1_OVF_vect)
{
//one second timer, prints values every second
TCNT1 = 34286;
//printf("config=%5ld, ", read_config());
printf("a/d=%5ld, ", read_ad());
read_percent();
}
int main(void)
{
ioinit(); //Setup IO pins and defaults
power_on_reset(); // reset MAX module upon MCU reset
config();
while(1)
{
//put your additional code here
}
return (0);
}
void config(void)
{
/////////write config register///////////////
i2cSendStart();
i2cWaitForComplete();
i2cSendByte(0x6C); //write MAX
i2cWaitForComplete();
i2cSendByte(0x0C); //mode register
i2cWaitForComplete();
i2cSendByte(0x97);
i2cWaitForComplete();
i2cSendByte(0x00); //set alert to 32%
i2cWaitForComplete();
i2cSendStop();
i2cSendStart();
}
void power_on_reset(void)
{
/////////write command register to reset///////////////
i2cSendStart();
i2cWaitForComplete();
i2cSendByte(0x6C); //write MAX
i2cWaitForComplete();
i2cSendByte(0xFE); //mode register
i2cWaitForComplete();
i2cSendByte(0x54);
i2cWaitForComplete();
i2cSendByte(0x00);
i2cWaitForComplete();
i2cSendStop();
i2cSendStart();
}
long read_ad(void)
{
//0x6C write, 0x6D read
uint16_t xm, xl;
long temp, xo;
i2cSendStart();
i2cWaitForComplete();
i2cSendByte(0x6C); //write MAX
i2cWaitForComplete();
i2cSendByte(0x02); //mode register
i2cWaitForComplete();
i2cSendStop();
i2cSendStart();
i2cWaitForComplete();
i2cSendByte(0x6D); //read from MAX
i2cWaitForComplete();
i2cReceiveByte(TRUE);
i2cWaitForComplete();
xm = i2cGetReceivedByte(); //high byte
i2cWaitForComplete();
i2cReceiveByte(TRUE);
i2cWaitForComplete();
xl = i2cGetReceivedByte(); //high byte
i2cWaitForComplete();
i2cReceiveByte(TRUE);
i2cSendStop();
i2cSendStart();
temp = ((xl|(xm << 8)) >> 4);
xo = 1.25* temp;
//returns A/D value in mV
return xo;
}
long read_config(void)
{
///should read 38656 or 0x9700 before alert
///should read 38752 or 0x9760 after alert
//0x6C write, 0x6D read
uint16_t xm, xl;
long xo;
//////////read command register/////////////
i2cSendStart();
i2cWaitForComplete();
i2cSendByte(0x6C); //write MAX
i2cWaitForComplete();
i2cSendByte(0x0C); //mode register
i2cWaitForComplete();
i2cSendStop();
i2cSendStart();
i2cWaitForComplete();
i2cSendByte(0x6D); //read from MAX
i2cWaitForComplete();
i2cReceiveByte(TRUE);
i2cWaitForComplete();
xm = i2cGetReceivedByte(); //high byte
i2cWaitForComplete();
i2cReceiveByte(TRUE);
i2cWaitForComplete();
xl = i2cGetReceivedByte(); //high byte
i2cWaitForComplete();
i2cReceiveByte(TRUE);
i2cSendStop();
i2cSendStart();
xo = xl|(xm << 8);
return xo;
}
void read_percent(void)
{
//0x6C write, 0x6D read
uint8_t xm, xl;
//uint8_t xmh, xml, xlh, xll;
//long xo;
i2cSendStart();
i2cWaitForComplete();
i2cSendByte(0x6C); //write MAX
i2cWaitForComplete();
i2cSendByte(0x04); //SOC register
i2cWaitForComplete();
i2cSendStop();
i2cSendStart();
i2cWaitForComplete();
i2cSendByte(0x6D); //read from MAX
i2cWaitForComplete();
i2cReceiveByte(TRUE);
i2cWaitForComplete();
xm = i2cGetReceivedByte(); //high byte
i2cWaitForComplete();
i2cReceiveByte(TRUE);
i2cWaitForComplete();
xl = i2cGetReceivedByte(); //high byte