Building Arduino Projects for the Internet of Things

(Steven Felgate) #1

CHAPTER 6 ■ IOT PATTERNS: REMOTE CONTROL


Figure  6-17 shows the dialog box that will be presented when you paste the
MQTT library.


Figure 6-17. Import MQTT library


Figure 6-18. Add imported files as libraries


As shown in Figure  6-18 , right-click on the newly added library and click on the Add
As Library option.


As shown in Figure  6-19 , select App from the Add to Module option. Click OK and
switch back to Android view.


Figure 6-19. Add libraries to the app module

Free download pdf