Dodo Geschrieben May 11, 2021 at 13:36 Share Geschrieben May 11, 2021 at 13:36 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. Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
photron Geschrieben May 11, 2021 at 14:24 Share Geschrieben May 11, 2021 at 14:24 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. Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
Dodo Geschrieben May 12, 2021 at 05:30 Autor Share Geschrieben May 12, 2021 at 05:30 achso, thank you so much!!!!!! Zitieren Link zu diesem Kommentar 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.