I have an L475 Discovery IoT node, I want to collect sensor data from the board and save it in a text file in my laptop which is USB connected to the board. I have tried Fprint and fwrite but it doesn't seem to work.
fp=fopen("Issamos.csv","w+"); /* Infinite loop */ /* USER CODE BEGIN WHILE */ while (1) { /* USER CODE END WHILE */ /* USER CODE BEGIN 3 */ temp_value = BSP_TSENSOR_ReadTemp(); int tmpInt1 = temp_value; float tmpFrac = temp_val...