August 16, 2021 at 06:46 AMAug 16, 2021 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!!!!
August 16, 2021 at 07:07 AMAug 16, 2021 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
September 2, 2021 at 12:18 PMSep 2, 2021 Author 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......
September 2, 2021 at 01:40 PMSep 2, 2021 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.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.