Jump to content

Recommended Posts

Geschrieben

Hello, I dowloaded some example files,but i couldn't find like 

#include "xmc_spi.h" #include "xmc_device.h"
#include "xmc_gpio.h"

what are kinds of files, where can i find them?

Thank you.

 

Geschrieben

I think you mistook the firmware source code of the Voltage/Current Bricklet 2.0 as example code.

I assume you don't want to modify the firmware of the Bricklet, but you want to use the Bricklet as is.

You can find the C/C++ examples for the Voltage/Current Bricklet 2.0 here as part of the API documentation:

https://www.tinkerforge.com/en/doc/Software/Bricklets/VoltageCurrentV2_Bricklet_C.html

or here on GitHub:

https://github.com/Tinkerforge/voltage-current-v2-bricklet/tree/master/software/examples/c

You'll need the C/C++ API bindings to compile the examples:

https://download.tinkerforge.com/bindings/c/tinkerforge_c_bindings_2_1_32.zip

The ZIP also contains the C/C++ examples for the Voltage/Current Bricklet 2.0 at examples/bricklet/voltage_current_v2.

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