Here is the code; /* USER CODE BEGIN WHILE */ while (1) { /* USER CODE END WHILE */ /* USER CODE BEGIN 3 */ HAL_GPIO_TogglePin(GPIOB, GPIO_PIN_0); // For F767ZI_Nucleo if (HAL_GPIO_ReadPin(GPIOC,GPIO_PIN_13) == 1) { HAL_Delay(3000); } else...
I have a board with HDC1080 Temp/Humidity sensor which has I2C. Following is the Digi-Key part number for 1286-1153-ND. I have this board working with both the Discovery cards. I can display temperature and humidity on the Tera-Term using serial port...
I tried to do following;Installed TouchGFX 4.12.3, CubeMX 5.4 and CubeIDE 1.1.0.Use any F7 Discovery board (No Nucleo board). I am using 32F746G-Disco and 32F769I-Disco.Start with CubeIDE1.1.0 and create a C++ project.Toggle (ON-OFF-ON) led LD1 ever...
I am using HAL_I2C_Master_Transmit and HAL_I2C_Master_Receive commands to read device ID of various sensors. I wrote a simple code to do that. It works for some sensors (e.g. MCP9800, HDC1080). But it doesn't work for some other sensors (e.g MLX9016...
Has anyone got CubeMX5.2/TouchGFX4.10.0/STCUBEIDE1.0 or SW4STM32 or TrueAtollic working properly with any Discovery board? I mean be able to build with no errors and run it on any Discovery board? I had it working with CubeMX4.xx/TouchGFX4.10.0/SW4S...
Hi Markus,I got IDE 1.6.1 to work today. All I did was change my delay from 1 sec to 2 sec and rebuild the project and load/run.LED started blinking, every 2 seconds. I also got the Timer project to work now.No further action is required from your en...
Hi Paul,Thank you very much for your recommendations.I got IDE 1.6.1 to work today. All I did was change my delay from 1 sec to 2 sec and rebuild the project and load/run.LED started blinking, every 2 seconds.Kiran
Hi Markus,In both 1.6.1 and 1.5.1, I create the project with default settings. I don't make any changes to .ioc file. When main.c is generated I add the above code in the while loop.Then I managed to compile the project without any warnings or errors...
Thanks, Martin.I did watch the video link you sent me. That did help.I managed to display now my I2C temperature sensor (MCP9800) on the Display.I viewed following two videos from embryonic.dk and they really explain how to do these tutorials.Watch ...
Hi HP,Please ignore my last email.I found the earlier video which explains how to create 2nd Task.I did those changes to my project and now my current value does changes.I think I am set for the time being. Next I will integrate my I2C sensors and se...