Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Getting started with Udoo
  • Table Of Contents Toc
  • Feedback & Rating feedback
Getting started with Udoo

Getting started with Udoo

By : Emanuele Palazzetti
4.8 (4)
close
close
Getting started with Udoo

Getting started with Udoo

4.8 (4)
By: Emanuele Palazzetti

Overview of this book

If you are an Android developer who wants to learn how to use UDOO to build Android applications that are capable of interacting with their surrounding environment, then this book is ideal for you. Learning UDOO is the next great step to start building your first real-world prototypes powered by the Android operating system.
Table of Contents (10 chapters)
close
close
9
Index

Developing a diagnostic mode

With a working prototype, it's time to add a functionality that we can use to test our circuit. Even if we are tempted to put our hands on code, we need first to simulate a physical damage that causes a fault in the prototype. Because we don't want to really damage one of our LEDs, we can always alter the circuit components to reproduce an anomaly.

Indeed, we can simulate that the resistor connected to pin 3 has a broken leg. If this occurs, the circuit is interrupted and this prevents the current from flowing through the LED. To reproduce this problem in our breadboard, we can simply remove the first resistor, as we can see in the following schema:

Developing a diagnostic mode

Now we have simulated our first hardware fault. If we open the Android application and use the on/off switches, we can see that the second LED works as expected while the first one stops working. However, none of the software components notice anything because they are agnostic to what happens under the hood...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY