Commit graph

42 commits

Author SHA1 Message Date
marcelbuesing
722e054f58
Actually set provided gas config, closes #3.
Failure to set the provided gas config lead to incorrect gas resistance values.
2018-06-05 23:45:26 +02:00
marcelbuesing
9701e85c39
Derive PartialEq for FieldDataCondition 2018-06-01 14:48:19 +02:00
marcelbuesing
ceed9e844b
Add example to crate documentation 2018-05-31 12:28:07 +02:00
marcelbuesing
833f892e6b
Rename Bme680_dev struct to Bme680 2018-05-31 12:13:36 +02:00
marcelbuesing
650db10d69
Reduce struct visibility where not required 2018-05-31 12:10:34 +02:00
marcelbuesing
ba7a1dd09f
Rename Bme680Error to Error 2018-05-31 11:46:46 +02:00
marcelbuesing
301cd55df4
Cleanup constants 2018-05-31 11:35:19 +02:00
marcelbuesing
3b84d4f6f3
Add documentation to settings and lib 2018-05-30 21:27:29 +02:00
marcelbuesing
336305d30d
Replace u8 with IIRFilterSize enum 2018-05-30 21:06:11 +02:00
marcelbuesing
44fc891b3e
Introduce SettingsBuilder 2018-05-30 08:28:48 +02:00
marcelbuesing
cce7d4c65c
Replace run_gas u8 with boolean 2018-05-28 19:56:57 +02:00
marcelbuesing
214eec18dd
Introduce enum for I2CAddress, regards #1 2018-05-27 22:20:23 +02:00
marcelbuesing
887ff00a30
Add missing Cargo manifest fields 2018-05-25 23:09:16 +02:00
marcelbuesing
39c432134c
Add crate description 2018-05-25 23:05:18 +02:00
marcelbuesing
02ea1e18c3
Replace InfoMsg struct in boundary check 2018-05-25 22:22:03 +02:00
marcelbuesing
acfa564e42
Extract to settings module 2018-05-25 21:29:39 +02:00
marcelbuesing
53d2fe8b5b
Remove std dependencies, make it no_std crate 2018-05-25 20:48:17 +02:00
marcelbuesing
d1fe4a972a
Replace heat_dur u32 with Duration 2018-05-24 22:02:23 +02:00
marcelbuesing
a8a7426888
Replace u8 with OversamplingSetting enum 2018-05-23 22:10:06 +02:00
marcelbuesing
b703479be4
Replace set sensor settings constants 2018-05-21 18:07:13 +02:00
marcelbuesing
4788c6c14e
Replace Vec with arrays where sensible 2018-05-21 16:55:25 +02:00
marcelbuesing
fc57f277c4
Add unit conversions 2018-05-21 16:26:14 +02:00
marcelbuesing
9df8c0b2c3
Turn readfield loop into for loop 2018-05-21 15:49:13 +02:00
marcelbuesing
6b6e19b975
Fix rewriting owerwriting buffer twice 2018-05-20 22:16:12 +02:00
marcelbuesing
2dd1b8f9ba
Fix read field return when InfoMsg empty 2018-05-19 19:06:27 +02:00
marcelbuesing
266c8b70ea
Fix i2c read bytes 2018-05-18 22:12:42 +02:00
marcelbuesing
a5f8310bf6
Return I2C error 2018-05-18 17:37:11 +02:00
marcelbuesing
287e673761
Remove TryFrom in order to build with stable 2018-05-18 15:26:35 +02:00
marcelbuesing
bccb2eac61
Add example and modify accordingly 2018-05-18 14:57:34 +02:00
marcelbuesing
e17260a5fc
Remove old files 2018-05-16 21:16:28 +02:00
marcelbuesing
c858e4de91
Fix multiple warnings 2018-05-16 20:57:29 +02:00
marcelbuesing
b6246b7290
Move boundary check 2018-05-16 20:24:52 +02:00
marcelbuesing
47bea13f34
No build errors 2018-05-16 19:07:32 +02:00
marcelbuesing
48589ef7f5
Next level 2018-05-16 18:09:07 +02:00
marcelbuesing
4aeba8ca66
Sett options 2018-05-16 17:53:17 +02:00
marcelbuesing
c54d2b8780
Fix set_regs 2018-05-15 21:49:21 +02:00
marcelbuesing
cc3a5ca508
Close, down to 15 build errors 2018-05-09 17:03:44 +02:00
marcelbuesing
ee146c6fc3
Progress 2018-04-21 17:21:50 +02:00
marcelbuesing
a2e0687cba
Proceed on translation 2018-04-19 22:42:49 +02:00
marcelbuesing
29913014f6
Start cleanin up translated c code 2018-04-18 23:14:42 +02:00
marcelbuesing
b213d691c6
Add missing device functions 2018-04-15 21:31:46 +02:00
marcelbuesing
6e85dee3e9
Initial bindings 2018-04-11 21:40:48 +02:00