Dodo Posted August 16, 2021 at 06:46 AM Share Posted August 16, 2021 at 06:46 AM 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!!!! Quote Link to comment Share on other sites More sharing options...
rtrbt Posted August 16, 2021 at 07:07 AM Share Posted August 16, 2021 at 07:07 AM 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 Quote Link to comment Share on other sites More sharing options...
Dodo Posted September 2, 2021 at 12:18 PM Author Share Posted September 2, 2021 at 12:18 PM 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...... Quote Link to comment Share on other sites More sharing options...
rtrbt Posted September 2, 2021 at 01:40 PM Share Posted September 2, 2021 at 01:40 PM 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. Quote Link to comment Share on other sites More sharing options...
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.