Jump to content

Recommended Posts

Posted

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.

 

Posted

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...