Visitor II
April 19, 2023
Question
STM32F072B-DISCO Example code from manual results error (chapter 7.3.6) with with the "extern TSL_LinRot_T MyLinRots[];
- April 19, 2023
- 1 reply
- 2052 views
I'm using the STM32F072B-DISCO, trying to implement an example code for the touch sensing and followed the instructions of the "Getting Started with touch sensing Control on STM32 MCU". The code given in chapter 7.3.6 results in errors. see below
one other error I already removed, was one bracket too much at the end of the example code.
The given example code should be added between the User Code Begin 3 & End which in the main loop.
Shouldn't be the extern TSL_LinRot_T MyLinRots[]; outside of the loop? According to the manual, I only have to copy and insert this code and it should work without any edits.
edit:
added the main.c code
PS: I do not have a lot of programming experience