Jump to content

Recommended Posts

Geschrieben

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!!!!

Geschrieben

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

  • 3 weeks later...
Geschrieben

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......

Geschrieben

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.

Gast
Reply to this topic...

×   Du hast formatierten Text eingefügt.   Formatierung jetzt entfernen

  Only 75 emoji are allowed.

×   Dein Link wurde automatisch eingebettet.   Einbetten rückgängig machen und als Link darstellen

×   Dein vorheriger Inhalt wurde wiederhergestellt.   Clear editor

×   Du kannst Bilder nicht direkt einfügen. Lade Bilder hoch oder lade sie von einer URL.

×
×
  • Neu erstellen...