How would hardware or sensor input work? Obviously nobody running around pushing buttons ;)
@beetlebox48583 ай бұрын
It depends on the specific hardware or sensor. Sometimes it is just as simple as connecting the microcontroller and sensor to the same breadboard. You can see an example in our STM32 demo where we use a I2C LED screen. All we do is just cycle the power and check the driver is responding properly before we write to the screen. In other cases, we have created more sophisticated setups where we use a seperate microcontroller to control a test kit with all the various sensors and hardware attached. The test kit and the device can then be synced together through CI. We do this setup if there are very specific test requirements like needing to know exactly how the system will respond if a sensor goes down.