Dodo Posted May 11, 2021 at 01:36 PM Share Posted May 11, 2021 at 01:36 PM 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. Quote Link to comment Share on other sites More sharing options...
photron Posted May 11, 2021 at 02:24 PM Share Posted May 11, 2021 at 02:24 PM 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. Quote Link to comment Share on other sites More sharing options...
Dodo Posted May 12, 2021 at 05:30 AM Author Share Posted May 12, 2021 at 05:30 AM achso, thank you so much!!!!!! 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.