melexis / mlx90632-library

MLX90632 library for the Melexis 90632 Infra Red temperature sensor.
Apache License 2.0
42 stars 15 forks source link

zip file doesn't contain valid library? #43

Open saimazaidi08 opened 1 year ago

saimazaidi08 commented 1 year ago

I am trying to include this library in my Arduino IDE. but it shows the error stated above. Can someone please tell me what I'm doing wrong?

Letme commented 1 year ago

What zip file? How are you including it?

saimazaidi08 commented 1 year ago

I downloaded the code .zip file folder provided on https://github.com/melexis/mlx90632-library here. As we usually include the library in IDE, I went on the Sketch>include library>add .Zip library > selected mlx90632-library-master (name of the folder I just downloaded). and then IDE shows Specified folder/zip file does not contain a valid library

karelv commented 1 year ago

This repo is not an arduino compatible library(it is platform and MCU agnostic). (the ZIP is probably a github feature, not a file inside of this repo) Follow the manual at https://melexis.github.io/mlx90632-library/ And also you can be inspired by our Melexis I2C Stick project, especially to code the I2C routines. https://github.com/melexis/i2c-stick

https://github.com/melexis/i2c-stick/blob/main/i2c-stick-arduino/mlx90632_hal_arduino.cpp

Letme commented 1 year ago

It is not meant as Arduino library, but we could get Continuous Integration to output the requested zip structure described in https://docs.arduino.cc/learn/contributions/arduino-creating-library-guide

If someone is interested to pick it up.