Hello,
I have been looking for a library for a quadrature encoder for STM32 and found Encoder, which has a ton of downloads and seems like a really nice library but I am having issues getting it to work with BlackPill STM32 board.
I did filter the search for STSTM32 and the aforementioned library is the first one offered, so I was surprised when it didn’t work.
At first I thought the issue was that the author was claiming support of all platforms in library.properties
since in that file it is marked as "*"
, but then I found out that in library.json
he only claims support for atmelavr
and teensy
, yet the generated .library.json
file shows support for 11 platforms.
Is the library crawler using (what I assume is and Arduino library manifest file) library.properties
to generate the dot file instead of the provided library.json
?
Am I missing something about the search?
Thanks for help.
library.properties
name=Encoder
version=1.4.1
author=Paul Stoffregen
maintainer=Paul Stoffregen
sentence=Counts quadrature pulses from rotary & linear position encoders.
paragraph=Encoder counts pulses from quadrature encoded signals, which are commonly available from rotary knobs, motor or shaft sensors and other position sensors.
category=Signal Input/Output
url=http://www.pjrc.com/teensy/td_libs_Encoder.html
architectures=*
library.json
{
"name": "Encoder",
"keywords": "encoder, signal, pulse",
"description": "Encoder counts pulses from quadrature encoded signals, which are commonly available from rotary knobs, motor or shaft sensors and other position sensors",
"repository":
{
"type": "git",
"url": "https://github.com/PaulStoffregen/Encoder.git"
},
"frameworks": "arduino",
"platforms":
[
"atmelavr",
"teensy"
]
}
.library.json
{
"name": "Encoder",
"version": "1.4.1",
"keywords": [
"signal",
"input",
"output"
],
"description": "Counts quadrature pulses from rotary & linear position encoders.",
"frameworks": [
"arduino"
],
"platforms": [
"atmelavr",
"atmelsam",
"espressif32",
"espressif8266",
"intel_arc32",
"microchippic32",
"nordicnrf51",
"nordicnrf52",
"ststm32",
"teensy",
"timsp430"
],
"authors": [
{
"email": null,
"url": null,
"maintainer": true,
"name": "Paul Stoffregen"
}
],
"repository": {
"type": "git",
"url": "https://github.com/PaulStoffregen/Encoder"
},
"homepage": "http://www.pjrc.com/teensy/td_libs_Encoder.html",
"export": {
"include": null,
"exclude": [
"extras",
"docs",
"tests",
"test",
"*.doxyfile",
"*.pdf"
]
},
"id": 129
}