Updated README
This commit is contained in:
parent
73f16fa18b
commit
9770d27541
22
LICENSE
Normal file
22
LICENSE
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2024 Veles Labs s.r.o.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
@ -10,3 +10,8 @@ Library for the Lite-On Optical Sensor LTR-329ALS-01.
|
|||||||
* Project Properties -> C/C++ Build -> Settings -> MCU GCC Compiler -> Incude Paths -> Add... (+ icon)
|
* Project Properties -> C/C++ Build -> Settings -> MCU GCC Compiler -> Incude Paths -> Add... (+ icon)
|
||||||
* Project Properties -> C/C++ General -> Paths and Symbols -> Includes -> Add... -> Workspace...
|
* Project Properties -> C/C++ General -> Paths and Symbols -> Includes -> Add... -> Workspace...
|
||||||
* Project Properties -> C/C++ General -> Paths and Symbols -> Source Location -> Add... -> Workspace...
|
* Project Properties -> C/C++ General -> Paths and Symbols -> Source Location -> Add... -> Workspace...
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
This project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.
|
||||||
|
|
||||||
|
21
ltr329.c
21
ltr329.c
@ -1,9 +1,24 @@
|
|||||||
/*
|
/*
|
||||||
* ltr329.c
|
* File: ltr329.c
|
||||||
|
* Description: Library for the Lite-On Optical Sensor LTR-329ALS-01
|
||||||
|
* Author: David Zaitlik
|
||||||
|
* Date: 2022-05-22
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Copyright (c) 2024 Veles Labs s.r.o.
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
*
|
*
|
||||||
* Created on: May 22, 2022
|
|
||||||
* Author: david
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ltr329.h"
|
#include "ltr329.h"
|
||||||
|
|
||||||
static int8_t ltr329_read_register (ltr329_cmd_t register_addr, uint8_t *register_data );
|
static int8_t ltr329_read_register (ltr329_cmd_t register_addr, uint8_t *register_data );
|
||||||
|
28
ltr329.h
28
ltr329.h
@ -1,8 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
* ltr329.h
|
* File: ltr329.h
|
||||||
|
* Description: Library for the Lite-On Optical Sensor LTR-329ALS-01
|
||||||
|
* Author: David Zaitlik
|
||||||
|
* Date: 2022-05-22
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Copyright (c) 2024 Veles Labs s.r.o.
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
*
|
*
|
||||||
* Created on: May 22, 2022
|
|
||||||
* Author: david
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INC_LTR329_H_
|
#ifndef INC_LTR329_H_
|
||||||
|
Loading…
Reference in New Issue
Block a user