MCUnew wrote on May 10, 2019:
What I need here is help developing some simple sample code which can read in sensor data (in this case, temperature data) from the STM32L4 Development Board and then send this to AWS IoT Core via the messaging protocol.
My team has been able to provision WiFi credentials to the board through the ‘aws_clientcredential.h’ file and send simple MQTT messages to the core. Our strategy thus far has been to modify the file ‘aws_hello_world.c’ file that’s provided in the a:FreeRTOS download package, as was done in this AWS training video [https://www.aws.training/learningobject/wbc?id=33191]. But nowhere can I find a simple tutorial that provides simple code for interacting with a sensor on the board–and to be honest, we aren’t exactly sure that editing the hello world script was the right thing to do either.
So what is the best way to go about doing this? Any help would be greatly appreciated.
Edited by: MCUnew on May 10, 2019 10:24 AM