2:28 PM
@AdrianMaire Ah yes, I did use "Buffer" when I played with Arduino C++ UART, some 7 or 8 years ago. So when I saw your "std::array..." I surprisingly found that I have already forgotten the meaning of the symbol "::". I vaguely remember this "::" symbol is related to the "class inheritance" thing in OO programming. But for now I will only play with python and forget C++ altogether, at least for 2 or 3 years, I hope.
It seems that (1) the servo sends DTR signal (so are you jealous?), (2) UART speed range is 38.4kbd ~ 1000kbd, (I hope to use low speed of 38k4bs to see if the reading error drops. (3) 12 bit (4,096 resolution) magnetic position encoding (as I say, this is truly digital servo, while LX-224HY using analog potentiometer is fake digital.
2:59 PM
3:35 PM
"Ah yes, I did use "Buffer" when I played with Arduino C++ UART"
hmmm, it is a custom-defined type, I doubt you used the same "Buffer", but this is a quite generic name.
hmmm, it is a custom-defined type, I doubt you used the same "Buffer", but this is a quite generic name.
"::" has several meanings, usually to access static parameters. In this case, "std" is a namespace used for all the STL (standard library of C++). And "array" is one of the data-structure of it.
"LX-224HY using analog potentiometer is fake digital"
Seems amazing indeed!!
But don't mix AD converter resolution with precision: the potentiometer will probably wear faster than your magnetic hall sensor, but magnets are subject to external influence (e.g. put a magnet close to the servo). And you don't know the resolution of the potentiometer AD used in the Hiwonder.
Seems amazing indeed!!
But don't mix AD converter resolution with precision: the potentiometer will probably wear faster than your magnetic hall sensor, but magnets are subject to external influence (e.g. put a magnet close to the servo). And you don't know the resolution of the potentiometer AD used in the Hiwonder.
« first day (21 days earlier) ← previous day next day → last day (26 days later) »
Transcript for
Sep24
Sep '2025
Sep27
Discussion between tlfong01 and Adria…
Imported from a comment discussion on electronics.stackexchang...