EasyManuals Logo

Arduino uno User Manual

Arduino uno
311 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #132 background imageLoading...
Page #132 background image
Figure 22The game controller communicates with a Chrome app.
Creating the Game
At this point you know enough about Chrome apps and controlling a motion-
sensing game controller to create an entertaining video game. Writing a video
game isnt directly related to programming the Arduino. Still, itll show you
some techniques you can use in other projects, and itll give you a much
better understanding of how the integration of hardware and software works.
Before you dive into the code, download it from the books website
2
and play
the game. Doing so will help you find your way through the code much easier.
When programming a browser game, you usually start with its HTML code.
In our case it looks like this:
BrowserGame/Arduinoid/main.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<link rel="stylesheet" type="text/css" href="css/arduinoid.css"/>
<title>Arduinoid</title>
2.
http://www.pragprog.com/titles/msard2
Chapter 7. Writing a Game for the Motion-Sensing Game Controller 114
report erratum discuss
www.it-ebooks.info

Table of Contents

Other manuals for Arduino uno

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Arduino uno and is the answer not in the manual?

Arduino uno Specifications

General IconGeneral
Form factorArduino
CertificationRoHS, FC, CE
Processor model-
Processor frequency- MHz
Microcontroller modelATmega328
Microcontroller frequency16 MHz
DC input voltage7-12 V
Operating voltage5 V
DC current per I/O pin40 mA
Flash memory0.032 MB
Maximum internal memory- GB
SRAM (Static Random Access Memory)2 KB
EEPROM (Electrically Erasable Programmable Read-Only Memory)1 KB
Wi-FiNo
Number of analog I/O pins6
Number of digital I/O pins14
Weight and Dimensions IconWeight and Dimensions
Board dimensions53.4 x 68.6 mm

Related product manuals