Dodo Geschrieben August 16, 2021 at 06:46 Geschrieben August 16, 2021 at 06:46 Hey guys, I'm using Voltage/Current Bricklet 2.0 in my project basic on Arduino....... So it is possible to connect with arduino. just ignore hardware connection, which Example should i look for to port into arduino platform!!! Thank you!!!! Zitieren
rtrbt Geschrieben August 16, 2021 at 07:07 Geschrieben August 16, 2021 at 07:07 Hi, This is indeed possible with the C/C++ bindings for microcontrollers. However those are not finished yet. You can find the latest beta here : Documentation is available here: https://www.tinkerforge.com/en/doc/Software/API_Bindings_uC.html and here for the Voltage/Current Bricklet 2.0: https://www.tinkerforge.com/en/doc/Software/Bricklets/VoltageCurrentV2_Bricklet_uC.html Links to the Bricklet-specific documentation are not generated yet, however you can use the documentation for the "normal" C bindings and then add a u before the last C like this: https://www.tinkerforge.com/en/doc/Software/Bricklets/AirQuality_Bricklet_C.html becomes https://www.tinkerforge.com/en/doc/Software/Bricklets/AirQuality_Bricklet_uC.html 1 Zitieren
Dodo Geschrieben September 2, 2021 at 12:18 Autor Geschrieben September 2, 2021 at 12:18 I'm trying use that library with the C/C++ bindings for microcontrollers in F429 plattform. i saw that code, it used two spi with code select, But i have only use one Bricklet, this is not necessary to use 2 spi? Can i just change the code with one SPI or ? but it seems like, so much changes in the code...... Zitieren
rtrbt Geschrieben September 2, 2021 at 13:40 Geschrieben September 2, 2021 at 13:40 You are using the STM32F0-HAL? It looks like the HAL only initializes the SPI peripherals that are configured to be used. So if you only use SPI0_INSTANCE or SPI1_INSTANCE in your port configuration, the other one should be left unmodified. Zitieren
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.