Hello, First of all, I should start by saying that I have no experience with this topic and this is my first time doing it. I want to make a project that sends the voltage value read from the ADC to the phone via bluetooth. When I browsed the sample projects in the resource explorer section, I saw that the sample project made in the link I will add does the project I want to do. Link of the project is
When I wanted to do this example as NON-POSIX and using the development board's own ADC pin without using a booster pack, I realized that the best way would be to use task 4,5 and 6. Then I started to follow the steps. I imported the SimplePeripheral project. SimplePeripheral project's link is
I created the myThread.c file inside the application file and added the code to the myThread.c file as it said in step 3 of task 4. But I couldn't understand what was written in step 4 of task 4 and what I had to do.I added the code snippet given in the box to the beginning of the main.c file, as in the image I added, and extern void myThread_create(void); and when I add the extern void myThread_create(void); code snippet to the main() function as I have shown in the image, I get the errors in image. How can i solve this problem.
Another problem is that it is said that button0 should be pressed to measure the value in the ADC. When I examine the product's datasheet and development board, it is seen that there are only 2 buttons on the board. The naming of these buttons is given as button1 and button2. There is another button on the board, but it is called the reset button. Would changing the places that call button 0 to button1 in the piece of code we overwrite the myThread.c file solve this problem?
By the way, I am using LAUNCHXL-CC2640R2 development kit.
Regards