Zoran Roncevic
Published © GPL3+

Microsoft Azure IoT Kit - Hello World

"Hello World!" project for Microsoft Azure IoT Kit - MXChip 3166.

BeginnerProtip30 minutes1,786
Microsoft Azure IoT Kit - Hello World

Things used in this project

Hardware components

Microsoft MXChip AZ3166
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Code

mx_hello

C/C++
#include <OledDisplay.h>
void setup(){
    Screen.init();
}
void loop(){
    // print a string to the screen with wrapped = false
    Screen.print("MXChip AZ3166", false);
    delay(1000);
    // print a string to the screen with wrapped = true
    for(int i =0; i<=3; i++)
    {
        char buf[100];
        sprintf(buf, "Hello Hackster");
        Screen.print(i, buf);
    }
    delay(3000);
    // Clean up the screen
    Screen.clean();
    delay(1000);
}

Credits

Zoran Roncevic

Zoran Roncevic

19 projects • 128 followers
Hackster Live ambassador in Serbia. Organizer of Maker NS community.

Comments