After you import libraries, you use the Extern Definition block to set up the #include, #define, and instantiation declarations from the Arduino example sketch and the Extern Function block to integrate a setup loop in the diagram.