Compare commits
21 Commits
553f7275d7
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
2130971def
|
|||
|
9e43c2b3b4
|
|||
|
dd52c93675
|
|||
|
90b6e93e41
|
|||
|
5b43ce94b6
|
|||
|
dd9301b14e
|
|||
|
a856e1c96b
|
|||
|
6250b49538
|
|||
|
670a8a3c86
|
|||
|
3f327b1c3d
|
|||
|
9a653b6d6e
|
|||
|
5be5ee4ebb
|
|||
|
1818f87031
|
|||
|
d735f2f30c
|
|||
|
553e97941d
|
|||
|
6bc6966fcd
|
|||
|
e2f3ea4491
|
|||
|
13545cda11
|
|||
|
1b30d7b210
|
|||
|
6b1e7fe248
|
|||
|
13db0d4c3b
|
672
LICENSE.md
Normal file
672
LICENSE.md
Normal file
@@ -0,0 +1,672 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type YYshow c' for details.
|
||||
|
||||
The hypothetical commands Yshow c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||
48
README.org
Normal file
48
README.org
Normal file
@@ -0,0 +1,48 @@
|
||||
* Arduino Course
|
||||
|
||||
Code from Universidad de Granada's Arduino Course.
|
||||
|
||||
** Usage
|
||||
|
||||
If you want to use arduino-cli instead of the official Arduino IDE, you can use compile.sh to compile and upload the Sketch to the board.
|
||||
|
||||
For example:
|
||||
|
||||
#+BEGIN_SRC sh
|
||||
arduino-cli sketch new Test
|
||||
./compile.sh Test
|
||||
#+END_SRC
|
||||
|
||||
If you want to see the output of the Serial port, you have to identify the device:
|
||||
|
||||
#+BEGIN_SRC sh
|
||||
arduino-cli board list
|
||||
#+END_SRC
|
||||
|
||||
Then you can see the output of the device, let's assume that the device is /dev/ttyACM0:
|
||||
|
||||
#+BEGIN_SRC sh
|
||||
cat /dev/ttyACM0
|
||||
#+END_SRC
|
||||
|
||||
If you get a /Permission denied/, you have to add your user to the group of the serial port (in this case /dev/ttyACM0).
|
||||
|
||||
To check the group of the device:
|
||||
|
||||
#+BEGIN_SRC sh
|
||||
ls -la /dev/ttyACM0
|
||||
#+END_SRC
|
||||
|
||||
Then add your user to the group (in this case the group is dialout and the user is user)
|
||||
|
||||
#+BEGIN_SRC sh
|
||||
sudo usermod -aG dialout user
|
||||
#+END_SRC
|
||||
|
||||
*** NodeMCU
|
||||
|
||||
During the *Week 4*, we used the NodeMCU instead of the Arduino Uno, in this case to compile and upload the sketch (in this case we'll use the sketch Test):
|
||||
|
||||
#+BEGIN_SRC sh
|
||||
./compile_mcu.sh Test
|
||||
#+END_SRC
|
||||
BIN
Week 3/IC2 id/IC2 id.arduino.avr.uno.elf
Executable file
BIN
Week 3/IC2 id/IC2 id.arduino.avr.uno.elf
Executable file
Binary file not shown.
228
Week 3/IC2 id/IC2 id.arduino.avr.uno.hex
Normal file
228
Week 3/IC2 id/IC2 id.arduino.avr.uno.hex
Normal file
@@ -0,0 +1,228 @@
|
||||
:100000000C9458000C9480000C9480000C94800098
|
||||
:100010000C9480000C9480000C9480000C94800060
|
||||
:100020000C9480000C9480000C9480000C94800050
|
||||
:100030000C9480000C9480000C9480000C94800040
|
||||
:100040000C946E030C9480000C943C030C941603E7
|
||||
:100050000C9480000C9480000C9480000C94800020
|
||||
:100060000C94B8030C9480000000000025002800C8
|
||||
:100070002B00040404040404040402020202020229
|
||||
:10008000030303030303010204081020408001025C
|
||||
:1000900004081020010204081020000000080002DB
|
||||
:1000A0000100000304070000000000000000D70466
|
||||
:1000B00011241FBECFEFD8E0DEBFCDBF11E0A0E01E
|
||||
:1000C000B1E0EAE8FDE002C005900D92AE39B1075B
|
||||
:1000D000D9F723E0AEE9B1E001C01D92A430B20728
|
||||
:1000E000E1F710E0C8E5D0E004C02197FE010E94CE
|
||||
:1000F000BD06C735D107C9F70E9410050C94C30689
|
||||
:100100000C94000090E0FC01E656FF4F2491FC01A6
|
||||
:10011000EA57FF4F3491FC01EE58FF4FE491EE2374
|
||||
:10012000B1F0222339F02330E9F090F4213001F1CD
|
||||
:10013000223011F1F0E0EE0FFF1FE859FF4FA591BB
|
||||
:10014000B4918FB7F894EC913E2B3C938FBF0895F8
|
||||
:100150002730A9F02830C9F0243061F78091800061
|
||||
:100160008F7D03C0809180008F7780938000E2CFE5
|
||||
:1001700084B58F7784BDDECF84B58F7DFBCF809132
|
||||
:10018000B0008F778093B000D5CF8091B0008F7D85
|
||||
:10019000F9CF08950895AF92BF92CF92DF92EF9278
|
||||
:1001A000FF920F931F93CF93DF936C017B018B0121
|
||||
:1001B000040F151FEB015E01AE18BF08C017D10771
|
||||
:1001C00059F06991D601ED91FC910190F081E02DFB
|
||||
:1001D000C6010995892B79F7C501DF91CF911F9150
|
||||
:1001E0000F91FF90EF90DF90CF90BF90AF90089568
|
||||
:1001F000FC01538D448D252F30E0842F90E0821B2D
|
||||
:10020000930B541710F0CF96089501970895FC01B1
|
||||
:10021000918D828D981761F0A28DAE0FBF2FB11D09
|
||||
:100220005D968C91928D9F5F9F73928F90E0089561
|
||||
:100230008FEF9FEF0895FC01918D828D981731F01B
|
||||
:10024000828DE80FF11D858D90E008958FEF9FEF6F
|
||||
:100250000895FC01918D228D892F90E0805C9F4F45
|
||||
:10026000821B91098F73992708958BE592E00E9474
|
||||
:10027000290121E0892B09F420E0822F089580E0F4
|
||||
:1002800090E0892B29F00E94350181110C94000027
|
||||
:100290000895FC01A48DA80FB92FB11DA35ABF4F1B
|
||||
:1002A0002C91848D90E001968F739927848FA68975
|
||||
:1002B000B7892C93A089B1898C91837080648C93C9
|
||||
:1002C000938D848D981306C00288F389E02D808178
|
||||
:1002D0008F7D80830895EF92FF920F931F93CF93AA
|
||||
:1002E000DF93EC0181E0888F9B8D8C8D98131AC071
|
||||
:1002F000E889F989808185FF15C09FB7F894EE8958
|
||||
:10030000FF896083E889F9898081837080648083B4
|
||||
:100310009FBF81E090E0DF91CF911F910F91FF90FF
|
||||
:10032000EF900895F62E0B8D10E00F5F1F4F0F73A7
|
||||
:100330001127E02E8C8D8E110CC00FB607FCFACF62
|
||||
:10034000E889F989808185FFF5CFCE010E944901B6
|
||||
:10035000F1CFEB8DEC0FFD2FF11DE35AFF4FF08233
|
||||
:100360009FB7F8940B8FEA89FB8980818062CFCF99
|
||||
:10037000CF93DF93EC01888D8823B9F0AA89BB89DC
|
||||
:10038000E889F9898C9185FD03C0808186FD0DC0C7
|
||||
:100390000FB607FCF7CF8C9185FFF2CF808185FFE8
|
||||
:1003A000EDCFCE010E944901E9CFDF91CF910895B1
|
||||
:1003B0003FB7F8948091060290910702A09108023D
|
||||
:1003C000B091090226B5A89B05C02F3F19F00196F0
|
||||
:1003D000A11DB11D3FBFBA2FA92F982F8827BC019F
|
||||
:1003E000CD01620F711D811D911D42E0660F771FC7
|
||||
:1003F000881F991F4A95D1F7089585ED8093BC0019
|
||||
:100400008091BC0084FDFCCF1092360208952091AB
|
||||
:10041000DE01260F3327331F21323105ECF4209102
|
||||
:100420003602FC0190E080E0243069F082E008951B
|
||||
:10043000A091DE012191AC0142545E4FA40FB52F73
|
||||
:10044000B11D2C930196861798F38091DE01680FF9
|
||||
:100450006093DE0180E0089581E008950895E091C1
|
||||
:100460000F0280910E02E81730F4F0E0E256FE4FE2
|
||||
:10047000808190E008958FEF9FEF089590910F0293
|
||||
:1004800080910E022FEF3FEF981748F4E92FF0E02C
|
||||
:10049000E256FE4F208130E09F5F90930F02C9012A
|
||||
:1004A000089580910E0290910F02891B990B089577
|
||||
:1004B000CF92DF92EF92FF920F931F93CF93DF9330
|
||||
:1004C0007C01CB018A0120913702222389F0EB01C4
|
||||
:1004D0006B01C40ED51ECC15DD0569F06991D701FD
|
||||
:1004E000ED91FC910190F081E02DC7010995F3CFCA
|
||||
:1004F000642F0E940702C801DF91CF911F910F91D5
|
||||
:10050000FF90EF90DF90CF900895CF93DF931F92ED
|
||||
:10051000CDB7DEB76983209137022223F9F020910D
|
||||
:100520005A02203258F021E030E0FC01338322836C
|
||||
:1005300090E080E00F90DF91CF9108958091380294
|
||||
:10054000E82FF0E0E75CFD4F998190838F5F809307
|
||||
:10055000380280935A0281E090E0ECCF61E0CE0156
|
||||
:1005600001960E940702F7CF90E080E00895FC0119
|
||||
:1005700001900020E9F73197AF01481B590BBC01EE
|
||||
:100580008BE592E00C94CB008F929F92AF92BF923A
|
||||
:100590000F931F93CF93DF93CDB7DEB7A1970FB61D
|
||||
:1005A000F894DEBF0FBECDBF19A2423008F44AE076
|
||||
:1005B0008E010F5D1F4F842E912CB12CA12CA50113
|
||||
:1005C00094010E949B06E62FB901CA01EA30F4F4B7
|
||||
:1005D000E05DD801EE938D01232B242B252B79F799
|
||||
:1005E00090E080E0109719F0CD010E94B702A1962B
|
||||
:1005F0000FB6F894DEBF0FBECDBFDF91CF911F9134
|
||||
:100600000F91BF90AF909F908F900895E95CE1CFDC
|
||||
:10061000CF93DF930E94B702EC0184E291E00E9445
|
||||
:10062000B7028C0F9D1FDF91CF9108951F920F92FB
|
||||
:100630000FB60F9211242F933F934F935F936F93B5
|
||||
:100640007F938F939F93AF93BF93EF93FF938BE52C
|
||||
:1006500092E00E944901FF91EF91BF91AF919F916C
|
||||
:100660008F917F916F915F914F913F912F910F905B
|
||||
:100670000FBE0F901F9018951F920F920FB60F92FA
|
||||
:1006800011242F938F939F93EF93FF93E0916B022D
|
||||
:10069000F0916C028081E0917102F091720282FD12
|
||||
:1006A0001BC09081809174028F5F8F7320917502BF
|
||||
:1006B000821741F0E0917402F0E0E55AFD4F958F0A
|
||||
:1006C00080937402FF91EF919F918F912F910F90E2
|
||||
:1006D0000FBE0F901F9018958081F4CF1F920F923C
|
||||
:1006E0000FB60F9211242F933F938F939F93AF9345
|
||||
:1006F000BF938091020290910302A0910402B091F5
|
||||
:1007000005023091010223E0230F2D3758F50196A1
|
||||
:10071000A11DB11D20930102809302029093030258
|
||||
:10072000A0930402B0930502809106029091070203
|
||||
:10073000A0910802B09109020196A11DB11D8093FC
|
||||
:10074000060290930702A0930802B0930902BF919A
|
||||
:10075000AF919F918F913F912F910F900FBE0F906E
|
||||
:100760001F90189526E8230F0296A11DB11DD2CF28
|
||||
:100770001F920F920FB60F9211242F933F934F9316
|
||||
:100780005F936F937F938F939F93AF93BF93EF93F9
|
||||
:10079000FF938091B900887F803609F44AC0F0F554
|
||||
:1007A000883209F4A7C018F5803109F49BC0B8F469
|
||||
:1007B000882309F4F9C0883009F494C0FF91EF91BF
|
||||
:1007C000BF91AF919F918F917F916F915F914F9169
|
||||
:1007D0003F912F910F900FBE0F901F901895883169
|
||||
:1007E00009F488C0803251F78093340214C08034F9
|
||||
:1007F00009F49DC040F48033B9F38833F9F680934F
|
||||
:10080000340285ECB0C0803509F485C0883509F420
|
||||
:1008100096C0883499F60E94FD01D0CF883909F43A
|
||||
:100820008CC038F5883729F050F4883611F08037BD
|
||||
:1008300029F683E0809336021092000257C0883870
|
||||
:1008400009F47BC0803919F0803809F0B7CF809166
|
||||
:100850000002803208F071C0E091000281E08E0F4A
|
||||
:10086000809300028091BB00F0E0E052FE4F808355
|
||||
:100870003DC0803B39F0E0F4803A09F479C0883A11
|
||||
:1008800009F09CCF84E0809336021092DF01109231
|
||||
:10089000DE01E0910C02F0910D0209958091DE01DC
|
||||
:1008A00081110FC081E08093DE011092BE0109C06A
|
||||
:1008B000803C09F4A6CF883C09F4A3CF883B09F01B
|
||||
:1008C0007DCFE091DF0181E08E0F8093DF01F0E0CA
|
||||
:1008D000E254FE4F80818093BB009091DF018091B4
|
||||
:1008E000DE0129C0809111028093BB0085EC8093CA
|
||||
:1008F000BC0064CF9091330280913202981758F572
|
||||
:10090000E091330281E08E0F80933302F0E0EE5EDF
|
||||
:10091000FD4F8081E9CFE091330281E08E0F80931B
|
||||
:1009200033028091BB00F0E0EE5EFD4F808390913A
|
||||
:100930003302809132029817C8F285E8D8CFE0914F
|
||||
:10094000330281E08E0F809333028091BB00F0E090
|
||||
:10095000EE5EFD4F80838091350281115CCF81E096
|
||||
:100960008093100284EA8093BC001092360226CF56
|
||||
:1009700085EC8093BC001092360280910002803298
|
||||
:1009800030F4E0910002F0E0E052FE4F10826091FE
|
||||
:10099000000270E0E0910A02F0910B0280EE91E01B
|
||||
:1009A0000995109200020ACF1092340234CFEBE581
|
||||
:1009B000F2E01382128288EE93E0A0E0B0E084833C
|
||||
:1009C0009583A683B78324E031E03183208325EC2F
|
||||
:1009D00030E03587248724EC30E03787268720EC09
|
||||
:1009E00030E0318B208B21EC30E0338B228B22ECFA
|
||||
:1009F00030E0358B248B26EC30E0378B268B118E44
|
||||
:100A0000128E138E148EE8EFF2E01382128284832A
|
||||
:100A10009583A683B78386E191E0918380830895CF
|
||||
:100A2000789484B5826084BD84B5816084BD85B5C9
|
||||
:100A3000826085BD85B5816085BD80916E008160D5
|
||||
:100A400080936E001092810080918100826080937B
|
||||
:100A5000810080918100816080938100809180007D
|
||||
:100A60008160809380008091B10084608093B100A8
|
||||
:100A70008091B00081608093B00080917A008460A2
|
||||
:100A800080937A0080917A00826080937A008091CE
|
||||
:100A90007A00816080937A0080917A0080688093E8
|
||||
:100AA0007A001092C10010920F0210920E02109262
|
||||
:100AB000380210925A021092360281E08093350279
|
||||
:100AC0001092100282E10E94820083E10E94820063
|
||||
:100AD0008091B9008E7F8093B9008091B9008D7F9D
|
||||
:100AE0008093B90088E48093B80085E48093BC00CB
|
||||
:100AF00089EC90E090930D0280930C028AEC90E0D8
|
||||
:100B000090930B0280930A02E0916B02F0916C02C9
|
||||
:100B100082E08083E0916702F09168021082E091A8
|
||||
:100B20006902F0916A028FEC808310927302E09167
|
||||
:100B30006F02F091700286E08083E0916D02F09187
|
||||
:100B40006E02808180618083E0916D02F0916E027F
|
||||
:100B5000808188608083E0916D02F0916E028081D7
|
||||
:100B600080688083E0916D02F0916E0280818F7DBC
|
||||
:100B7000808387E291E00E940803BB24B39422E0C3
|
||||
:100B8000A22E99249A9435EE832E45EC342EC0E0A3
|
||||
:100B9000D0E084E391E00E940803C12CD12C7601BF
|
||||
:100BA000C39410E000E05C2CB0923702C09259026E
|
||||
:100BB0001092380210925A02809136028111FCCFB5
|
||||
:100BC000A0923602B0923502909234021092330213
|
||||
:100BD000109232021092110290911102852D880F0D
|
||||
:100BE000892B8093110280911002813009F082C01C
|
||||
:100BF00010921002809111028093BB008091BC0082
|
||||
:100C000083FDF8CF3092BC00809136028230E1F350
|
||||
:100C1000809134028F3F09F470C080913402803299
|
||||
:100C200009F46DC080913402803309F46AC084E015
|
||||
:100C30001092380210925A0210923702811163C04A
|
||||
:100C400080E491E00E94B7022FE0251520F08FE5A7
|
||||
:100C500091E00E94B70240E1C701B6010E94C402C0
|
||||
:100C600081E691E00E9408030F5F1F4F2FEFC21A29
|
||||
:100C7000D20AE20AF20A8FE7C816D104E104F104AD
|
||||
:100C800009F091CF81E891E0012B11F087E991E023
|
||||
:100C90000E9408030E94D8016B017C0188E8482E5D
|
||||
:100CA00083E1582E612C712C0E94D8016C197D09AA
|
||||
:100CB0008E099F09683E734081059105A8F321E0E4
|
||||
:100CC000421A51086108710888EEC80E83E0D81EE8
|
||||
:100CD000E11CF11C411451046104710429F72097AF
|
||||
:100CE00009F457CF0E943501882309F452CF0E949E
|
||||
:100CF00000004FCF8092BC0087CF80E099CF82E088
|
||||
:100D000097CF83E095CF843009F0B0CF85E691E0AE
|
||||
:100D10000E94B7028FE0851520F08FE591E00E94D8
|
||||
:100D2000B70240E1C701B6010E94C40284E291E02B
|
||||
:100D30000E94B7029BCFA1E21A2EAA1BBB1BFD018A
|
||||
:100D40000DC0AA1FBB1FEE1FFF1FA217B307E407AA
|
||||
:100D5000F50720F0A21BB30BE40BF50B661F771F02
|
||||
:100D6000881F991F1A9469F76095709580959095E2
|
||||
:100D70009B01AC01BD01CF010895EE0FFF1F05904F
|
||||
:0A0D8000F491E02D0994F894FFCFE0
|
||||
:100D8A00000000006B01CB00F800B801290107013F
|
||||
:100D9A001B010000000085025802B4022E02510213
|
||||
:100DAA003E022F020D0A000A493243205363616E44
|
||||
:100DBA006E6572005363616E6E696E672E2E2E0029
|
||||
:100DCA004932432064657669636520666F756E648F
|
||||
:100DDA002061742061646472657373203078003016
|
||||
:100DEA000020202100556E6B6E6F776E206572723F
|
||||
:100DFA006F72206174206164647265737320307845
|
||||
:100E0A00004E6F204932432064657669636573201A
|
||||
:0E0E1A00666F756E640A00646F6E650A0000F4
|
||||
:00000001FF
|
||||
83
Week 3/IC2 id/IC2 id.ino
Normal file
83
Week 3/IC2 id/IC2 id.ino
Normal file
@@ -0,0 +1,83 @@
|
||||
// --------------------------------------
|
||||
// i2c_scanner
|
||||
//
|
||||
// Version 1
|
||||
// This program (or code that looks like it)
|
||||
// can be found in many places.
|
||||
// For example on the Arduino.cc forum.
|
||||
// The original author is not know.
|
||||
// Version 2, Juni 2012, Using Arduino 1.0.1
|
||||
// Adapted to be as simple as possible by Arduino.cc user Krodal
|
||||
// Version 3, Feb 26 2013
|
||||
// V3 by louarnold
|
||||
// Version 4, March 3, 2013, Using Arduino 1.0.3
|
||||
// by Arduino.cc user Krodal.
|
||||
// Changes by louarnold removed.
|
||||
// Scanning addresses changed from 0...127 to 1...119,
|
||||
// according to the i2c scanner by Nick Gammon
|
||||
// https://www.gammon.com.au/forum/?id=10896
|
||||
// Version 5, March 28, 2013
|
||||
// As version 4, but address scans now to 127.
|
||||
// A sensor seems to use address 120.
|
||||
// Version 6, November 27, 2015.
|
||||
// Added waiting for the Leonardo serial communication.
|
||||
//
|
||||
//
|
||||
// This sketch tests the standard 7-bit addresses
|
||||
// Devices with higher bit address might not be seen properly.
|
||||
//
|
||||
|
||||
#include <Wire.h>
|
||||
|
||||
|
||||
void setup()
|
||||
{
|
||||
Wire.begin();
|
||||
|
||||
Serial.begin(9600);
|
||||
while (!Serial); // Leonardo: wait for serial monitor
|
||||
Serial.println("\nI2C Scanner");
|
||||
}
|
||||
|
||||
|
||||
void loop()
|
||||
{
|
||||
byte error, address;
|
||||
int nDevices;
|
||||
|
||||
Serial.println("Scanning...");
|
||||
|
||||
nDevices = 0;
|
||||
for(address = 1; address < 127; address++ )
|
||||
{
|
||||
// The i2c_scanner uses the return value of
|
||||
// the Write.endTransmisstion to see if
|
||||
// a device did acknowledge to the address.
|
||||
Wire.beginTransmission(address);
|
||||
error = Wire.endTransmission();
|
||||
|
||||
if (error == 0)
|
||||
{
|
||||
Serial.print("I2C device found at address 0x");
|
||||
if (address<16)
|
||||
Serial.print("0");
|
||||
Serial.print(address,HEX);
|
||||
Serial.println(" !");
|
||||
|
||||
nDevices++;
|
||||
}
|
||||
else if (error==4)
|
||||
{
|
||||
Serial.print("Unknown error at address 0x");
|
||||
if (address<16)
|
||||
Serial.print("0");
|
||||
Serial.println(address,HEX);
|
||||
}
|
||||
}
|
||||
if (nDevices == 0)
|
||||
Serial.println("No I2C devices found\n");
|
||||
else
|
||||
Serial.println("done\n");
|
||||
|
||||
delay(5000); // wait 5 seconds for next scan
|
||||
}
|
||||
BIN
Week 3/Icons/Icons.arduino.avr.uno.elf
Executable file
BIN
Week 3/Icons/Icons.arduino.avr.uno.elf
Executable file
Binary file not shown.
191
Week 3/Icons/Icons.arduino.avr.uno.hex
Normal file
191
Week 3/Icons/Icons.arduino.avr.uno.hex
Normal file
@@ -0,0 +1,191 @@
|
||||
:100000000C9458000C9480000C9480000C94800098
|
||||
:100010000C9480000C9480000C9480000C94800060
|
||||
:100020000C9480000C9480000C9480000C94800050
|
||||
:100030000C9480000C9480000C9480000C94800040
|
||||
:100040000C94D5020C9480000C9480000C948000D9
|
||||
:100050000C9480000C9480000C9480000C94800020
|
||||
:100060000C941F030C948000000000002500280061
|
||||
:100070002B00040404040404040402020202020229
|
||||
:10008000030303030303010204081020408001025C
|
||||
:1000900004081020010204081020000000080002DB
|
||||
:1000A00001000003040700000000000000003E04FF
|
||||
:1000B00011241FBECFEFD8E0DEBFCDBF11E0A0E01E
|
||||
:1000C000B1E0E8E8FBE002C005900D92A234B10770
|
||||
:1000D000D9F722E0A2E4B1E001C01D92A831B20735
|
||||
:1000E000E1F710E0C8E5D0E004C02197FE010E94CE
|
||||
:1000F000BC05C735D107C9F70E945F040C94C2053F
|
||||
:100100000C94000090E0FC01E656FF4F2491FC01A6
|
||||
:10011000EA57FF4F3491FC01EE58FF4FE491EE2374
|
||||
:10012000B1F0222339F02330E9F090F4213001F1CD
|
||||
:10013000223011F1F0E0EE0FFF1FE859FF4FA591BB
|
||||
:10014000B4918FB7F894EC913E2B3C938FBF0895F8
|
||||
:100150002730A9F02830C9F0243061F78091800061
|
||||
:100160008F7D03C0809180008F7780938000E2CFE5
|
||||
:1001700084B58F7784BDDECF84B58F7DFBCF809132
|
||||
:10018000B0008F778093B000D5CF8091B0008F7D85
|
||||
:10019000F9CF08950895AF92BF92CF92DF92EF9278
|
||||
:1001A000FF920F931F93CF93DF936C017B018B0121
|
||||
:1001B000040F151FEB015E01AE18BF08C017D10771
|
||||
:1001C00059F06991D601ED91FC910190F081E02DFB
|
||||
:1001D000C6010995892B79F7C501DF91CF911F9150
|
||||
:1001E0000F91FF90EF90DF90CF90BF90AF90089568
|
||||
:1001F0003FB7F8948091F0019091F101A091F20144
|
||||
:10020000B091F30126B5A89B05C02F3F19F00196C8
|
||||
:10021000A11DB11D3FBFBA2FA92F982F8827BC0160
|
||||
:10022000CD01620F711D811D911D42E0660F771F88
|
||||
:10023000881F991F4A95D1F708958F929F92AF9288
|
||||
:10024000BF92CF92DF92EF92FF924B015C010E942E
|
||||
:10025000F8006B017C010E94F8006C197D098E0981
|
||||
:100260009F09683E734081059105A8F321E0821A39
|
||||
:100270009108A108B10888EEC80E83E0D81EE11CE1
|
||||
:10028000F11C81149104A104B10429F7FF90EF90AF
|
||||
:10029000DF90CF90BF90AF909F908F90089508957A
|
||||
:1002A00085ED8093BC008091BC0084FDFCCF109252
|
||||
:1002B000FA01089520918201260F3327331F21323E
|
||||
:1002C0003105ECF42091FA01FC0190E080E024304B
|
||||
:1002D00069F082E00895A09182012191AC014E590C
|
||||
:1002E0005E4FA40FB52FB11D2C930196861798F37E
|
||||
:1002F00080918201680F6093820180E0089581E01F
|
||||
:1003000008950895E091FE018091FD01E81730F411
|
||||
:10031000F0E0EE5BFE4F808190E008958FEF9FEF5D
|
||||
:1003200008959091FE018091FD012FEF3FEF981706
|
||||
:1003300048F4E92FF0E0EE5BFE4F208130E09F5F54
|
||||
:100340009093FE01C90108958091FD019091FE01F5
|
||||
:10035000891B990B0895CF92DF92EF92FF920F9332
|
||||
:100360001F93CF93DF937C01CB018A012091C901B8
|
||||
:10037000222389F0EB016B01C40ED51ECC15DD05DF
|
||||
:1003800069F06991D701ED91FC910190F081E02D28
|
||||
:10039000C7010995F3CF642F0E945A01C801DF916C
|
||||
:1003A000CF911F910F91FF90EF90DF90CF90089524
|
||||
:1003B000CF93DF931F92CDB7DEB769832091C90138
|
||||
:1003C0002223F9F02091FB01203258F021E030E0A7
|
||||
:1003D000FC013383228390E080E00F90DF91CF9186
|
||||
:1003E00008958091FC01E82FF0E0E653FE4F9981DB
|
||||
:1003F00090838F5F8093FC018093FB0181E090E00C
|
||||
:10040000ECCF61E0CE0101960E945A01F7CFCF9365
|
||||
:10041000FC01C48121E02093C901C093EA0110923C
|
||||
:10042000FC011092FB018485682B8FEF91E00E9404
|
||||
:10043000D8019091FB01913208F03FC08091FA0100
|
||||
:100440008111FCCF82E08093FA0181E08093F90171
|
||||
:100450008FEF8093C8011092C7019093C601AAEC58
|
||||
:10046000B1E0E6EAF1E080E098132FC01092A50118
|
||||
:100470008091A501CC0FC82BC093A5018091F801F4
|
||||
:10048000813039F51092F8018091A5018093BB006D
|
||||
:100490008091BC0083FDF8CF85EC8093BC008091F7
|
||||
:1004A000FA018230E1F38091C8018F3F31F08091F1
|
||||
:1004B000C801803211F08091C8011092FC011092A5
|
||||
:1004C000FB011092C901CF9108952D9121938F5F67
|
||||
:1004D000CBCF85EEE2CF90E080E008950F931F939D
|
||||
:1004E000CF938C01C62F0E9407026C2F6460C80155
|
||||
:1004F0000E9407026C2F6B7FC8010E94070283ECE9
|
||||
:1005000090E00197F1F7CF911F910F9108950F930C
|
||||
:100510001F93CF93DF938C01D62FC42F607F642B62
|
||||
:100520000E946E0280E1D89FB00111246C2BC8019B
|
||||
:10053000DF91CF911F910F910C946E02CF93DF93B7
|
||||
:10054000CDB7DEB728970FB6F894DEBF0FBECDBF8C
|
||||
:1005500098E0E0E0F1E0DE01119601900D929A95AD
|
||||
:10056000E1F790911302981708F48FEF90E0880F4D
|
||||
:10057000991F21E030E02C0F3D1F820F931FFC01DB
|
||||
:100580006081606840E08BE092E028960FB6F894B6
|
||||
:10059000DEBF0FBECDBFDF91CF910C94870241E04B
|
||||
:1005A0000E94870281E090E008951F920F920FB69B
|
||||
:1005B0000F9211242F933F938F939F93AF93BF93E9
|
||||
:1005C0008091EC019091ED01A091EE01B091EF01CD
|
||||
:1005D0003091EB0123E0230F2D3758F50196A11D33
|
||||
:1005E000B11D2093EB018093EC019093ED01A0935A
|
||||
:1005F000EE01B093EF018091F0019091F101A09193
|
||||
:10060000F201B091F3010196A11DB11D8093F0019B
|
||||
:100610009093F101A093F201B093F301BF91AF91D8
|
||||
:100620009F918F913F912F910F900FBE0F901F9030
|
||||
:10063000189526E8230F0296A11DB11DD2CF1F9257
|
||||
:100640000F920FB60F9211242F933F934F935F9306
|
||||
:100650006F937F938F939F93AF93BF93EF93FF938A
|
||||
:100660008091B900887F803609F44AC0F0F588325D
|
||||
:1006700009F4A7C018F5803109F49BC0B8F48823A9
|
||||
:1006800009F4F9C0883009F494C0FF91EF91BF914B
|
||||
:10069000AF919F918F917F916F915F914F913F911A
|
||||
:1006A0002F910F900FBE0F901F901895883109F46D
|
||||
:1006B00088C0803251F78093C80114C0803409F497
|
||||
:1006C0009DC040F48033B9F38833F9F68093C801B4
|
||||
:1006D00085ECB0C0803509F485C0883509F496C032
|
||||
:1006E000883499F60E945001D0CF883909F48CC023
|
||||
:1006F00038F5883729F050F4883611F0803729F61C
|
||||
:1007000083E08093FA011092A40157C0883809F45D
|
||||
:100710007BC0803919F0803809F0B7CF8091A401EF
|
||||
:10072000803208F071C0E091A40181E08E0F8093C7
|
||||
:10073000A4018091BB00F0E0EC57FE4F80833DC0E8
|
||||
:10074000803B39F0E0F4803A09F479C0883A09F046
|
||||
:100750009CCF84E08093FA01109283011092820171
|
||||
:10076000E091F601F091F7010995809182018111E4
|
||||
:100770000FC081E0809382011092620109C0803C29
|
||||
:1007800009F4A6CF883C09F4A3CF883B09F07DCFBC
|
||||
:10079000E091830181E08E0F80938301F0E0EE59B8
|
||||
:1007A000FE4F80818093BB009091830180918201F4
|
||||
:1007B00029C08091A5018093BB0085EC8093BC008B
|
||||
:1007C00064CF9091C7018091C601981758F5E091C8
|
||||
:1007D000C70181E08E0F8093C701F0E0EA55FE4F1C
|
||||
:1007E0008081E9CFE091C70181E08E0F8093C7013E
|
||||
:1007F0008091BB00F0E0EA55FE4F80839091C701E5
|
||||
:100800008091C6019817C8F285E8D8CFE091C7015A
|
||||
:1008100081E08E0F8093C7018091BB00F0E0EA5524
|
||||
:10082000FE4F80838091F90181115CCF81E080933C
|
||||
:10083000F80184EA8093BC001092FA0126CF85EC7F
|
||||
:100840008093BC001092FA018091A401803230F4B0
|
||||
:10085000E091A401F0E0EC57FE4F10826091A401FA
|
||||
:1008600070E0E091F401F091F50184E891E00995E0
|
||||
:100870001092A4010ACF1092C80134CFEFEFF1E03B
|
||||
:100880001382128288EE93E0A0E0B0E08483958327
|
||||
:10089000A683B7838CE191E091838083EBE0F2E063
|
||||
:1008A000138212828EE291E09183808311868FE31E
|
||||
:1008B000848380E1828782E0838714860895CF93C2
|
||||
:1008C000DF93CDB7DEB760970FB6F894DEBF0FBEEB
|
||||
:1008D000CDBF789484B5826084BD84B5816084BDC9
|
||||
:1008E00085B5826085BD85B5816085BD80916E00CE
|
||||
:1008F000816080936E0010928100809181008260FF
|
||||
:10090000809381008091810081608093810080913B
|
||||
:1009100080008160809380008091B100846080932A
|
||||
:10092000B1008091B00081608093B00080917A0026
|
||||
:10093000846080937A0080917A00826080937A004C
|
||||
:1009400080917A00816080937A0080917A0080683B
|
||||
:1009500080937A001092C1001092FE011092FD0166
|
||||
:100960001092FC011092FB011092FA0181E0809339
|
||||
:10097000F9011092F80182E10E94820083E10E9455
|
||||
:1009800082008091B9008E7F8093B9008091B90078
|
||||
:100990008D7F8093B90088E48093B80085E48093CC
|
||||
:1009A000BC0089EC90E09093F7018093F6018AEC0B
|
||||
:1009B00090E09093F5018093F401109210028091E1
|
||||
:1009C0001602823018F098E0909310028093130280
|
||||
:1009D00062E370E080E090E00E941D0160911702E8
|
||||
:1009E0008BE092E00E94070268EE73E080E090E006
|
||||
:1009F0000E941D0160E38BE092E00E946E020BE416
|
||||
:100A000016E4C8010197F1F760E38BE092E00E94E1
|
||||
:100A10006E02C8010197F1F760E38BE092E00E945B
|
||||
:100A20006E0283E592E00197F1F760E28BE092E0DD
|
||||
:100A30000E946E0260911002606240E08BE092E0E2
|
||||
:100A40000E94870284E08093110240E06CE08BE01A
|
||||
:100A500092E00E94870240E061E08BE092E00E9419
|
||||
:100A600087028BE39FE10197F1F7809114028823BD
|
||||
:100A700019F080E00E949E0282E08093120240E022
|
||||
:100A800066E08BE092E00E94870240E062E08BE04B
|
||||
:100A900092E00E9487028BE39FE10197F1F718E053
|
||||
:100AA0001093170260E08BE092E00E9407024BE097
|
||||
:100AB00050E066E371E08BE092E00E94CB00E8E05A
|
||||
:100AC000F1E0DE011996812F01900D928A95E1F7F0
|
||||
:100AD000E0E1F1E0DE01119601900D921A95E1F747
|
||||
:100AE00040E060E48BE092E00E9487028E01075FA5
|
||||
:100AF0001F4F6E0181E1C80ED11C7801F801619190
|
||||
:100B00008F018BE092E00E94CF02C016D106B1F7B0
|
||||
:100B100040E068E48BE092E00E9487028E010F5F64
|
||||
:100B20001F4FF80161918F018BE092E00E94CF028C
|
||||
:100B30000E151F05B1F700E010E081E00E949E0253
|
||||
:100B400060E08BE092E00E94CF0264E670E080E01B
|
||||
:100B500090E00E941D0161E08BE092E00E94CF02D4
|
||||
:100B600064E670E080E090E00E941D01011511052F
|
||||
:100B700021F30E940000E1CFEE0FFF1F0590F491DA
|
||||
:080B8000E02D0994F894FFCF69
|
||||
:100B8800000040001400540000000A1F1F1F0E043C
|
||||
:100B980000040E0E0E1F040000000000D801AB0177
|
||||
:100BA8006B028101A4019101820100000000CF02C3
|
||||
:100BB800CB006B024F0149636F6E6F73206C6F6BD4
|
||||
:020BC8006F00BC
|
||||
:00000001FF
|
||||
45
Week 3/Icons/Icons.ino
Normal file
45
Week 3/Icons/Icons.ino
Normal file
@@ -0,0 +1,45 @@
|
||||
#include <Wire.h>
|
||||
#include <LiquidCrystal_I2C.h>
|
||||
|
||||
LiquidCrystal_I2C lcd(0x3F, 16, 2);
|
||||
|
||||
const int SIZE = 8;
|
||||
|
||||
void setup() {
|
||||
lcd.init();
|
||||
lcd.backlight();
|
||||
lcd.print("Iconos loko");
|
||||
|
||||
byte corazon[SIZE] = {
|
||||
0b00000,
|
||||
0b00000,
|
||||
0b01010,
|
||||
0b11111,
|
||||
0b11111,
|
||||
0b11111,
|
||||
0b01110,
|
||||
0b00100
|
||||
};
|
||||
|
||||
byte campana[SIZE] = {
|
||||
B00000,
|
||||
B00100,
|
||||
B01110,
|
||||
B01110,
|
||||
B01110,
|
||||
B11111,
|
||||
B00100,
|
||||
B00000
|
||||
};
|
||||
|
||||
lcd.createChar(0, corazon);
|
||||
lcd.createChar(1, campana);
|
||||
}
|
||||
|
||||
void loop() {
|
||||
lcd.setCursor(0, 1);
|
||||
lcd.write(byte(0));
|
||||
delay(100);
|
||||
lcd.write(byte(1));
|
||||
delay(100);
|
||||
}
|
||||
BIN
Week 3/LCD Hello-World/LCD Hello-World.arduino.avr.uno.elf
Executable file
BIN
Week 3/LCD Hello-World/LCD Hello-World.arduino.avr.uno.elf
Executable file
Binary file not shown.
193
Week 3/LCD Hello-World/LCD Hello-World.arduino.avr.uno.hex
Normal file
193
Week 3/LCD Hello-World/LCD Hello-World.arduino.avr.uno.hex
Normal file
@@ -0,0 +1,193 @@
|
||||
:100000000C9458000C9480000C9480000C94800098
|
||||
:100010000C9480000C9480000C9480000C94800060
|
||||
:100020000C9480000C9480000C9480000C94800050
|
||||
:100030000C9480000C9480000C9480000C94800040
|
||||
:100040000C94E2020C9480000C9480000C948000CC
|
||||
:100050000C9480000C9480000C9480000C94800020
|
||||
:100060000C942C030C948000000000002500280054
|
||||
:100070002B00040404040404040402020202020229
|
||||
:10008000030303030303010204081020408001025C
|
||||
:1000900004081020010204081020000000080002DB
|
||||
:1000A00001000003040700000000000000004B04F2
|
||||
:1000B00011241FBECFEFD8E0DEBFCDBF11E0A0E01E
|
||||
:1000C000B1E0ECEBFBE002C005900D92A034B1076B
|
||||
:1000D000D9F722E0A0E4B1E001C01D92A631B20739
|
||||
:1000E000E1F710E0C8E5D0E004C02197FE010E94CE
|
||||
:1000F000D605C735D107C9F70E946C040C94DC05FE
|
||||
:100100000C94000090E0FC01E656FF4F2491FC01A6
|
||||
:10011000EA57FF4F3491FC01EE58FF4FE491EE2374
|
||||
:10012000B1F0222339F02330E9F090F4213001F1CD
|
||||
:10013000223011F1F0E0EE0FFF1FE859FF4FA591BB
|
||||
:10014000B4918FB7F894EC913E2B3C938FBF0895F8
|
||||
:100150002730A9F02830C9F0243061F78091800061
|
||||
:100160008F7D03C0809180008F7780938000E2CFE5
|
||||
:1001700084B58F7784BDDECF84B58F7DFBCF809132
|
||||
:10018000B0008F778093B000D5CF8091B0008F7D85
|
||||
:10019000F9CF08950895AF92BF92CF92DF92EF9278
|
||||
:1001A000FF920F931F93CF93DF936C017B018B0121
|
||||
:1001B000040F151FEB015E01AE18BF08C017D10771
|
||||
:1001C00059F06991D601ED91FC910190F081E02DFB
|
||||
:1001D000C6010995892B79F7C501DF91CF911F9150
|
||||
:1001E0000F91FF90EF90DF90CF90BF90AF90089568
|
||||
:1001F0003FB7F8948091EA019091EB01A091EC0156
|
||||
:10020000B091ED0126B5A89B05C02F3F19F00196CE
|
||||
:10021000A11DB11D3FBFBA2FA92F982F8827BC0160
|
||||
:10022000CD01620F711D811D911D42E0660F771F88
|
||||
:10023000881F991F4A95D1F708958F929F92AF9288
|
||||
:10024000BF92CF92DF92EF92FF924B015C010E942E
|
||||
:10025000F8006B017C010E94F8006C197D098E0981
|
||||
:100260009F09683E734081059105A8F321E0821A39
|
||||
:100270009108A108B10888EEC80E83E0D81EE11CE1
|
||||
:10028000F11C81149104A104B10429F7FF90EF90AF
|
||||
:10029000DF90CF90BF90AF909F908F90089508957A
|
||||
:1002A00085ED8093BC008091BC0084FDFCCF109252
|
||||
:1002B000F401089520918001260F3327331F213246
|
||||
:1002C0003105ECF42091F401FC0190E080E0243051
|
||||
:1002D00069F082E00895A09180012191AC01405A1B
|
||||
:1002E0005E4FA40FB52FB11D2C930196861798F37E
|
||||
:1002F00080918001680F6093800180E0089581E023
|
||||
:1003000008950895E091F8018091F701E81730F41D
|
||||
:10031000F0E0E05CFE4F808190E008958FEF9FEF6A
|
||||
:1003200008959091F8018091F7012FEF3FEF981712
|
||||
:1003300048F4E92FF0E0E05CFE4F208130E09F5F61
|
||||
:100340009093F801C90108958091F7019091F80107
|
||||
:10035000891B990B0895CF92DF92EF92FF920F9332
|
||||
:100360001F93CF93DF937C01CB018A012091C701BA
|
||||
:10037000222389F0EB016B01C40ED51ECC15DD05DF
|
||||
:1003800069F06991D701ED91FC910190F081E02D28
|
||||
:10039000C7010995F3CF642F0E945A01C801DF916C
|
||||
:1003A000CF911F910F91FF90EF90DF90CF90089524
|
||||
:1003B000CF93DF931F92CDB7DEB769832091C7013A
|
||||
:1003C0002223F9F02091F501203258F021E030E0AD
|
||||
:1003D000FC013383228390E080E00F90DF91CF9186
|
||||
:1003E00008958091F601E82FF0E0E853FE4F9981DF
|
||||
:1003F00090838F5F8093F6018093F50181E090E018
|
||||
:10040000ECCF61E0CE0101960E945A01F7CFCF9365
|
||||
:10041000FC01C48121E02093C701C093E801109240
|
||||
:10042000F6011092F5018485682B8DEF91E00E9412
|
||||
:10043000D8019091F501913208F03FC08091F4010C
|
||||
:100440008111FCCF82E08093F40181E08093F3017D
|
||||
:100450008FEF8093C6011092C5019093C401A8EC60
|
||||
:10046000B1E0E4EAF1E080E098132FC01092A3011C
|
||||
:100470008091A301CC0FC82BC093A3018091F201FE
|
||||
:10048000813039F51092F2018091A3018093BB0075
|
||||
:100490008091BC0083FDF8CF85EC8093BC008091F7
|
||||
:1004A000F4018230E1F38091C6018F3F31F08091F9
|
||||
:1004B000C601803211F08091C6011092F6011092AF
|
||||
:1004C000F5011092C701CF9108952D9121938F5F6F
|
||||
:1004D000CBCF85EEE2CF90E080E00895FC01019063
|
||||
:1004E0000020E9F73197AF01481B590BBC0189E0A7
|
||||
:1004F00092E00C94CB000F931F93CF938C01C62FE7
|
||||
:100500000E9407026C2F6460C8010E9407026C2FD2
|
||||
:100510006B7FC8010E94070283EC90E00197F1F71E
|
||||
:10052000CF911F910F9108950F931F93CF93DF9356
|
||||
:100530008C01D62FC42F607F642B0E947B0280E148
|
||||
:10054000D89FB00111246C2BC801DF91CF911F916E
|
||||
:100550000F910C947B02CF93DF93CDB7DEB7289732
|
||||
:100560000FB6F894DEBF0FBECDBF98E0E0E0F1E03B
|
||||
:10057000DE01119601900D929A95E1F7909111028A
|
||||
:10058000981708F48FEF90E0880F991F21E030E072
|
||||
:100590002C0F3D1F820F931FFC016081606840E0BB
|
||||
:1005A00089E092E028960FB6F894DEBF0FBECDBF6B
|
||||
:1005B000DF91CF910C94940241E00E94940281E07B
|
||||
:1005C00090E008951F920F920FB60F9211242F936F
|
||||
:1005D0003F938F939F93AF93BF938091F901909135
|
||||
:1005E000FA01A091FB01B091FC013091E90123E0F7
|
||||
:1005F000230F2D3758F50196A11DB11D2093E90158
|
||||
:100600008093F9019093FA01A093FB01B093FC0150
|
||||
:100610008091EA019091EB01A091EC01B091ED0184
|
||||
:100620000196A11DB11D8093EA019093EB01A09367
|
||||
:10063000EC01B093ED01BF91AF919F918F913F91EC
|
||||
:100640002F910F900FBE0F901F90189526E8230F43
|
||||
:100650000296A11DB11DD2CF1F920F920FB60F921D
|
||||
:1006600011242F933F934F935F936F937F938F93B7
|
||||
:100670009F93AF93BF93EF93FF938091B900887FCF
|
||||
:10068000803609F44AC0F0F5883209F4A7C018F59D
|
||||
:10069000803109F49BC0B8F4882309F4F9C088308C
|
||||
:1006A00009F494C0FF91EF91BF91AF919F918F9109
|
||||
:1006B0007F916F915F914F913F912F910F900FBE5E
|
||||
:1006C0000F901F901895883109F488C0803251F737
|
||||
:1006D0008093C60114C0803409F49DC040F4803377
|
||||
:1006E000B9F38833F9F68093C60185ECB0C0803544
|
||||
:1006F00009F485C0883509F496C0883499F60E94BB
|
||||
:100700005001D0CF883909F48CC038F5883729F0EA
|
||||
:1007100050F4883611F0803729F683E08093F40195
|
||||
:100720001092A20157C0883809F47BC0803919F0B3
|
||||
:10073000803809F0B7CF8091A201803208F071C0F3
|
||||
:10074000E091A20181E08E0F8093A2018091BB0015
|
||||
:10075000F0E0EE57FE4F80833DC0803B39F0E0F47F
|
||||
:10076000803A09F479C0883A09F09CCF84E08093FC
|
||||
:10077000F4011092810110928001E091F001F0915A
|
||||
:10078000F10109958091800181110FC081E0809372
|
||||
:1007900080011092600109C0803C09F4A6CF883C1A
|
||||
:1007A00009F4A3CF883B09F07DCFE091810181E07E
|
||||
:1007B0008E0F80938101F0E0E05AFE4F808180939C
|
||||
:1007C000BB00909181018091800129C08091A3019B
|
||||
:1007D0008093BB0085EC8093BC0064CF9091C501F1
|
||||
:1007E0008091C401981758F5E091C50181E08E0F02
|
||||
:1007F0008093C501F0E0EC55FE4F8081E9CFE09198
|
||||
:10080000C50181E08E0F8093C5018091BB00F0E0AF
|
||||
:10081000EC55FE4F80839091C5018091C4019817DB
|
||||
:10082000C8F285E8D8CFE091C50181E08E0F8093B2
|
||||
:10083000C5018091BB00F0E0EC55FE4F80838091B4
|
||||
:10084000F30181115CCF81E08093F20184EA80930F
|
||||
:10085000BC001092F40126CF85EC8093BC0010926E
|
||||
:10086000F4018091A201803230F4E091A201F0E025
|
||||
:10087000EE57FE4F10826091A20170E0E091EE0110
|
||||
:10088000F091EF0182E891E009951092A2010ACF60
|
||||
:100890001092C60134CFEDEFF1E01382128288EEA0
|
||||
:1008A00093E0A0E0B0E084839583A683B7838CE0D7
|
||||
:1008B00091E091838083E9E0F2E0138212828EE17D
|
||||
:1008C00091E09183808311868FE3848380E1828726
|
||||
:1008D00082E0838714860895CF93DF93CDB7DEB788
|
||||
:1008E000A1970FB6F894DEBF0FBECDBF789484B544
|
||||
:1008F000826084BD84B5816084BD85B5826085BD1C
|
||||
:1009000085B5816085BD80916E00816080936E00A9
|
||||
:10091000109281008091810082608093810080919B
|
||||
:10092000810081608093810080918000816080934C
|
||||
:1009300080008091B10084608093B1008091B0000C
|
||||
:1009400081608093B00080917A00846080937A0007
|
||||
:1009500080917A00826080937A0080917A00816031
|
||||
:1009600080937A0080917A00806880937A00109258
|
||||
:10097000C1001092F8011092F7011092F601109246
|
||||
:10098000F5011092F40181E08093F3011092F201DD
|
||||
:1009900082E10E94820083E10E9482008091B9007E
|
||||
:1009A0008E7F8093B9008091B9008D7F8093B900CC
|
||||
:1009B00088E48093B80085E48093BC0089EC90E0E3
|
||||
:1009C0009093F1018093F0018AEC90E09093EF0115
|
||||
:1009D0008093EE0110920E0280911402823018F082
|
||||
:1009E00098E090930E028093110262E370E080E041
|
||||
:1009F00090E00E941D016091150289E092E00E9442
|
||||
:100A0000070268EE73E080E090E00E941D0160E361
|
||||
:100A100089E092E00E947B020BE416E4C801019792
|
||||
:100A2000F1F760E389E092E00E947B02C801019740
|
||||
:100A3000F1F760E389E092E00E947B0283E592E0B7
|
||||
:100A40000197F1F760E289E092E00E947B026091F9
|
||||
:100A50000E02606240E089E092E00E94940284E02D
|
||||
:100A600080930F0240E06CE089E092E00E949402E3
|
||||
:100A700040E061E089E092E00E9494028BE39FE114
|
||||
:100A80000197F1F780911202882319F080E00E940B
|
||||
:100A9000AB0282E08093100240E066E089E092E0E1
|
||||
:100AA0000E94940240E062E089E092E00E94940299
|
||||
:100AB0008BE39FE10197F1F788E08093150260E0F6
|
||||
:100AC00089E092E00E94070280E00E94AB0286E289
|
||||
:100AD00091E00E946E0288EEC82E83E0D82EE12CB1
|
||||
:100AE000F12C9AE0492E512C612C712C20E0A22E81
|
||||
:100AF00020E0B22E81E00E94AB022FB7F894609103
|
||||
:100B0000F9017091FA018091FB019091FC012FBFD6
|
||||
:100B1000A70196010E94B40519A28E010F5D1F4F17
|
||||
:100B2000CA01B901A30192010E94B405605DF801F8
|
||||
:100B300062938F01211531054105510589F73097E1
|
||||
:100B400019F0CF010E946E0286E391E00E946E02CE
|
||||
:100B500064E670E080E090E00E941D01A114B10401
|
||||
:100B600049F20E940000C6CFA1E21A2EAA1BBB1BAD
|
||||
:100B7000FD010DC0AA1FBB1FEE1FFF1FA217B30769
|
||||
:100B8000E407F50720F0A21BB30BE40BF50B661F7F
|
||||
:100B9000771F881F991F1A9469F760957095809543
|
||||
:100BA00090959B01AC01BD01CF010895EE0FFF1F91
|
||||
:0C0BB0000590F491E02D0994F894FFCF1B
|
||||
:100BBC00000040001400540000000000D801AB01FC
|
||||
:100BCC006B028101A4019101820100000000DC0292
|
||||
:100BDC00CB006B024F015669766120736F73696F9E
|
||||
:100BEC00206C6F6B6F0020536567756E646F7300BC
|
||||
:00000001FF
|
||||
18
Week 3/LCD Hello-World/LCD Hello-World.ino
Normal file
18
Week 3/LCD Hello-World/LCD Hello-World.ino
Normal file
@@ -0,0 +1,18 @@
|
||||
#include <Wire.h>
|
||||
#include <LiquidCrystal_I2C.h>
|
||||
|
||||
LiquidCrystal_I2C lcd(0x3F, 16, 2);
|
||||
|
||||
void setup() {
|
||||
lcd.init();
|
||||
lcd.backlight();
|
||||
lcd.setCursor(0,0);
|
||||
lcd.print("Viva sosio loko");
|
||||
}
|
||||
|
||||
void loop() {
|
||||
lcd.setCursor(0,1);
|
||||
lcd.print(millis()/1000);
|
||||
lcd.print(" Segundos");
|
||||
delay(100);
|
||||
}
|
||||
BIN
Week 3/Relay-Motor/Relay-Motor.arduino.avr.uno.elf
Executable file
BIN
Week 3/Relay-Motor/Relay-Motor.arduino.avr.uno.elf
Executable file
Binary file not shown.
171
Week 3/Relay-Motor/Relay-Motor.arduino.avr.uno.hex
Normal file
171
Week 3/Relay-Motor/Relay-Motor.arduino.avr.uno.hex
Normal file
@@ -0,0 +1,171 @@
|
||||
:100000000C945D000C9485000C9485000C94850084
|
||||
:100010000C9485000C9485000C9485000C9485004C
|
||||
:100020000C9485000C9485000C9485000C9485003C
|
||||
:100030000C9485000C9485000C9485000C9485002C
|
||||
:100040000C94D9020C9485000C94A7020C948102A4
|
||||
:100050000C9485000C9485000C9485000C9485000C
|
||||
:100060000C9485000C9485000000000024002700FB
|
||||
:100070002A0000000000250028002B0004040404CE
|
||||
:100080000404040402020202020203030303030342
|
||||
:10009000010204081020408001020408102001021F
|
||||
:1000A00004081020000000080002010000030407FB
|
||||
:1000B0000000000000000000A80411241FBECFEFC4
|
||||
:1000C000D8E0DEBFCDBF11E0A0E0B1E0E0E7FAE0AC
|
||||
:1000D00002C005900D92AC32B107D9F721E0ACE235
|
||||
:1000E000B1E001C01D92A83DB207E1F710E0CDE5F7
|
||||
:1000F000D0E004C02197FE010E943005CC35D10725
|
||||
:10010000C9F70E9423030C9436050C940000EDEA15
|
||||
:10011000F0E02491E9E9F0E09491E5E8F0E0E49181
|
||||
:10012000EE23C9F0222339F0233001F1A8F4213065
|
||||
:1001300019F1223029F1F0E0EE0FFF1FEE58FF4FCA
|
||||
:10014000A591B4912FB7F894EC91811126C09095A8
|
||||
:100150009E239C932FBF08952730A9F02830C9F023
|
||||
:10016000243049F7209180002F7D03C0209180002A
|
||||
:100170002F7720938000DFCF24B52F7724BDDBCFEE
|
||||
:1001800024B52F7DFBCF2091B0002F772093B000B6
|
||||
:10019000D2CF2091B0002F7DF9CF9E2BDACFAF9236
|
||||
:1001A000BF92CF92DF92EF92FF920F931F93CF9364
|
||||
:1001B000DF936C017B018B01040F151FEB015E01C6
|
||||
:1001C000AE18BF08C017D10759F06991D601ED915B
|
||||
:1001D000FC910190F081E02DC6010995892B79F7FA
|
||||
:1001E000C501DF91CF911F910F91FF90EF90DF90AC
|
||||
:1001F000CF90BF90AF900895FC01538D448D252F73
|
||||
:1002000030E0842F90E0821B930B541710F0CF96B0
|
||||
:10021000089501970895FC01918D828D981761F0E2
|
||||
:10022000A28DAE0FBF2FB11D5D968C91928D9F5FF9
|
||||
:100230009F73928F90E008958FEF9FEF0895FC01D8
|
||||
:10024000918D828D981731F0828DE80FF11D858D8B
|
||||
:1002500090E008958FEF9FEF0895FC01918D228D1E
|
||||
:10026000892F90E0805C9F4F821B91098F739927A3
|
||||
:1002700008958BE391E00E942D0121E0892B09F480
|
||||
:1002800020E0822F089580E090E0892B29F00E94E1
|
||||
:10029000390181110C9400000895FC01A48DA80F70
|
||||
:1002A000B92FB11DA35ABF4F2C91848D90E00196B8
|
||||
:1002B0008F739927848FA689B7892C93A089B189D8
|
||||
:1002C0008C91837080648C93938D848D981306C079
|
||||
:1002D0000288F389E02D80818F7D80830895EF92DD
|
||||
:1002E000FF920F931F93CF93DF93EC0181E0888FF0
|
||||
:1002F0009B8D8C8D98131AC0E889F989808185FFC0
|
||||
:1003000015C09FB7F894EE89FF896083E889F98961
|
||||
:1003100080818370806480839FBF81E090E0DF9163
|
||||
:10032000CF911F910F91FF90EF900895F62E0B8DB6
|
||||
:1003300010E00F5F1F4F0F731127E02E8C8D8E1171
|
||||
:100340000CC00FB607FCFACFE889F989808185FFD8
|
||||
:10035000F5CFCE010E944D01F1CFEB8DEC0FFD2FBB
|
||||
:10036000F11DE35AFF4FF0829FB7F8940B8FEA8993
|
||||
:10037000FB8980818062CFCFCF93DF93EC01888DA2
|
||||
:100380008823B9F0AA89BB89E889F9898C9185FD10
|
||||
:1003900003C0808186FD0DC00FB607FCF7CF8C919E
|
||||
:1003A00085FFF2CF808185FFEDCFCE010E944D0108
|
||||
:1003B000E9CFDF91CF9108953FB7F8948091310153
|
||||
:1003C00090913201A0913301B091340126B5A89BE0
|
||||
:1003D00005C02F3F19F00196A11DB11D3FBFBA2FD7
|
||||
:1003E000A92F982F8827BC01CD01620F711D811D97
|
||||
:1003F000911D42E0660F771F881F991F4A95D1F71C
|
||||
:100400000895FC0101900020E9F73197AF01481BE6
|
||||
:10041000590BBC018BE391E00C94CF008F929F921B
|
||||
:10042000AF92BF920F931F93CF93DF93CDB7DEB7F9
|
||||
:10043000A1970FB6F894DEBF0FBECDBF19A2423010
|
||||
:1004400008F44AE08E010F5D1F4F842E912CB12CD1
|
||||
:10045000A12CA50194010E94FF04E62FB901CA0155
|
||||
:10046000EA30F4F4E05DD801EE938D01232B242BC8
|
||||
:10047000252B79F790E080E0109719F0CD010E94CC
|
||||
:100480000102A1960FB6F894DEBF0FBECDBFDF917B
|
||||
:10049000CF911F910F91BF90AF909F908F90089533
|
||||
:1004A000E95CE1CFCF92DF92EF92FF92CF93DF939F
|
||||
:1004B0006B017C016DE28BE391E00E946F01EC0126
|
||||
:1004C00066277727CB016C197D098E099F094AE0C1
|
||||
:1004D0000E940E028C0F9D1FDF91CF91FF90EF9035
|
||||
:1004E000DF90CF900895CF93DF930E940102EC013B
|
||||
:1004F00082E191E00E9401028C0F9D1FDF91CF915C
|
||||
:1005000008951F920F920FB60F9211242F933F93CD
|
||||
:100510004F935F936F937F938F939F93AF93BF930B
|
||||
:10052000EF93FF938BE391E00E944D01FF91EF91D8
|
||||
:10053000BF91AF919F918F917F916F915F914F91FB
|
||||
:100540003F912F910F900FBE0F901F9018951F9203
|
||||
:100550000F920FB60F9211242F938F939F93EF93C7
|
||||
:10056000FF93E0914B01F0914C018081E0915101AA
|
||||
:10057000F091520182FD1BC09081809154018F5FE8
|
||||
:100580008F7320915501821741F0E0915401F0E002
|
||||
:10059000E55CFE4F958F80935401FF91EF919F9101
|
||||
:1005A0008F912F910F900FBE0F901F901895808103
|
||||
:1005B000F4CF1F920F920FB60F9211242F933F93F7
|
||||
:1005C0008F939F93AF93BF9380912D0190912E01B4
|
||||
:1005D000A0912F01B091300130912C0123E0230F25
|
||||
:1005E0002D3758F50196A11DB11D20932C01809344
|
||||
:1005F0002D0190932E01A0932F01B0933001809193
|
||||
:10060000310190913201A0913301B09134010196F2
|
||||
:10061000A11DB11D8093310190933201A09333014C
|
||||
:10062000B0933401BF91AF919F918F913F912F91E2
|
||||
:100630000F900FBE0F901F90189526E8230F02967B
|
||||
:10064000A11DB11DD2CF789484B5826084BD84B5DC
|
||||
:10065000816084BD85B5826085BD85B5816085BDBD
|
||||
:1006600080916E00816080936E0010928100809175
|
||||
:1006700081008260809381008091810081608093FD
|
||||
:100680008100809180008160809380008091B10022
|
||||
:1006900084608093B1008091B00081608093B0004D
|
||||
:1006A00080917A00846080937A0080917A008260E1
|
||||
:1006B00080937A0080917A00816080937A008091A3
|
||||
:1006C0007A00806880937A001092C100E0914B011B
|
||||
:1006D000F0914C0182E08083E0914701F091480164
|
||||
:1006E0001082E0914901F0914A018FEC80831092D1
|
||||
:1006F0005301E0914F01F091500186E08083E09139
|
||||
:100700004D01F0914E01808180618083E0914D0127
|
||||
:10071000F0914E01808188608083E0914D01F091DD
|
||||
:100720004E01808180688083E0914D01F0914E01FF
|
||||
:1007300080818F7D808385E191E00E947302442453
|
||||
:100740004A9473E0572E612C712CE5E82E2EE0E0E0
|
||||
:100750003E2E0DEA10E0C0E0D0E020E420937C00C3
|
||||
:1007600080917A00806480937A0080917A0086FD7F
|
||||
:10077000FCCF90917800809179008927982789276C
|
||||
:10078000092E000CAA0BBB0B809337019093380104
|
||||
:10079000A0933901B0933A018DE191E00E94730278
|
||||
:1007A00060913701709138018091390190913A013F
|
||||
:1007B00097FF80C00E94520282E191E00E940102F4
|
||||
:1007C00020913701309138014091390150913A011F
|
||||
:1007D000AFEFB0E00E94F404A30192010E94D5049F
|
||||
:1007E000A9013093360120933501E9E9F0E0F49056
|
||||
:1007F000F1018491882399F090E0880F991FFC0102
|
||||
:10080000E859FF4FA591B491FC01EE58FF4F659157
|
||||
:1008100074918FB7F8949C91F92AFC928FBF41157F
|
||||
:10082000510509F04BC080E00E94870085E291E00D
|
||||
:100830000E9473026091350170913601072E000C01
|
||||
:10084000880B990B97FF80C00E94520282E191E0D1
|
||||
:100850000E9401020E94DC014B015C0184EFC82E62
|
||||
:10086000DD24D394E12CF12C0E94DC016819790974
|
||||
:100870008A099B09683E734081059105A8F3F1E060
|
||||
:10088000CF1AD108E108F10828EE820E23E0921E6B
|
||||
:10089000A11CB11CC114D104E104F10429F7209773
|
||||
:1008A00009F45BCF0E943901882309F456CF0E94D6
|
||||
:1008B000000053CF4AE00E940E027ECF4F3F510509
|
||||
:1008C00011F481E0B1CFF8018491833019F140F443
|
||||
:1008D0008130B1F08230C9F04038510594F7A3CF90
|
||||
:1008E000873011F1883041F18430B1F78091800078
|
||||
:1008F00080628093800030938B0020938A0096CF93
|
||||
:1009000084B5806884BD27BD91CF84B5806284BDE5
|
||||
:1009100028BD8CCF809180008068809380003093C8
|
||||
:1009200089002093880082CF8091B00080688093F6
|
||||
:10093000B0002093B3007ACF8091B00080628093A2
|
||||
:10094000B0002093B40072CF4AE00E940E027ECF26
|
||||
:10095000EBE3F1E01382128288EE93E0A0E0B0E0D6
|
||||
:1009600084839583A683B78384E091E09183808319
|
||||
:1009700085EC90E09587848784EC90E09787868764
|
||||
:1009800080EC90E0918B808B81EC90E0938B828B5C
|
||||
:1009900082EC90E0958B848B86EC90E0978B868B35
|
||||
:1009A000118E128E138E148E0895052E97FB1EF451
|
||||
:1009B00000940E94EC0457FD07D00E94FF0407FC3E
|
||||
:1009C00003D04EF40C94EC0450954095309521954D
|
||||
:1009D0003F4F4F4F5F4F089590958095709561956B
|
||||
:1009E0007F4F8F4F9F4F08950E942105A59F900D27
|
||||
:1009F000B49F900DA49F800D911D11240895A1E234
|
||||
:100A00001A2EAA1BBB1BFD010DC0AA1FBB1FEE1F88
|
||||
:100A1000FF1FA217B307E407F50720F0A21BB30BD3
|
||||
:100A2000E40BF50B661F771F881F991F1A9469F74F
|
||||
:100A300060957095809590959B01AC01BD01CF01AB
|
||||
:100A40000895A29FB001B39FC001A39F700D811DA7
|
||||
:100A50001124911DB29F700D811D1124911D0895C7
|
||||
:100A6000EE0FFF1F0590F491E02D0994F894FFCF4D
|
||||
:100A7000000000006F01CF00FC00BC012D010B0144
|
||||
:100A80001F010D0A0054726F6C61736F0076616C08
|
||||
:0C0A90006F723A20006769726F3A200014
|
||||
:00000001FF
|
||||
19
Week 3/Relay-Motor/Relay-Motor.ino
Normal file
19
Week 3/Relay-Motor/Relay-Motor.ino
Normal file
@@ -0,0 +1,19 @@
|
||||
long val;
|
||||
int spin;
|
||||
|
||||
void setup() {
|
||||
Serial.begin(9600);
|
||||
Serial.println("Trolaso");
|
||||
}
|
||||
|
||||
void loop() {
|
||||
val = analogRead(A0);
|
||||
Serial.println("valor: ");
|
||||
Serial.println(val);
|
||||
spin = map(val, 0, 1023, 0, 255);
|
||||
|
||||
analogWrite(9, spin);
|
||||
Serial.println("giro: ");
|
||||
Serial.println(spin);
|
||||
delay(500);
|
||||
}
|
||||
BIN
Week 3/Relay/Relay.arduino.avr.uno.elf
Executable file
BIN
Week 3/Relay/Relay.arduino.avr.uno.elf
Executable file
Binary file not shown.
60
Week 3/Relay/Relay.arduino.avr.uno.hex
Normal file
60
Week 3/Relay/Relay.arduino.avr.uno.hex
Normal file
@@ -0,0 +1,60 @@
|
||||
:100000000C945C000C946E000C946E000C946E00CA
|
||||
:100010000C946E000C946E000C946E000C946E00A8
|
||||
:100020000C946E000C946E000C946E000C946E0098
|
||||
:100030000C946E000C946E000C946E000C946E0088
|
||||
:100040000C9413010C946E000C946E000C946E00D2
|
||||
:100050000C946E000C946E000C946E000C946E0068
|
||||
:100060000C946E000C946E00000000080002010069
|
||||
:100070000003040700000000000000000000000072
|
||||
:10008000250028002B0000000000240027002A0083
|
||||
:10009000040404040404040402020202020203032E
|
||||
:1000A0000303030301020408102040800102040836
|
||||
:1000B000102001020408102011241FBECFEFD8E049
|
||||
:1000C000DEBFCDBF21E0A0E0B1E001C01D92A930AC
|
||||
:1000D000B207E1F70E945D010C94D6010C94000078
|
||||
:1000E00090E0FC01E859FF4F2491FC01EC55FF4FD3
|
||||
:1000F0003491FC01E057FF4FE491EE23C9F0222335
|
||||
:1001000039F0233001F1A8F4213019F1223029F11E
|
||||
:10011000F0E0EE0FFF1FE458FF4FA591B4918FB7A9
|
||||
:10012000F894EC91611126C030953E233C938FBF2B
|
||||
:1001300008952730A9F02830C9F0243049F780917C
|
||||
:1001400080008F7D03C0809180008F778093800036
|
||||
:10015000DFCF84B58F7784BDDBCF84B58F7DFBCFB8
|
||||
:100160008091B0008F778093B000D2CF8091B000A3
|
||||
:100170008F7DF9CF3E2BDACF3FB7F8948091050100
|
||||
:1001800090910601A0910701B091080126B5A89BA6
|
||||
:1001900005C02F3F19F00196A11DB11D3FBFBA2F19
|
||||
:1001A000A92F982F8827BC01CD01620F711D811DD9
|
||||
:1001B000911D42E0660F771F881F991F4A95D1F75E
|
||||
:1001C00008958F929F92AF92BF92CF92DF92EF925B
|
||||
:1001D000FF924B015C010E94BC006B017C010E94FC
|
||||
:1001E000BC006C197D098E099F09683E734081052A
|
||||
:1001F0009105A8F321E0821A9108A108B10888EEC0
|
||||
:10020000C80E83E0D81EE11CF11C81149104A104E6
|
||||
:10021000B10429F7FF90EF90DF90CF90BF90AF909F
|
||||
:100220009F908F9008951F920F920FB60F921124F6
|
||||
:100230002F933F938F939F93AF93BF93809101012F
|
||||
:1002400090910201A0910301B0910401309100014D
|
||||
:1002500023E0230F2D3758F50196A11DB11D2093E2
|
||||
:1002600000018093010190930201A0930301B093D8
|
||||
:1002700004018091050190910601A0910701B091C0
|
||||
:1002800008010196A11DB11D8093050190930601FF
|
||||
:10029000A0930701B0930801BF91AF919F918F91F7
|
||||
:1002A0003F912F910F900FBE0F901F90189526E849
|
||||
:1002B000230F0296A11DB11DD2CF789484B5826020
|
||||
:1002C00084BD84B5816084BD85B5826085BD85B5FA
|
||||
:1002D000816085BD80916E00816080936E00109278
|
||||
:1002E00081008091810082608093810080918100F3
|
||||
:1002F0008160809381008091800081608093800084
|
||||
:100300008091B10084608093B1008091B0008160E1
|
||||
:100310008093B00080917A00846080937A0080910D
|
||||
:100320007A00826080937A0080917A008160809365
|
||||
:100330007A0080917A00806880937A001092C100E0
|
||||
:10034000EBEAF0E02491E7E9F0E08491882399F06A
|
||||
:1003500090E0880F991FFC01EA57FF4FA591B491D7
|
||||
:10036000FC01E458FF4F859194918FB7F894EC917C
|
||||
:10037000E22BEC938FBFC0E0D0E061E087E00E9409
|
||||
:10038000700060E177E280E090E00E94E10060E0D0
|
||||
:1003900087E00E94700068E873E180E090E00E94CE
|
||||
:1003A000E100209751F30E940000E7CFF894FFCFBF
|
||||
:00000001FF
|
||||
13
Week 3/Relay/Relay.ino
Normal file
13
Week 3/Relay/Relay.ino
Normal file
@@ -0,0 +1,13 @@
|
||||
// Relay
|
||||
int relay = 7;
|
||||
|
||||
void setup() {
|
||||
pinMode(relay, OUTPUT);
|
||||
}
|
||||
|
||||
void loop() {
|
||||
digitalWrite(relay, HIGH);
|
||||
delay(10000);
|
||||
digitalWrite(relay, LOW);
|
||||
delay(5000);
|
||||
}
|
||||
BIN
Week 3/Servo-Control/Servo-Control.arduino.avr.uno.elf
Executable file
BIN
Week 3/Servo-Control/Servo-Control.arduino.avr.uno.elf
Executable file
Binary file not shown.
216
Week 3/Servo-Control/Servo-Control.arduino.avr.uno.hex
Normal file
216
Week 3/Servo-Control/Servo-Control.arduino.avr.uno.hex
Normal file
@@ -0,0 +1,216 @@
|
||||
:100000000C945D000C9485000C9485000C94850084
|
||||
:100010000C9485000C9485000C9485000C9485004C
|
||||
:100020000C9485000C9485000C9485000C94F502CA
|
||||
:100030000C9485000C9485000C9485000C9485002C
|
||||
:100040000C94AB020C9485000C9479020C9453022E
|
||||
:100050000C9485000C9485000C9485000C9485000C
|
||||
:100060000C9485000C94850000000008000201003B
|
||||
:100070000003040700000000000000000000000072
|
||||
:10008000250028002B0000000000240027002A0083
|
||||
:10009000040404040404040402020202020203032E
|
||||
:1000A0000303030301020408102040800102040836
|
||||
:1000B0001020010204081020B10311241FBECFEF4D
|
||||
:1000C000D8E0DEBFCDBF11E0A0E0B1E0E2E2FDE0AC
|
||||
:1000D00002C005900D92A633B107D9F722E0A6E33E
|
||||
:1000E000B1E001C01D92A730B207E1F710E0CDE505
|
||||
:1000F000D0E004C02197FE010E948906CC35D107CB
|
||||
:10010000C9F70E940E040C948F060C940000AF9265
|
||||
:10011000BF92CF92DF92EF92FF920F931F93CF93F4
|
||||
:10012000DF936C017B018B01040F151FEB015E0156
|
||||
:10013000AE18BF08C017D10759F06991D601ED91EB
|
||||
:10014000FC910190F081E02DC6010995892B79F78A
|
||||
:10015000C501DF91CF911F910F91FF90EF90DF903C
|
||||
:10016000CF90BF90AF900895FC01538D448D252F03
|
||||
:1001700030E0842F90E0821B930B541710F0CF9641
|
||||
:10018000089501970895FC01918D828D981761F073
|
||||
:10019000A28DAE0FBF2FB11D5D968C91928D9F5F8A
|
||||
:1001A0009F73928F90E008958FEF9FEF0895FC0169
|
||||
:1001B000918D828D981731F0828DE80FF11D858D1C
|
||||
:1001C00090E008958FEF9FEF0895FC01918D228DAF
|
||||
:1001D000892F90E0805C9F4F821B91098F73992734
|
||||
:1001E000089582E491E00E94E50021E0892B09F462
|
||||
:1001F00020E0822F089580E090E0892B29F00E9472
|
||||
:10020000F10081110C9400000895FC01A48DA80F49
|
||||
:10021000B92FB11DA35ABF4F2C91848D90E0019648
|
||||
:100220008F739927848FA689B7892C93A089B18968
|
||||
:100230008C91837080648C93938D848D981306C009
|
||||
:100240000288F389E02D80818F7D80830895EF926D
|
||||
:10025000FF920F931F93CF93DF93EC0181E0888F80
|
||||
:100260009B8D8C8D98131AC0E889F989808185FF50
|
||||
:1002700015C09FB7F894EE89FF896083E889F989F2
|
||||
:1002800080818370806480839FBF81E090E0DF91F4
|
||||
:10029000CF911F910F91FF90EF900895F62E0B8D47
|
||||
:1002A00010E00F5F1F4F0F731127E02E8C8D8E1102
|
||||
:1002B0000CC00FB607FCFACFE889F989808185FF69
|
||||
:1002C000F5CFCE010E940501F1CFEB8DEC0FFD2F94
|
||||
:1002D000F11DE35AFF4FF0829FB7F8940B8FEA8924
|
||||
:1002E000FB8980818062CFCFCF93DF93EC01888D33
|
||||
:1002F0008823B9F0AA89BB89E889F9898C9185FDA1
|
||||
:1003000003C0808186FD0DC00FB607FCF7CF8C912E
|
||||
:1003100085FFF2CF808185FFEDCFCE010E940501E0
|
||||
:10032000E9CFDF91CF91089590E0FC01E859FF4FAC
|
||||
:100330002491FC01EC55FF4F3491FC01E057FF4F35
|
||||
:10034000E491EE23C9F0222339F0233001F1A8F41F
|
||||
:10035000213019F1223029F1F0E0EE0FFF1FE458AF
|
||||
:10036000FF4FA591B4918FB7F894EC91611126C01D
|
||||
:1003700030953E233C938FBF08952730A9F0283055
|
||||
:10038000C9F0243049F7809180008F7D03C08091AF
|
||||
:1003900080008F7780938000DFCF84B58F7784BD16
|
||||
:1003A000DBCF84B58F7DFBCF8091B0008F778093BA
|
||||
:1003B000B000D2CF8091B0008F7DF9CF3E2BDACF45
|
||||
:1003C0003FB7F89480913C0190913D01A0913E018E
|
||||
:1003D000B0913F0126B5A89B05C02F3F19F00196AB
|
||||
:1003E000A11DB11D3FBFBA2FA92F982F8827BC018F
|
||||
:1003F000CD01620F711D811D911D42E0660F771FB7
|
||||
:10040000881F991F4A95D1F708958F929F92AF92B6
|
||||
:10041000BF920F931F93CF93DF93CDB7DEB7A19712
|
||||
:100420000FB6F894DEBF0FBECDBF19A2423008F45C
|
||||
:100430004AE08E010F5D1F4F842E912CB12CA12C10
|
||||
:10044000A50194010E944506E62FB901CA01EA30D0
|
||||
:1004500044F5E05DD801EE938D01232B242B252B51
|
||||
:1004600079F790E080E0109769F0FD01019000209D
|
||||
:10047000E9F73197AF014A1B5B0BBD0182E491E0C4
|
||||
:100480000E948700A1960FB6F894DEBF0FBECDBFC5
|
||||
:10049000DF91CF911F910F91BF90AF909F908F9060
|
||||
:1004A0000895E95CD7CF1F920F920FB60F921124D7
|
||||
:1004B0002F933F934F935F936F937F938F939F936C
|
||||
:1004C000AF93BF93EF93FF9382E491E00E94050105
|
||||
:1004D000FF91EF91BF91AF919F918F917F916F911C
|
||||
:1004E0005F914F913F912F910F900FBE0F901F90F2
|
||||
:1004F00018951F920F920FB60F9211242F938F937E
|
||||
:100500009F93EF93FF93E0915201F091530180810B
|
||||
:10051000E0915801F091590182FD1BC090818091BA
|
||||
:100520005B018F5F8F7320915C01821741F0E09136
|
||||
:100530005B01F0E0EE5BFE4F958F80935B01FF91D6
|
||||
:10054000EF919F918F912F910F900FBE0F901F9061
|
||||
:1005500018958081F4CF1F920F920FB60F9211243D
|
||||
:100560002F933F938F939F93AF93BF9380913801C5
|
||||
:1005700090913901A0913A01B0913B01309137013E
|
||||
:1005800023E0230F2D3758F50196A11DB11D2093AF
|
||||
:1005900037018093380190933901A0933A01B093C9
|
||||
:1005A0003B0180913C0190913D01A0913E01B091B1
|
||||
:1005B0003F010196A11DB11D80933C0190933D0127
|
||||
:1005C000A0933E01B0933F01BF91AF919F918F9156
|
||||
:1005D0003F912F910F900FBE0F901F90189526E816
|
||||
:1005E000230F0296A11DB11DD2CF1F920F920FB6FD
|
||||
:1005F0000F9211242F933F934F935F936F937F93A9
|
||||
:100600008F939F93AF93BF93CF93DF93EF93FF931A
|
||||
:1006100080913601C0910302D0E087FF24C0109280
|
||||
:10062000850010928400809136018F5F809336019F
|
||||
:1006300080913601082E000C990B8C179D0724F42D
|
||||
:10064000809136018C30C4F18091840090918500B6
|
||||
:10065000049680349C4908F47AC08091840090917B
|
||||
:100660008500049676C080913601082E000C990B07
|
||||
:100670008C179D07C4F6E09136018E2FEE0F990B73
|
||||
:10068000FC01EE0FFF1FE80FF91FE152FE4F8081C2
|
||||
:1006900086FFC9CFE09136018E2FEE0F990BFC013A
|
||||
:1006A000EE0FFF1FE80FF91FE152FE4F808160E05F
|
||||
:1006B0008F730E949401B7CF209184003091850000
|
||||
:1006C000E09136018E2FEE0F990BFC01EE0FFF1F0C
|
||||
:1006D000E80FF91FE152FE4F81819281820F931F33
|
||||
:1006E0009093890080938800E09136018E2FEE0F61
|
||||
:1006F000990BFC01EE0FFF1FE80FF91FE152FE4FAF
|
||||
:10070000808186FF11C0E09136018E2FEE0F990B8C
|
||||
:10071000FC01EE0FFF1FE80FF91FE152FE4F808131
|
||||
:1007200061E08F730E949401FF91EF91DF91CF916F
|
||||
:10073000BF91AF919F918F917F916F915F914F91F9
|
||||
:100740003F912F910F900FBE0F901F90189580E44E
|
||||
:100750009CE990938900809388008FEF8093360105
|
||||
:10076000E3CF109245011092440188EE93E0A0E09F
|
||||
:10077000B0E08093460190934701A0934801B09365
|
||||
:10078000490184E091E0909343018093420185EC1C
|
||||
:1007900090E090934F0180934E0184EC90E0909311
|
||||
:1007A00051018093500180EC90E09093530180932D
|
||||
:1007B000520181EC90E0909355018093540182ECBA
|
||||
:1007C00090E0909357018093560186EC90E09093CF
|
||||
:1007D00059018093580110925B0110925C011092B4
|
||||
:1007E0005D0110925E01809103028C3098F491E0DB
|
||||
:1007F000980F909303028093040290E0FC01EE0FA7
|
||||
:10080000FF1FE80FF91FE152FE4F88EB9BE0928338
|
||||
:10081000818308958FEF809304020895789484B5BE
|
||||
:10082000826084BD84B5816084BD85B5826085BDEC
|
||||
:1008300085B5816085BD80916E00816080936E007A
|
||||
:10084000109281008091810082608093810080916C
|
||||
:10085000810081608093810080918000816080931D
|
||||
:1008600080008091B10084608093B1008091B000DD
|
||||
:1008700081608093B00080917A00846080937A00D8
|
||||
:1008800080917A00826080937A0080917A00816002
|
||||
:1008900080937A0080917A00806880937A00109229
|
||||
:1008A000C100809104028C3008F068C0EAEAF0E0F0
|
||||
:1008B0002491E6E9F0E08491882399F090E0880F94
|
||||
:1008C000991FFC01EA57FF4FA591B491FC01E45830
|
||||
:1008D000FF4F859194918FB7F894EC91E22BEC93B4
|
||||
:1008E0008FBF80910402282F30E0F901EE0FFF1F27
|
||||
:1008F000E20FF31FE152FE4F9081907C966090834F
|
||||
:1009000010920502109206022CE0622F0E947606D9
|
||||
:10091000829FB001112430E020E0AB01420F531F51
|
||||
:10092000FA01EE0FFF1FE40FF51FE152FE4F908119
|
||||
:1009300096FD16C02F5F3F4F2C30310571F78111A6
|
||||
:100940000FC01092800082E0809381001092850099
|
||||
:1009500010928400B19A80916F00826080936F0042
|
||||
:10096000E09104028E2F90E0FC01EE0FFF1FE80FD4
|
||||
:10097000F91FE152FE4F808180648083E091520133
|
||||
:10098000F091530182E08083E0914E01F0914F019C
|
||||
:100990001082E0915001F09151018FEC8083109210
|
||||
:1009A0005A01E0915601F091570186E08083E09171
|
||||
:1009B0005401F0915501808180618083E091540160
|
||||
:1009C000F0915501808188608083E0915401F0911D
|
||||
:1009D0005501808180688083E0915401F091550138
|
||||
:1009E00080818F7D808308E810E0C8E5D2E024EBA9
|
||||
:1009F000422E512C612C712C30E0232E30E0332E0E
|
||||
:100A000025E420937C0080917A00806480937A00B2
|
||||
:100A100080917A0086FDFCCF9091780080917900DA
|
||||
:100A2000892798278927909341018093400146E1C7
|
||||
:100A300050E062E171E082E491E00E948700C090A2
|
||||
:100A40004001D09041010D2C000CEE08FF084AE057
|
||||
:100A5000C701B601F7FE0DC06DE282E491E00E948D
|
||||
:100A6000270166277727CB016C197D098E099F091D
|
||||
:100A70004AE00E940502A0914001B091410124EB9F
|
||||
:100A800030E00E9482062FEF33E040E050E00E9409
|
||||
:100A9000130630934101209340014CE050E069E29D
|
||||
:100AA00071E082E491E00E948700C0904001D09004
|
||||
:100AB00041010D2C000CEE08FF084AE0C701B60109
|
||||
:100AC000F7FE0DC06DE282E491E00E9427016627E7
|
||||
:100AD0007727CB016C197D098E099F094AE00E9496
|
||||
:100AE0000502A0914001B0914101A03232E0B3076C
|
||||
:100AF000B4F5809105026801C81AD10887FDD39426
|
||||
:100B0000CC0CDD1CCC0CDD1C0D2C000CEE08FF0801
|
||||
:100B1000809106029E01281B310987FD3395220F23
|
||||
:100B2000331F220F331F032E000C440B550B2C19BF
|
||||
:100B30003D094E095F09A53BB10514F0A4EBB0E0F7
|
||||
:100B4000B7FF02C0B0E0A0E00E943D06A301920101
|
||||
:100B50000E941306C20ED31EE41EF51ED60140915C
|
||||
:100B600004024C3080F5809105029801281B310960
|
||||
:100B700087FD3395C901880F991F880F991FA81702
|
||||
:100B8000B90784F0809106029E01281B310987FD78
|
||||
:100B90003395C901880F991F880F991FA817B907A6
|
||||
:100BA0000CF4CD010297880F991F6FB7F89450E0AD
|
||||
:100BB0009A01220F331F240F351FF901E152FE4F16
|
||||
:100BC000928381836FBF0E94E0014B015C018FE043
|
||||
:100BD000C82ED12CE12CF12C0E94E0016819790972
|
||||
:100BE0008A099B09683E734081059105A8F331E0AD
|
||||
:100BF000C31AD108E108F10888EE880E83E0981E38
|
||||
:100C0000A11CB11CC114D104E104F10429F7211481
|
||||
:100C1000310409F4F5CE0E94F100882309F4F0CEE6
|
||||
:100C20000E940000EDCE052E97FB1EF400940E945A
|
||||
:100C30002A0657FD07D00E94450607FC03D04EF454
|
||||
:100C40000C942A0650954095309521953F4F4F4F73
|
||||
:100C50005F4F089590958095709561957F4F8F4F68
|
||||
:100C60009F4F08950E946706A59F900DB49F900D19
|
||||
:100C7000A49F800D911D11240895B7FF0C94320696
|
||||
:100C80000E943206821B930B0895A1E21A2EAA1B22
|
||||
:100C9000BB1BFD010DC0AA1FBB1FEE1FFF1FA2172C
|
||||
:100CA000B307E407F50720F0A21BB30BE40BF50B29
|
||||
:100CB000661F771F881F991F1A9469F760957095B2
|
||||
:100CC000809590959B01AC01BD01CF010895A29F35
|
||||
:100CD000B001B39FC001A39F700D811D1124911D10
|
||||
:100CE000B29F700D811D1124911D0895991B79E00B
|
||||
:100CF00004C0991F961708F0961B881F7A95C9F7AC
|
||||
:100D0000809508950E946706B7FF0895821B930B94
|
||||
:100D10000895EE0FFF1F0590F491E02D0994F894CB
|
||||
:020D2000FFCF03
|
||||
:100D22000000000027018700B4007401E500C30041
|
||||
:100D3200D70056616C6F7220706F74656E6369C301
|
||||
:100D4200B36D6574726F3A2000202D20C3816E67E7
|
||||
:060D5200756C6F3A2000F1
|
||||
:00000001FF
|
||||
26
Week 3/Servo-Control/Servo-Control.ino
Normal file
26
Week 3/Servo-Control/Servo-Control.ino
Normal file
@@ -0,0 +1,26 @@
|
||||
#include <Servo.h>
|
||||
|
||||
Servo myservo;
|
||||
|
||||
int potentiometer = A5;
|
||||
int val;
|
||||
|
||||
void setup() {
|
||||
myservo.attach(6);
|
||||
Serial.begin(9600);
|
||||
}
|
||||
|
||||
void loop() {
|
||||
val = analogRead(potentiometer);
|
||||
|
||||
Serial.print("Valor potenciómetro: ");
|
||||
Serial.print(val);
|
||||
|
||||
val = map(val, 0, 1023, 0, 180);
|
||||
|
||||
Serial.print(" - Ángulo: ");
|
||||
Serial.print(val);
|
||||
|
||||
myservo.write(val);
|
||||
delay(15);
|
||||
}
|
||||
BIN
Week 3/Servo/Servo.arduino.avr.uno.elf
Executable file
BIN
Week 3/Servo/Servo.arduino.avr.uno.elf
Executable file
Binary file not shown.
112
Week 3/Servo/Servo.arduino.avr.uno.hex
Normal file
112
Week 3/Servo/Servo.arduino.avr.uno.hex
Normal file
@@ -0,0 +1,112 @@
|
||||
:100000000C945D000C9485000C9485000C94850084
|
||||
:100010000C9485000C9485000C9485000C9485004C
|
||||
:100020000C9485000C9485000C9485000C94AE0112
|
||||
:100030000C9485000C9485000C9485000C9485002C
|
||||
:100040000C9464010C9485000C9485000C9485003C
|
||||
:100050000C9485000C9485000C9485000C9485000C
|
||||
:100060000C9485000C94850000000008000201003B
|
||||
:100070000003040700000000000000000000000072
|
||||
:10008000250028002B0000000000240027002A0083
|
||||
:10009000040404040404040402020202020203032E
|
||||
:1000A0000303030301020408102040800102040836
|
||||
:1000B0001020010204081020480311241FBECFEFB6
|
||||
:1000C000D8E0DEBFCDBF11E0A0E0B1E0EEEEF6E09B
|
||||
:1000D00002C005900D92A030B107D9F721E0A0E051
|
||||
:1000E000B1E001C01D92A233B207E1F710E0CDE507
|
||||
:1000F000D0E004C02197FE010E946F03CC35D107E8
|
||||
:10010000C9F70E946A020C9475030C940000E091F8
|
||||
:100110000B01EC3088F540910C0128E830E0241BFD
|
||||
:10012000310947FD3395220F331F220F331F8217EA
|
||||
:10013000930784F040910D0128E532E0241B31093A
|
||||
:1001400047FD3395220F331F220F331F821793076A
|
||||
:100150000CF49C0122503109220F331F4FB7F89441
|
||||
:100160008E2F90E0FC01EE0FFF1FE80FF91FE25FFA
|
||||
:10017000FE4F328321834FBF089590E0FC01E85980
|
||||
:10018000FF4F2491FC01EC55FF4F3491FC01E057E7
|
||||
:10019000FF4FE491EE23C9F0222339F0233001F11F
|
||||
:1001A000A8F4213019F1223029F1F0E0EE0FFF1F01
|
||||
:1001B000E458FF4FA591B4918FB7F894EC91611179
|
||||
:1001C00026C030953E233C938FBF08952730A9F079
|
||||
:1001D0002830C9F0243049F7809180008F7D03C01A
|
||||
:1001E000809180008F7780938000DFCF84B58F77F8
|
||||
:1001F00084BDDBCF84B58F7DFBCF8091B0008F773E
|
||||
:100200008093B000D2CF8091B0008F7DF9CF3E2B8C
|
||||
:10021000DACF3FB7F8948091070190910801A0913F
|
||||
:100220000901B0910A0126B5A89B05C02F3F19F01E
|
||||
:100230000196A11DB11D3FBFBA2FA92F982F882766
|
||||
:10024000BC01CD01620F711D811D911D42E0660F41
|
||||
:10025000771F881F991F4A95D1F708958F929F9213
|
||||
:10026000AF92BF92CF92DF92EF92FF920E9409016C
|
||||
:100270004B015C0188EEC82E83E0D82EE12CF12CD6
|
||||
:100280000E940901681979098A099B09683E73402F
|
||||
:1002900081059105A8F321E0C21AD108E108F1080F
|
||||
:1002A00088EE880E83E0981EA11CB11CC114D104F5
|
||||
:1002B000E104F10429F7FF90EF90DF90CF90BF9019
|
||||
:1002C000AF909F908F9008951F920F920FB60F924C
|
||||
:1002D00011242F933F938F939F93AF93BF9380915C
|
||||
:1002E000030190910401A0910501B09106013091A4
|
||||
:1002F000020123E0230F2D3758F50196A11DB11DF2
|
||||
:10030000209302018093030190930401A0930501BF
|
||||
:10031000B09306018091070190910801A091090115
|
||||
:10032000B0910A010196A11DB11D80930701909320
|
||||
:100330000801A0930901B0930A01BF91AF919F9169
|
||||
:100340008F913F912F910F900FBE0F901F90189596
|
||||
:1003500026E8230F0296A11DB11DD2CF1F920F9246
|
||||
:100360000FB60F9211242F933F934F935F936F9388
|
||||
:100370007F938F939F93AF93BF93CF93DF93EF932D
|
||||
:10038000FF9380910101C0910001D0E087FF24C05C
|
||||
:100390001092850010928400809101018F5F8093FC
|
||||
:1003A000010180910101082E000C990B8C179D070B
|
||||
:1003B00024F4809101018C30C4F1809184009091EB
|
||||
:1003C0008500049680349C4908F47AC080918400AA
|
||||
:1003D00090918500049676C080910101082E000C52
|
||||
:1003E000990B8C179D07C4F6E09101018E2FEE0F3B
|
||||
:1003F000990BFC01EE0FFF1FE80FF91FE25FFE4FA4
|
||||
:10040000808186FFC9CFE09101018E2FEE0F990BFD
|
||||
:10041000FC01EE0FFF1FE80FF91FE25FFE4F808126
|
||||
:1004200060E08F730E94BD00B7CF209184003091AF
|
||||
:100430008500E09101018E2FEE0F990BFC01EE0F6C
|
||||
:10044000FF1FE80FF91FE25FFE4F81819281820F4B
|
||||
:10045000931F9093890080938800E09101018E2F73
|
||||
:10046000EE0F990BFC01EE0FFF1FE80FF91FE25F83
|
||||
:10047000FE4F808186FF11C0E09101018E2FEE0FAB
|
||||
:10048000990BFC01EE0FFF1FE80FF91FE25FFE4F13
|
||||
:10049000808161E08F730E94BD00FF91EF91DF9139
|
||||
:1004A000CF91BF91AF919F918F917F916F915F910C
|
||||
:1004B0004F913F912F910F900FBE0F901F90189565
|
||||
:1004C00080E49CE990938900809388008FEF80936B
|
||||
:1004D0000101E3CF789484B5826084BD84B58160E6
|
||||
:1004E00084BD85B5826085BD85B5816085BD8091FF
|
||||
:1004F0006E00816080936E00109281008091810077
|
||||
:10050000826080938100809181008160809381006E
|
||||
:10051000809180008160809380008091B100846030
|
||||
:100520008093B1008091B00081608093B000809191
|
||||
:100530007A00846080937A0080917A008260809350
|
||||
:100540007A0080917A00816080937A0080917A00AD
|
||||
:10055000806880937A001092C10080910B018C30EA
|
||||
:1005600008F068C0EAEAF0E02491E6E9F0E084915E
|
||||
:10057000882399F090E0880F991FFC01EA57FF4FFC
|
||||
:10058000A591B491FC01E458FF4F859194918FB7E8
|
||||
:10059000F894EC91E22BEC938FBF80910B01282F04
|
||||
:1005A00030E0F901EE0FFF1FE20FF31FE25FFE4F95
|
||||
:1005B0009081907C9660908310920C0110920D01B6
|
||||
:1005C0002CE0622F0E946303829FB001112430E06F
|
||||
:1005D00020E0AB01420F531FFA01EE0FFF1FE40FA3
|
||||
:1005E000F51FE25FFE4F908196FD16C02F5F3F4FD3
|
||||
:1005F0002C30310571F781110FC01092800082E01C
|
||||
:10060000809381001092850010928400B19A8091AD
|
||||
:100610006F00826080936F00E0910B018E2F90E05D
|
||||
:10062000FC01EE0FFF1FE80FF91FE25FFE4F808114
|
||||
:1006300080648083C8E8D0E008E512E040E0E42E62
|
||||
:1006400040E0F42E80910C019E01281B310987FDAA
|
||||
:100650003395C901880F991F880F991F0E94870041
|
||||
:100660000E942E0180910D019801281B310987FD00
|
||||
:100670003395C901880F991F880F991F0E94870021
|
||||
:100680000E942E01E114F104E9F20E940000DACF89
|
||||
:10069000809100018C3098F491E0980F90930001C4
|
||||
:1006A00080930B0190E0FC01EE0FFF1FE80FF91F94
|
||||
:1006B000E25FFE4F88EB9BE09283818308958FEF8A
|
||||
:1006C00080930B010895991B79E004C0991F961738
|
||||
:1006D00008F0961B881F7A95C9F780950895EE0F4C
|
||||
:0E06E000FF1F0590F491E02D0994F894FFCFD0
|
||||
:00000001FF
|
||||
14
Week 3/Servo/Servo.ino
Normal file
14
Week 3/Servo/Servo.ino
Normal file
@@ -0,0 +1,14 @@
|
||||
#include <Servo.h>
|
||||
|
||||
Servo myservo;
|
||||
|
||||
void setup() {
|
||||
myservo.attach(6);
|
||||
}
|
||||
|
||||
void loop() {
|
||||
myservo.write(0);
|
||||
delay(1000);
|
||||
myservo.write(180);
|
||||
delay(1000);
|
||||
}
|
||||
BIN
Week 3/Temperature-LCD/Temperature-LCD.arduino.avr.uno.elf
Executable file
BIN
Week 3/Temperature-LCD/Temperature-LCD.arduino.avr.uno.elf
Executable file
Binary file not shown.
444
Week 3/Temperature-LCD/Temperature-LCD.arduino.avr.uno.hex
Normal file
444
Week 3/Temperature-LCD/Temperature-LCD.arduino.avr.uno.hex
Normal file
@@ -0,0 +1,444 @@
|
||||
:100000000C946C000C9494000C9494000C94940048
|
||||
:100010000C9494000C9494000C9494000C94940010
|
||||
:100020000C9494000C9494000C9494000C94940000
|
||||
:100030000C9494000C9494000C9494000C949400F0
|
||||
:100040000C94F1060C9494000C94BF060C94990641
|
||||
:100050000C9494000C9494000C9494000C949400D0
|
||||
:100060000C943B070C94940000000000240027002F
|
||||
:100070002A0000000000250028002B0000000008D6
|
||||
:10008000000201000003040700000000000000005F
|
||||
:1000900043200054656D703A200048756D656461B9
|
||||
:1000A000643A200000000000230026002900040418
|
||||
:1000B0000404040404040202020202020303030310
|
||||
:1000C00003030102040810204080010204081020EC
|
||||
:1000D0000102040810205A0811241FBECFEFD8E0F7
|
||||
:1000E000DEBFCDBF11E0A0E0B1E0E2E5FBE102C080
|
||||
:1000F00005900D92A634B107D9F722E0A6E4B1E04D
|
||||
:1001000001C01D92AC3CB207E1F710E0CCE6D0E0B4
|
||||
:1001100004C02197FE010E94A10DCB36D107C9F77B
|
||||
:100120000E94C2080C94A70D0C940000CF92DF929D
|
||||
:10013000EF92FF92CF93DF93B091B302A0E08111D1
|
||||
:10014000AB2F8091B40290E0880F991FAC014C5501
|
||||
:100150005F4FC090B902D090BA02E090BB02F0901D
|
||||
:10016000BC0230E020E0FA01C591D491E881B901E8
|
||||
:1001700090E080E0EB23EA130AC02F5F3F4F6C153D
|
||||
:100180007D058E059F0578F36FEF7FEFCB01DF9143
|
||||
:10019000CF91FF90EF90DF90CF900895089508954C
|
||||
:1001A000EF92FF920F931F93CF93DF938C017B010C
|
||||
:1001B000D0E0C0E0F701EC0FFD1F6491662361F011
|
||||
:1001C000D801ED91FC910190F081E02DC8010995D5
|
||||
:1001D000892B11F02196EECFCE01DF91CF911F91A7
|
||||
:1001E0000F91FF90EF900895AF92BF92CF92DF9260
|
||||
:1001F000EF92FF920F931F93CF93DF936C017B01DC
|
||||
:100200008B01040F151FEB015E01AE18BF08C0176C
|
||||
:10021000D10759F06991D601ED91FC910190F081DF
|
||||
:10022000E02DC6010995892B79F7C501DF91CF91A2
|
||||
:100230001F910F91FF90EF90DF90CF90BF90AF9004
|
||||
:100240000895FC01538D448D252F30E0842F90E0DC
|
||||
:10025000821B930B541710F0CF96089501970895C1
|
||||
:10026000FC01918D828D981761F0A28DAE0FBF2F8A
|
||||
:10027000B11D5D968C91928D9F5F9F73928F90E0E0
|
||||
:1002800008958FEF9FEF0895FC01918D828D98174F
|
||||
:1002900031F0828DE80FF11D858D90E008958FEF8C
|
||||
:1002A0009FEF0895FC01918D228D892F90E0805C55
|
||||
:1002B0009F4F821B91098F739927089583E092E0E5
|
||||
:1002C0000E94520121E0892B09F420E0822F089539
|
||||
:1002D00080E090E0892B29F00E945E0181110C944E
|
||||
:1002E00000000895FC01A48DA80FB92FB11DA35AD9
|
||||
:1002F000BF4F2C91848D90E001968F739927848F46
|
||||
:10030000A689B7892C93A089B1898C918370806468
|
||||
:100310008C93938D848D981306C00288F389E02D09
|
||||
:1003200080818F7D80830895EF92FF920F931F93BA
|
||||
:10033000CF93DF93EC0181E0888F9B8D8C8D981398
|
||||
:100340001AC0E889F989808185FF15C09FB7F894A4
|
||||
:10035000EE89FF896083E889F989808183708064F0
|
||||
:1003600080839FBF81E090E0DF91CF911F910F913B
|
||||
:10037000FF90EF900895F62E0B8D10E00F5F1F4F4A
|
||||
:100380000F731127E02E8C8D8E110CC00FB607FC59
|
||||
:10039000FACFE889F989808185FFF5CFCE010E94E7
|
||||
:1003A0007201F1CFEB8DEC0FFD2FF11DE35AFF4FE2
|
||||
:1003B000F0829FB7F8940B8FEA89FB898081806275
|
||||
:1003C000CFCFCF93DF93EC01888D8823B9F0AA8932
|
||||
:1003D000BB89E889F9898C9185FD03C0808186FD00
|
||||
:1003E0000DC00FB607FCF7CF8C9185FFF2CF80814F
|
||||
:1003F00085FFEDCFCE010E947201E9CFDF91CF9151
|
||||
:10040000089590E0FC01E458FF4F2491FC01EE5365
|
||||
:10041000FF4F3491FC01E255FF4FE491EE23C9F008
|
||||
:10042000222339F0233001F1A8F4213019F12230D0
|
||||
:1004300029F1F0E0EE0FFF1FEE58FF4FA591B491A8
|
||||
:100440008FB7F894EC91611126C030953E233C9310
|
||||
:100450008FBF08952730A9F02830C9F0243049F71C
|
||||
:10046000809180008F7D03C0809180008F77809382
|
||||
:100470008000DFCF84B58F7784BDDBCF84B58F7DDF
|
||||
:10048000FBCF8091B0008F778093B000D2CF809166
|
||||
:10049000B0008F7DF9CF3E2BDACFCF93DF9390E082
|
||||
:1004A000FC01EE53FF4F249182559F4FFC01849134
|
||||
:1004B0008823D1F090E0880F991FFC01E859FF4F85
|
||||
:1004C000A591B491FC01EE58FF4FC591D4916230D3
|
||||
:1004D00071F49FB7F8943C91822F809583238C937D
|
||||
:1004E000E8812E2B28839FBFDF91CF9108958FB78E
|
||||
:1004F000F894EC912E2B2C938FBFF6CF3FB7F89446
|
||||
:100500008091F0019091F101A091F201B091F3017D
|
||||
:1005100026B5A89B05C02F3F19F00196A11DB11D5E
|
||||
:100520003FBFBA2FA92F982F8827BC01CD01620F9A
|
||||
:10053000711D811D911D42E0660F771F881F991F55
|
||||
:100540004A95D1F708958F929F92AF92BF92CF9222
|
||||
:10055000DF92EF92FF924B015C010E947E026B01E1
|
||||
:100560007C010E947E026C197D098E099F09683EFC
|
||||
:10057000734081059105A8F321E0821A9108A10832
|
||||
:10058000B10888EEC80E83E0D81EE11CF11C81146E
|
||||
:100590009104A104B10429F7FF90EF90DF90CF9070
|
||||
:1005A000BF90AF909F908F900895CF92DF92EF927F
|
||||
:1005B000FF920F931F93CF93DF93CDB7DEB7C05455
|
||||
:1005C000D1400FB6F894DEBF0FBECDBF2FB7F89461
|
||||
:1005D0008091FF0190910002A0910102B09102026E
|
||||
:1005E0002FBF4091B5025091B6026091B702709151
|
||||
:1005F000B8028C019D01041B150B260B370BB901AA
|
||||
:10060000A801403D57406105710590F48091BD02FD
|
||||
:10061000C05CDE4F0FB6F894DEBF0FBECDBFDF91DA
|
||||
:10062000CF911F910F91FF90EF90DF90CF900895A1
|
||||
:100630008093B5029093B602A093B702B093B8022C
|
||||
:100640001092B0021092AF021092AE021092AD0260
|
||||
:100650001092AC0262E08091B1020E944D0261E012
|
||||
:1006600070E080E090E00E94A30261E08091B1021E
|
||||
:100670000E944D0260E08091B1020E9401028091CF
|
||||
:10068000B2028551823020F58BE291E10197F1F7BA
|
||||
:1006900062E08091B1020E944D028091BE0290E022
|
||||
:1006A0008230910538F0880F991F880F991F0597A0
|
||||
:1006B0000197F1F7F89480E00E9496006F3F7F4F1A
|
||||
:1006C0008F4F9F4F61F41092BD02789480E0A0CFCD
|
||||
:1006D00064E170E080E090E00E94A302D9CF81E065
|
||||
:1006E0000E9496006F3F7F4F8F4F9F4F61F38E01A7
|
||||
:1006F0000F5F1F4F6E018FEBC81A8EEFD80A78017B
|
||||
:1007000080E00E949600F701608371838283938367
|
||||
:1007100081E00E949600F701648375838683978346
|
||||
:10072000F8E0EF0EF11CEC14FD0451F7789430E082
|
||||
:1007300020E0F801C080D180E280F38044815581BF
|
||||
:1007400066817781FFEFCF16DF06EF06FF0631F0F7
|
||||
:100750004F3F8FEF58076807780719F41092BD02D2
|
||||
:10076000B5CFF90183E0F595E7958A95E1F7E45572
|
||||
:10077000FD4F8081880FC416D506E606F70610F1F6
|
||||
:1007800080832F5F3F4F085F1F4F2832310589F666
|
||||
:100790004091B0022091AC028091AD02280F332726
|
||||
:1007A000331F8091AE02280F311D8091AF02820F5E
|
||||
:1007B000932F911D99274817190681F681E08093A0
|
||||
:1007C000BD0226CF8160DCCF089585ED8093BC000B
|
||||
:1007D0008091BC0084FDFCCF1092FA010895209115
|
||||
:1007E0008601260F3327331F21323105ECF4209187
|
||||
:1007F000FA01FC0190E080E0243069F082E0089585
|
||||
:10080000A09186012191AC014A595E4FA40FB52FEA
|
||||
:10081000B11D2C930196861798F380918601680F7D
|
||||
:100820006093860180E0089581E008950895E09145
|
||||
:10083000FE018091FD01E81730F4F0E0EA5BFE4F25
|
||||
:10084000808190E008958FEF9FEF08959091FE01D1
|
||||
:100850008091FD012FEF3FEF981748F4E92FF0E06A
|
||||
:10086000EA5BFE4F208130E09F5F9093FE01C9015B
|
||||
:1008700008958091FD019091FE01891B990B0895C7
|
||||
:10088000CF92DF92EF92FF920F931F93CF93DF935C
|
||||
:100890007C01CB018A012091CD01222389F0EB015B
|
||||
:1008A0006B01C40ED51ECC15DD0569F06991D70129
|
||||
:1008B000ED91FC910190F081E02DC7010995F3CFF6
|
||||
:1008C000642F0E94EF03C801DF91CF911F910F9118
|
||||
:1008D000FF90EF90DF90CF900895CF93DF931F921A
|
||||
:1008E000CDB7DEB769832091CD012223F9F02091A5
|
||||
:1008F000FB01203258F021E030E0FC0133832283F9
|
||||
:1009000090E080E00F90DF91CF9108958091FC01FD
|
||||
:10091000E82FF0E0E253FE4F998190838F5F809340
|
||||
:10092000FC018093FB0181E090E0ECCF61E0CE011F
|
||||
:1009300001960E94EF03F7CFCF93FC01C48121E021
|
||||
:100940002093CD01C093EE011092FC011092FB01A7
|
||||
:100950008485682B80EA92E00E946D049091FB01EF
|
||||
:10096000913208F03FC08091FA018111FCCF82E002
|
||||
:100970008093FA0181E08093F9018FEF8093CC019D
|
||||
:100980001092CB019093CA01AEECB1E0EAEAF1E03B
|
||||
:1009900080E098132FC01092A9018091A901CC0F7B
|
||||
:1009A000C82BC093A9018091F801813039F51092CC
|
||||
:1009B000F8018091A9018093BB008091BC0083FD68
|
||||
:1009C000F8CF85EC8093BC008091FA018230E1F38E
|
||||
:1009D0008091CC018F3F31F08091CC01803211F0B9
|
||||
:1009E0008091CC011092FC011092FB011092CD017C
|
||||
:1009F000CF9108952D9121938F5FCBCF85EEE2CFDC
|
||||
:100A000090E080E00895FC0101900020E9F7319723
|
||||
:100A1000AF01481B590BBC018FEB92E00C94F40022
|
||||
:100A20008F929F92AF92BF920F931F93CF93DF93BA
|
||||
:100A3000CDB7DEB7A1970FB6F894DEBF0FBECDBF1E
|
||||
:100A400019A2423008F44AE08E010F5D1F4F842E38
|
||||
:100A5000912CB12CA12CA50194010E947F0DE62FB1
|
||||
:100A6000B901CA01EA30F4F4E05DD801EE938D01DA
|
||||
:100A7000232B242B252B79F790E080E0109719F099
|
||||
:100A8000CD010E940305A1960FB6F894DEBF0FBEFC
|
||||
:100A9000CDBFDF91CF911F910F91BF90AF909F90ED
|
||||
:100AA0008F900895E95CE1CF0F931F93CF938C0152
|
||||
:100AB000C62F0E949C046C2F6460C8010E949C0495
|
||||
:100AC0006C2F6B7FC8010E949C0483EC90E001971F
|
||||
:100AD000F1F7CF911F910F9108950F931F93CF932B
|
||||
:100AE000DF938C01D62FC42F607F642B0E945405A6
|
||||
:100AF00080E1D89FB00111246C2BC801DF91CF9108
|
||||
:100B00001F910F910C945405CF93DF93CDB7DEB7AF
|
||||
:100B100028970FB6F894DEBF0FBECDBF98E0E0E097
|
||||
:100B2000F1E0DE01119601900D929A95E1F7909116
|
||||
:100B3000C702981708F48FEF90E0880F991F21E003
|
||||
:100B400030E02C0F3D1F820F931FFC016081606815
|
||||
:100B500040E08FEB92E028960FB6F894DEBF0FBE10
|
||||
:100B6000CDBFDF91CF910C946D0541E00E946D05E2
|
||||
:100B700081E090E008954F925F926F927F928F9202
|
||||
:100B80009F92AF92BF92CF92DF92EF92FF920F931C
|
||||
:100B90001F93CF936B017C01742EAC019B010E94CB
|
||||
:100BA0007A0D882399F088E391E0CF911F910F91FE
|
||||
:100BB000FF90EF90DF90CF90BF90AF909F908F907D
|
||||
:100BC0007F906F905F904F900C9403054601570102
|
||||
:100BD000E894B7F82FEF3FEF4FE75FE7C501B401A7
|
||||
:100BE0000E947A0D81110DC02FEF3FEF4FE75FE7B5
|
||||
:100BF000C501B4010E94B00B18161CF48CE391E0FF
|
||||
:100C0000D4CF2FEF3FEF4FE75FE4C701B6010E945B
|
||||
:100C1000080D18161CF480E491E0C7CF2FEF3FEFCA
|
||||
:100C20004FE75FECC701B6010E94B00B87FDF3CF21
|
||||
:100C300020E030E0A901C701B6010E94B00B10E02E
|
||||
:100C400000E087FF0CC041E06DE28FEB92E00E9474
|
||||
:100C50006D05F7FAF094F7F8F09401E010E0C0E0C9
|
||||
:100C600060E070E080E09FE37C1641F020E030E03F
|
||||
:100C700040E251E40E94B50BCF5FF6CFA701960189
|
||||
:100C80000E94440B4B015C010E94270C2B013C018C
|
||||
:100C90004AE00E941005080F191FCC23C9F1C301B7
|
||||
:100CA000B2010E94560C9B01AC01C501B4010E9427
|
||||
:100CB000430B4B015C0141E06EE28FEB92E00E943E
|
||||
:100CC0006D050F5F1F4FC15018F120E030E040E28A
|
||||
:100CD00051E4C501B4010E940D0D2B013C010E949D
|
||||
:100CE000270C4B01B12CA12C4AE0C501B4010E9494
|
||||
:100CF0001005080F191FC501B4010E94560C9B0175
|
||||
:100D0000AC01C301B2010E94430B4B015C01DBCF7C
|
||||
:100D1000C801CF911F910F91FF90EF90DF90CF907E
|
||||
:100D2000BF90AF909F908F907F906F905F904F900B
|
||||
:100D300008951F920F920FB60F9211242F933F9395
|
||||
:100D40004F935F936F937F938F939F93AF93BF93D3
|
||||
:100D5000EF93FF9383E092E00E947201FF91EF9185
|
||||
:100D6000BF91AF919F918F917F916F915F914F91C3
|
||||
:100D70003F912F910F900FBE0F901F9018951F92CB
|
||||
:100D80000F920FB60F9211242F938F939F93EF938F
|
||||
:100D9000FF93E0911302F09114028081E091190217
|
||||
:100DA000F0911A0282FD1BC0908180911C028F5F1E
|
||||
:100DB0008F7320911D02821741F0E0911C02F0E038
|
||||
:100DC000ED5FFD4F958F80931C02FF91EF919F91F6
|
||||
:100DD0008F912F910F900FBE0F901F9018958081CB
|
||||
:100DE000F4CF1F920F920FB60F9211242F933F93BF
|
||||
:100DF0008F939F93AF93BF938091FF0190910002D7
|
||||
:100E0000A0910102B09102023091EF0123E0230F83
|
||||
:100E10002D3758F50196A11DB11D2093EF01809348
|
||||
:100E2000FF0190930002A0930102B093020280910F
|
||||
:100E3000F0019091F101A091F201B091F3010196BE
|
||||
:100E4000A11DB11D8093F0019093F101A093F201D7
|
||||
:100E5000B093F301BF91AF919F918F913F912F91EB
|
||||
:100E60000F900FBE0F901F90189526E8230F029643
|
||||
:100E7000A11DB11DD2CF1F920F920FB60F92112458
|
||||
:100E80002F933F934F935F936F937F938F939F9392
|
||||
:100E9000AF93BF93EF93FF938091B900887F803623
|
||||
:100EA00009F44AC0F0F5883209F4A7C018F580317A
|
||||
:100EB00009F49BC0B8F4882309F4F9C0883009F418
|
||||
:100EC00094C0FF91EF91BF91AF919F918F917F91CE
|
||||
:100ED0006F915F914F913F912F910F900FBE0F90A7
|
||||
:100EE0001F901895883109F488C0803251F780939B
|
||||
:100EF000CC0114C0803409F49DC040F48033B9F3B0
|
||||
:100F00008833F9F68093CC0185ECB0C0803509F4C4
|
||||
:100F100085C0883509F496C0883499F60E94E503A7
|
||||
:100F2000D0CF883909F48CC038F5883729F050F4CF
|
||||
:100F3000883611F0803729F683E08093FA01109209
|
||||
:100F4000A80157C0883809F47BC0803919F080386F
|
||||
:100F500009F0B7CF8091A801803208F071C0E0910C
|
||||
:100F6000A80181E08E0F8093A8018091BB00F0E082
|
||||
:100F7000E857FE4F80833DC0803B39F0E0F4803A73
|
||||
:100F800009F479C0883A09F09CCF84E08093FA0193
|
||||
:100F90001092870110928601E091F601F091F7011D
|
||||
:100FA00009958091860181110FC081E080938601AF
|
||||
:100FB0001092660109C0803C09F4A6CF883C09F470
|
||||
:100FC000A3CF883B09F07DCFE091870181E08E0FB0
|
||||
:100FD00080938701F0E0EA59FE4F80818093BB0047
|
||||
:100FE000909187018091860129C08091A901809309
|
||||
:100FF000BB0085EC8093BC0064CF9091CB018091C5
|
||||
:10100000CA01981758F5E091CB0181E08E0F8093CB
|
||||
:10101000CB01F0E0E655FE4F8081E9CFE091CB01B6
|
||||
:1010200081E08E0F8093CB018091BB00F0E0E6550C
|
||||
:10103000FE4F80839091CB018091CA019817C8F22E
|
||||
:1010400085E8D8CFE091CB0181E08E0F8093CB0172
|
||||
:101050008091BB00F0E0E655FE4F80838091F9015E
|
||||
:1010600081115CCF81E08093F80184EA8093BC0019
|
||||
:101070001092FA0126CF85EC8093BC001092FA0101
|
||||
:101080008091A801803230F4E091A801F0E0E857A7
|
||||
:10109000FE4F10826091A80170E0E091F401F091A0
|
||||
:1010A000F50188E891E009951092A8010ACF109205
|
||||
:1010B000CC0134CFE3E0F2E01382128288EE93E0B9
|
||||
:1010C000A0E0B0E084839583A683B7832CE031E071
|
||||
:1010D0003183208325EC30E03587248724EC30E011
|
||||
:1010E0003787268720EC30E0318B208B21EC30E0F5
|
||||
:1010F000338B228B22EC30E0358B248B26EC30E0D6
|
||||
:10110000378B268B118E128E138E148EE0EAF2E04E
|
||||
:101110001382128284839583A683B7838EE191E044
|
||||
:1011200091838083EFEBF2E01382128280E391E0FF
|
||||
:101130009183808311868FE3848380E1828782E0BC
|
||||
:1011400083871486ACEAB2E015968C9315978BE0F2
|
||||
:1011500016968C931697E4ECF0E0E4911796EC93D6
|
||||
:101160001797E0EBF0E0E4911896EC93189740E8BD
|
||||
:101170005EE360E070E01D964D935D936D937C930C
|
||||
:1011800050970895789484B5826084BD84B5816059
|
||||
:1011900084BD85B5826085BD85B5816085BD809142
|
||||
:1011A0006E00816080936E001092810080918100BA
|
||||
:1011B00082608093810080918100816080938100B2
|
||||
:1011C000809180008160809380008091B100846074
|
||||
:1011D0008093B1008091B00081608093B0008091D5
|
||||
:1011E0007A00846080937A0080917A008260809394
|
||||
:1011F0007A0080917A00816080937A0080917A00F1
|
||||
:10120000806880937A001092C10061E087E00E94BC
|
||||
:101210004D0261E085E00E944D0261E086E00E949F
|
||||
:101220004D02E0911302F091140282E08083E0917C
|
||||
:101230000F02F09110021082E0911102F09112025F
|
||||
:101240008FEC808310921B02E0911702F09118023C
|
||||
:1012500086E08083E0911502F09116028081806122
|
||||
:101260008083E0911502F09116028081886080836E
|
||||
:10127000E0911502F0911602808180688083E091F0
|
||||
:101280001502F091160280818F7D808362E080914B
|
||||
:10129000B1020E944D022FB7F8948091FF01909106
|
||||
:1012A0000002A0910102B09102022FBF805D974021
|
||||
:1012B000A109B1098093B5029093B602A093B70239
|
||||
:1012C000B093B80287E38093BE021092FE011092A1
|
||||
:1012D000FD011092FC011092FB011092FA0181E0D5
|
||||
:1012E0008093F9011092F80161E082E10E9401020D
|
||||
:1012F00061E083E10E9401028091B9008E7F8093BA
|
||||
:10130000B9008091B9008D7F8093B90088E4809303
|
||||
:10131000B80085E48093BC008EEC90E09093F701D8
|
||||
:101320008093F6018FEC90E09093F5018093F401A7
|
||||
:101330001092C4028091CA02823018F098E0909313
|
||||
:10134000C4028093C70262E370E080E090E00E94F4
|
||||
:10135000A3026091CB028FEB92E00E949C0468EEA6
|
||||
:1013600073E080E090E00E94A30260E38FEB92E0E4
|
||||
:101370000E945405CBE4D6E4CE010197F1F760E377
|
||||
:101380008FEB92E00E9454052197F1F760E38FEB19
|
||||
:1013900092E00E94540583E592E00197F1F760E244
|
||||
:1013A0008FEB92E00E9454056091C402606240E0BD
|
||||
:1013B0008FEB92E00E946D0584E08093C50240E0CF
|
||||
:1013C0006CE08FEB92E00E946D0540E061E08FEBF6
|
||||
:1013D00092E00E946D058BE39FE10197F1F7809108
|
||||
:1013E000C802882319F080E00E94840582E080937F
|
||||
:1013F000C60240E066E08FEB92E00E946D0540E09F
|
||||
:1014000062E08FEB92E00E946D058BE39FE1019714
|
||||
:10141000F1F788E08093CB0260E08FEB92E00E94CE
|
||||
:101420009C04C0E0D0E060ED77E080E090E00E94B6
|
||||
:10143000A3020E94D502882349F08091B2028B302A
|
||||
:1014400028F08D3050F085518230C0F1812C912CE4
|
||||
:1014500020ECA22E2FE7B22E1EC06091AD0270E0EC
|
||||
:1014600090E080E00E94580C2DEC3CEC4CEC5DE3ED
|
||||
:101470000E940D0D6B017C016091AC0270E090E068
|
||||
:1014800080E00E94580C9B01AC01C701B6010E948C
|
||||
:10149000440B4B015C010E94D502882341F08091EE
|
||||
:1014A000B2028C3009F4A6C0D8F48B3091F1C12C73
|
||||
:1014B000D12C80ECE82E8FE7F82E55C06091AC025D
|
||||
:1014C0007091AD0276276727762790E080E00E9432
|
||||
:1014D000560C2DEC3CEC4CEC5DE30E940D0DD9CF8D
|
||||
:1014E0008551823020F71091AE02612F70E0762F87
|
||||
:1014F000662766277F778091AF02682B90E080E0B7
|
||||
:101500000E94560C2DEC3CEC4CEC5DE30E940D0D62
|
||||
:101510008DC06091AE0270E090E080E00E94560CB9
|
||||
:101520006B017C011091AF0217FF0AC0AC019B0157
|
||||
:1015300060E070E080E89FEB0E94430B6B017C0150
|
||||
:101540001F70612F70E090E080E00E94580C2DEC3D
|
||||
:101550003CEC4CEC5DE30E940D0DA70196010E944E
|
||||
:10156000440B6B017C0180E00E9484056AE970E015
|
||||
:101570008FEB92E00E94D00042E0C501B4010E94CE
|
||||
:10158000BB0584E491E00E94030581E00E9484058C
|
||||
:1015900063E970E08FEB92E00E94D00042E0C70167
|
||||
:1015A000B6010E94BB0560E970E083E092E00E9412
|
||||
:1015B000D00020E030E040EE51E4C701B6010E94C7
|
||||
:1015C000080D87FD3CC061E087E00E94010260E0F9
|
||||
:1015D00085E00E94010260E086E00E9401022097FF
|
||||
:1015E00009F421CF0E945E01882309F41CCF0E94D8
|
||||
:1015F000000019CF1091AE02612F70E090E080E002
|
||||
:101600000E94560C6B017C016091AF026F7070E01C
|
||||
:1016100090E080E00E94580C2DEC3CEC4CEC5DE33B
|
||||
:101620000E940D0DA70196010E94440B6B017C01E5
|
||||
:1016300017FF99CFF7FAF094F7F8F09494CF20E0E1
|
||||
:1016400030E040EA51E4C701B6010E94080D87FD71
|
||||
:1016500010C020E030E040ED51E4C701B6010E9427
|
||||
:10166000B00B181634F060E087E00E94010261E0E0
|
||||
:10167000AFCF60E087E00E94010260E085E00E9459
|
||||
:10168000010261E0A9CF5058BB27AA270E945B0B3B
|
||||
:101690000C94CE0C0E94C00C38F00E94C70C20F0B5
|
||||
:1016A00039F49F3F19F426F40C94BD0C0EF4E09528
|
||||
:1016B000E7FB0C94B70CE92F0E94DF0C58F3BA1724
|
||||
:1016C000620773078407950720F079F4A6F50C9458
|
||||
:1016D000010D0EF4E0950B2EBA2FA02D0B01B901D0
|
||||
:1016E00090010C01CA01A0011124FF27591B99F098
|
||||
:1016F000593F50F4503E68F11A16F040A22F232FA4
|
||||
:10170000342F4427585FF3CF469537952795A795F3
|
||||
:10171000F0405395C9F77EF41F16BA0B620B730B9A
|
||||
:10172000840BBAF09150A1F0FF0FBB1F661F771F0B
|
||||
:10173000881FC2F70EC0BA0F621F731F841F48F4C0
|
||||
:10174000879577956795B795F7959E3F08F0B0CF49
|
||||
:101750009395880F08F09927EE0F97958795089530
|
||||
:101760000E94930C08F481E008950E94C90B0C9428
|
||||
:10177000CE0C0E94C70C58F00E94C00C40F029F417
|
||||
:101780005F3F29F00C94B70C51110C94020D0C948E
|
||||
:10179000BD0C0E94DF0C68F39923B1F3552391F33C
|
||||
:1017A000951B550BBB27AA2762177307840738F0D0
|
||||
:1017B0009F5F5F4F220F331F441FAA1FA9F335D02D
|
||||
:1017C0000E2E3AF0E0E832D091505040E695001CE1
|
||||
:1017D000CAF72BD0FE2F29D0660F771F881FBB1F9B
|
||||
:1017E000261737074807AB07B0E809F0BB0B802D79
|
||||
:1017F000BF01FF2793585F4F3AF09E3F510578F0A5
|
||||
:101800000C94B70C0C94020D5F3FE4F3983ED4F3B4
|
||||
:10181000869577956795B795F7959F5FC9F7880F78
|
||||
:10182000911D9695879597F90895E1E0660F771FCA
|
||||
:10183000881FBB1F621773078407BA0720F0621B5B
|
||||
:10184000730B840BBA0BEE1F88F7E09508950E9486
|
||||
:10185000E70C88F09F5798F0B92F9927B751B0F04F
|
||||
:10186000E1F0660F771F881F991F1AF0BA95C9F724
|
||||
:1018700014C0B13091F00E94010DB1E008950C94B4
|
||||
:10188000010D672F782F8827B85F39F0B93FCCF367
|
||||
:10189000869577956795B395D9F73EF490958095A1
|
||||
:1018A000709561957F4F8F4F9F4F0895E89409C0C1
|
||||
:1018B00097FB3EF490958095709561957F4F8F4F83
|
||||
:1018C0009F4F9923A9F0F92F96E9BB279395F69599
|
||||
:1018D000879577956795B795F111F8CFFAF4BB0F17
|
||||
:1018E00011F460FF1BC06F5F7F4F8F4F9F4F16C07B
|
||||
:1018F000882311F096E911C0772321F09EE8872F05
|
||||
:10190000762F05C0662371F096E8862F70E060E0C0
|
||||
:101910002AF09A95660F771F881FDAF7880F969539
|
||||
:10192000879597F90895990F0008550FAA0BE0E8DD
|
||||
:10193000FEEF16161706E807F907C0F01216130691
|
||||
:10194000E407F50798F0621B730B840B950B39F4D1
|
||||
:101950000A2661F0232B242B252B21F408950A2637
|
||||
:1019600009F4A140A6958FEF811D811D089597F977
|
||||
:101970009F6780E870E060E008959FEF80EC089535
|
||||
:1019800000240A941616170618060906089500245E
|
||||
:101990000A9412161306140605060895092E0394D8
|
||||
:1019A000000C11F4882352F0BB0F40F4BF2B11F44C
|
||||
:1019B00060FF04C06F5F7F4F8F4F9F4F089557FDAB
|
||||
:1019C0009058440F551F59F05F3F71F04795880FAD
|
||||
:1019D00097FB991F61F09F3F79F087950895121644
|
||||
:1019E00013061406551FF2CF4695F1DF08C01616F0
|
||||
:1019F00017061806991FF1CF8695710561050894A1
|
||||
:101A00000895E894BB2766277727CB0197F90895B7
|
||||
:101A10000E94930C08F48FEF08950E94200D0C94FF
|
||||
:101A2000CE0C0E94C00C38F00E94C70C20F0952309
|
||||
:101A300011F00C94B70C0C94BD0C11240C94020DF5
|
||||
:101A40000E94DF0C70F3959FC1F3950F50E0551F76
|
||||
:101A5000629FF001729FBB27F00DB11D639FAA2703
|
||||
:101A6000F00DB11DAA1F649F6627B00DA11D661F52
|
||||
:101A7000829F2227B00DA11D621F739FB00DA11D73
|
||||
:101A8000621F839FA00D611D221F749F3327A00D2D
|
||||
:101A9000611D231F849F600D211D822F762F6A2FC9
|
||||
:101AA00011249F5750409AF0F1F088234AF0EE0F2E
|
||||
:101AB000FF1FBB1F661F771F881F91505040A9F75B
|
||||
:101AC0009E3F510580F00C94B70C0C94020D5F3FC3
|
||||
:101AD000E4F3983ED4F3869577956795B795F79597
|
||||
:101AE000E7959F5FC1F7FE2B880F911D969587950F
|
||||
:101AF00097F908950E94930C880B990B0895A1E221
|
||||
:101B00001A2EAA1BBB1BFD010DC0AA1FBB1FEE1F77
|
||||
:101B1000FF1FA217B307E407F50720F0A21BB30BC2
|
||||
:101B2000E40BF50B661F771F881F991F1A9469F73E
|
||||
:101B300060957095809590959B01AC01BD01CF019A
|
||||
:101B40000895EE0FFF1F0590F491E02D0994F8948D
|
||||
:021B5000FFCFC5
|
||||
:101B52000000400014005400000000009401F40052
|
||||
:101B62002101E101520130014401000000006D0435
|
||||
:101B7200400400051604390426041704000000007E
|
||||
:101B8200B505F4000005E4036E616E00696E66003F
|
||||
:061B92006F7666002500DD
|
||||
:00000001FF
|
||||
58
Week 3/Temperature-LCD/Temperature-LCD.ino
Normal file
58
Week 3/Temperature-LCD/Temperature-LCD.ino
Normal file
@@ -0,0 +1,58 @@
|
||||
#include <DHT.h>
|
||||
#include <DHT_U.h>
|
||||
|
||||
#include <Wire.h>
|
||||
#include <LiquidCrystal_I2C.h>
|
||||
|
||||
LiquidCrystal_I2C lcd(0x3F, 16, 2);
|
||||
|
||||
#define DHTPIN 2
|
||||
#define DHTTYPE DHT11
|
||||
|
||||
int rojo = 7;
|
||||
int verde = 5;
|
||||
int amarillo = 6;
|
||||
|
||||
DHT dht(DHTPIN, DHTTYPE);
|
||||
|
||||
void setup() {
|
||||
pinMode(rojo, OUTPUT);
|
||||
pinMode(verde, OUTPUT);
|
||||
pinMode(amarillo, OUTPUT);
|
||||
|
||||
Serial.begin(9600);
|
||||
dht.begin();
|
||||
|
||||
lcd.init();
|
||||
lcd.backlight();
|
||||
}
|
||||
|
||||
void loop() {
|
||||
delay(2000);
|
||||
float humedad = dht.readHumidity();
|
||||
float temperatura = dht.readTemperature();
|
||||
|
||||
lcd.setCursor(0,0);
|
||||
lcd.print(F("Humedad: "));
|
||||
lcd.print(humedad);
|
||||
lcd.print("%");
|
||||
|
||||
lcd.setCursor(0,1);
|
||||
lcd.print(F("Temp: "));
|
||||
lcd.print(temperatura);
|
||||
Serial.print(F("C "));
|
||||
|
||||
if (temperatura >= 28){
|
||||
digitalWrite (rojo, HIGH);
|
||||
digitalWrite (verde, LOW);
|
||||
digitalWrite (amarillo, LOW);
|
||||
}else if(temperatura >= 20 && temperatura <= 26){
|
||||
digitalWrite (rojo, LOW);
|
||||
digitalWrite (verde, HIGH);
|
||||
digitalWrite (amarillo, LOW);
|
||||
}else{
|
||||
digitalWrite (rojo, LOW);
|
||||
digitalWrite (verde, LOW);
|
||||
digitalWrite (amarillo, HIGH);
|
||||
}
|
||||
}
|
||||
BIN
Week 3/Temperature/Temperature.arduino.avr.uno.elf
Executable file
BIN
Week 3/Temperature/Temperature.arduino.avr.uno.elf
Executable file
Binary file not shown.
331
Week 3/Temperature/Temperature.arduino.avr.uno.hex
Normal file
331
Week 3/Temperature/Temperature.arduino.avr.uno.hex
Normal file
@@ -0,0 +1,331 @@
|
||||
:100000000C9472000C949A000C949A000C949A0030
|
||||
:100010000C949A000C949A000C949A000C949A00F8
|
||||
:100020000C949A000C949A000C949A000C949A00E8
|
||||
:100030000C949A000C949A000C949A000C949A00D8
|
||||
:100040000C9464050C949A000C9432050C940C05E5
|
||||
:100050000C949A000C949A000C949A000C949A00B8
|
||||
:100060000C949A000C949A000000000024002700D1
|
||||
:100070002A0000000000250028002B0000000008D6
|
||||
:10008000000201000003040700000000000000005F
|
||||
:10009000C2BA432000252054656D70657261747585
|
||||
:1000A00072613A200048756D656461643A20000011
|
||||
:1000B00000000023002600290004040404040404B2
|
||||
:1000C0000402020202020203030303030301020407
|
||||
:1000D00008102040800102040810200102040810CA
|
||||
:1000E0002000AE0511241FBECFEFD8E0DEBFCDBF8C
|
||||
:1000F00011E0A0E0B1E0E2E6F4E102C005900D926B
|
||||
:10010000A832B107D9F721E0A8E2B1E001C01D9201
|
||||
:10011000A13EB207E1F710E0C2E7D0E004C02197AA
|
||||
:10012000FE010E94290AC137D107C9F70E94FB05C9
|
||||
:100130000C942F0A0C940000CF92DF92EF92FF9262
|
||||
:10014000CF93DF93B091D501A0E08111AB2F8091C7
|
||||
:10015000D60190E0880F991FAC0141555F4FC090C8
|
||||
:10016000DB01D090DC01E090DD01F090DE0130E0B9
|
||||
:1001700020E0FA01C591D491E881B90190E080E0D6
|
||||
:10018000EB23EA130AC02F5F3F4F6C157D058E05E8
|
||||
:100190009F0578F36FEF7FEFCB01DF91CF91FF9059
|
||||
:1001A000EF90DF90CF900895AF92BF92CF92DF9201
|
||||
:1001B000EF92FF920F931F93CF93DF936C017B011C
|
||||
:1001C0008B01040F151FEB015E01AE18BF08C017AD
|
||||
:1001D000D10759F06991D601ED91FC910190F08120
|
||||
:1001E000E02DC6010995892B79F7C501DF91CF91E3
|
||||
:1001F0001F910F91FF90EF90DF90CF90BF90AF9045
|
||||
:100200000895FC01538D448D252F30E0842F90E01C
|
||||
:10021000821B930B541710F0CF9608950197089501
|
||||
:10022000FC01918D828D981761F0A28DAE0FBF2FCA
|
||||
:10023000B11D5D968C91928D9F5F9F73928F90E020
|
||||
:1002400008958FEF9FEF0895FC01918D828D98178F
|
||||
:1002500031F0828DE80FF11D858D90E008958FEFCC
|
||||
:100260009FEF0895FC01918D228D892F90E0805C95
|
||||
:100270009F4F821B91098F739927089581E391E025
|
||||
:100280000E94320121E0892B09F420E0822F089599
|
||||
:1002900080E090E0892B29F00E943E0181110C94AE
|
||||
:1002A00000000895FC01A48DA80FB92FB11DA35A19
|
||||
:1002B000BF4F2C91848D90E001968F739927848F86
|
||||
:1002C000A689B7892C93A089B1898C9183708064A9
|
||||
:1002D0008C93938D848D981306C00288F389E02D4A
|
||||
:1002E00080818F7D80830895EF92FF920F931F93FB
|
||||
:1002F000CF93DF93EC0181E0888F9B8D8C8D9813D9
|
||||
:100300001AC0E889F989808185FF15C09FB7F894E4
|
||||
:10031000EE89FF896083E889F98980818370806430
|
||||
:1003200080839FBF81E090E0DF91CF911F910F917B
|
||||
:10033000FF90EF900895F62E0B8D10E00F5F1F4F8A
|
||||
:100340000F731127E02E8C8D8E110CC00FB607FC99
|
||||
:10035000FACFE889F989808185FFF5CFCE010E9427
|
||||
:100360005201F1CFEB8DEC0FFD2FF11DE35AFF4F42
|
||||
:10037000F0829FB7F8940B8FEA89FB8980818062B5
|
||||
:10038000CFCF0F931F93CF93DF938C01D0E0C0E0CA
|
||||
:10039000F801EC0FFD1F6491662341F081E391E0C9
|
||||
:1003A0000E947401892B11F02196F2CFCE01DF91CA
|
||||
:1003B000CF911F910F910895CF93DF93EC01888D1A
|
||||
:1003C0008823B9F0AA89BB89E889F9898C9185FDD0
|
||||
:1003D00003C0808186FD0DC00FB607FCF7CF8C915E
|
||||
:1003E00085FFF2CF808185FFEDCFCE010E945201C3
|
||||
:1003F000E9CFDF91CF91089590E0FC01E458FF4FE1
|
||||
:100400002491FC01E353FF4F3491FC01E754FF4F6B
|
||||
:10041000E491EE23C9F0222339F0233001F1A8F44E
|
||||
:10042000213019F1223029F1F0E0EE0FFF1FEE58D4
|
||||
:10043000FF4FA591B4918FB7F894EC91611126C04C
|
||||
:1004400030953E233C938FBF08952730A9F0283084
|
||||
:10045000C9F0243049F7809180008F7D03C08091DE
|
||||
:1004600080008F7780938000DFCF84B58F7784BD45
|
||||
:10047000DBCF84B58F7DFBCF8091B0008F778093E9
|
||||
:10048000B000D2CF8091B0008F7DF9CF3E2BDACF74
|
||||
:10049000CF93DF9390E0FC01E353FF4F2491875407
|
||||
:1004A0009F4FFC0184918823D1F090E0880F991F21
|
||||
:1004B000FC01E859FF4FA591B491FC01EE58FF4FA4
|
||||
:1004C000C591D491623071F49FB7F8943C91822F1A
|
||||
:1004D000809583238C93E8812E2B28839FBFDF9107
|
||||
:1004E000CF9108958FB7F894EC912E2B2C938FBF5A
|
||||
:1004F000F6CF3FB7F8948091290190912A01A091FD
|
||||
:100500002B01B0912C0126B5A89B05C02F3F19F0F7
|
||||
:100510000196A11DB11D3FBFBA2FA92F982F882783
|
||||
:10052000BC01CD01620F711D811D911D42E0660F5E
|
||||
:10053000771F881F991F4A95D1F708958F929F9230
|
||||
:10054000AF92BF92CF92DF92EF92FF924B015C018C
|
||||
:100550000E9479026B017C010E9479026C197D096D
|
||||
:100560008E099F09683E734081059105A8F321E03B
|
||||
:10057000821A9108A108B10888EEC80E83E0D81E3F
|
||||
:10058000E11CF11C81149104A104B10429F7FF902E
|
||||
:10059000EF90DF90CF90BF90AF909F908F90089595
|
||||
:1005A000CF92DF92EF92FF920F931F93CF93DF933F
|
||||
:1005B000CDB7DEB7C054D1400FB6F894DEBF0FBE42
|
||||
:1005C000CDBF2FB7F89480912D0190912E01A0916D
|
||||
:1005D0002F01B09130012FBF4091D7015091D80128
|
||||
:1005E0006091D9017091DA018C019D01041B150BFA
|
||||
:1005F000260B370BB901A801403D57406105710535
|
||||
:1006000090F48091DF01C05CDE4F0FB6F894DEBF3E
|
||||
:100610000FBECDBFDF91CF911F910F91FF90EF9053
|
||||
:10062000DF90CF9008958093D7019093D801A09345
|
||||
:10063000D901B093DA011092D2011092D101109237
|
||||
:10064000D0011092CF011092CE0162E08091D301CF
|
||||
:100650000E94480261E070E080E090E00E949E020B
|
||||
:1006600061E08091D3010E94480260E08091D30153
|
||||
:100670000E94FC018091D4018551823020F58BE2EB
|
||||
:1006800091E10197F1F762E08091D3010E94480265
|
||||
:100690008091E00190E08230910538F0880F991F39
|
||||
:1006A000880F991F05970197F1F7F89480E00E9451
|
||||
:1006B0009C006F3F7F4F8F4F9F4F61F41092DF017F
|
||||
:1006C000789480E0A0CF64E170E080E090E00E9448
|
||||
:1006D0009E02D9CF81E00E949C006F3F7F4F8F4FD9
|
||||
:1006E0009F4F61F38E010F5F1F4F6E018FEBC81A92
|
||||
:1006F0008EEFD80A780180E00E949C00F7016083A9
|
||||
:1007000071838283938381E00E949C00F70164835C
|
||||
:10071000758386839783F8E0EF0EF11CEC14FD04DB
|
||||
:1007200051F7789430E020E0F801C080D180E28079
|
||||
:10073000F3804481558166817781FFEFCF16DF0614
|
||||
:10074000EF06FF0631F04F3F8FEF58076807780735
|
||||
:1007500019F41092DF01B5CFF90183E0F595E79523
|
||||
:100760008A95E1F7E253FE4F8081880FC416D506C3
|
||||
:10077000E606F70610F180832F5F3F4F085F1F4F9B
|
||||
:100780002832310589F64091D2012091CE01809125
|
||||
:10079000CF01280F3327331F8091D001280F311D3F
|
||||
:1007A0008091D101820F932F911D99274817190627
|
||||
:1007B00081F681E08093DF0126CF8160DCCFFC01F0
|
||||
:1007C00001900020E9F73197AF01481B590BBC019C
|
||||
:1007D00081E391E00C94D4008F929F92AF92BF92EC
|
||||
:1007E0000F931F93CF93DF93CDB7DEB7A1970FB6CB
|
||||
:1007F000F894DEBF0FBECDBF19A2423008F44AE024
|
||||
:100800008E010F5D1F4F842E912CB12CA12CA501C0
|
||||
:1008100094010E94070AE62FB901CA01EA30F4F4F4
|
||||
:10082000E05DD801EE938D01232B242B252B79F746
|
||||
:1008300090E080E0109719F0CD010E94DF03A196AF
|
||||
:100840000FB6F894DEBF0FBECDBFDF91CF911F91E1
|
||||
:100850000F91BF90AF909F908F900895E95CE1CF8A
|
||||
:100860004F925F926F927F928F929F92AF92BF92C0
|
||||
:10087000CF92DF92EF92FF920F931F93CF936B0172
|
||||
:100880007C01742EAC019B010E94020A882399F01E
|
||||
:1008900082E191E0CF911F910F91FF90EF90DF9057
|
||||
:1008A000CF90BF90AF909F908F907F906F905F9010
|
||||
:1008B0004F900C94DF0346015701E894B7F82FEFEF
|
||||
:1008C0003FEF4FE75FE7C501B4010E94020A8111C3
|
||||
:1008D0000DC02FEF3FEF4FE75FE7C501B4010E9466
|
||||
:1008E000380818161CF486E191E0D4CF2FEF3FEFC3
|
||||
:1008F0004FE75FE4C701B6010E94900918161CF487
|
||||
:100900008AE191E0C7CF2FEF3FEF4FE75FECC701E0
|
||||
:10091000B6010E94380887FDF3CF20E030E0A9013E
|
||||
:10092000C701B6010E94380810E000E087FF0AC046
|
||||
:100930006DE281E391E00E9474018C01F7FAF0947A
|
||||
:10094000F7F8F094C0E060E070E080E09FE37C1690
|
||||
:1009500041F020E030E040E251E40E943D08CF5FEA
|
||||
:10096000F6CFA70196010E94CC072B013C010E9403
|
||||
:10097000AF084B015C014AE00E94EC037C01E00EF1
|
||||
:10098000F11ECC23C1F1C501B4010E94DE089B0118
|
||||
:10099000AC01C301B2010E94CB074B015C016EE2C6
|
||||
:1009A00081E391E00E947401E80EF91EC15018F134
|
||||
:1009B00020E030E040E251E4C501B4010E94950915
|
||||
:1009C0002B013C010E94AF084B01B12CA12C4AE045
|
||||
:1009D000C501B4010E94EC03E80EF91EC501B40183
|
||||
:1009E0000E94DE089B01AC01C301B2010E94CB074B
|
||||
:1009F0004B015C01DBCFC701CF911F910F91FF909D
|
||||
:100A0000EF90DF90CF90BF90AF909F908F907F90AE
|
||||
:100A10006F905F904F9008951F920F920FB60F92B4
|
||||
:100A200011242F933F934F935F936F937F938F93F3
|
||||
:100A30009F93AF93BF93EF93FF9381E391E00E9465
|
||||
:100A40005201FF91EF91BF91AF919F918F917F9153
|
||||
:100A50006F915F914F913F912F910F900FBE0F902B
|
||||
:100A60001F9018951F920F920FB60F9211242F937B
|
||||
:100A70008F939F93EF93FF93E0914101F091420197
|
||||
:100A80008081E0914701F091480182FD1BC0908177
|
||||
:100A900080914A018F5F8F7320914B01821741F043
|
||||
:100AA000E0914A01F0E0EF5CFE4F958F80934A01A0
|
||||
:100AB000FF91EF919F918F912F910F900FBE0F900B
|
||||
:100AC0001F9018958081F4CF1F920F920FB60F924E
|
||||
:100AD00011242F933F938F939F93AF93BF93809154
|
||||
:100AE0002D0190912E01A0912F01B09130013091F4
|
||||
:100AF000280123E0230F2D3758F50196A11DB11DC4
|
||||
:100B00002093280180932D0190932E01A0932F0113
|
||||
:100B1000B09330018091290190912A01A0912B017D
|
||||
:100B2000B0912C010196A11DB11D809329019093D4
|
||||
:100B30002A01A0932B01B0932C01BF91AF919F91FB
|
||||
:100B40008F913F912F910F900FBE0F901F9018958E
|
||||
:100B500026E8230F0296A11DB11DD2CFE1E3F1E0FB
|
||||
:100B60001382128288EE93E0A0E0B0E08483958344
|
||||
:100B7000A683B78384E091E09183808385EC90E045
|
||||
:100B80009587848784EC90E09787868780EC90E057
|
||||
:100B9000918B808B81EC90E0938B828B82EC90E048
|
||||
:100BA000958B848B86EC90E0978B868B118E128EC2
|
||||
:100BB000138E148EAEECB1E082E015968C931597EF
|
||||
:100BC0008BE016968C931697EFECF0E0E491179675
|
||||
:100BD000EC931797EBEBF0E0E4911896EC931897F1
|
||||
:100BE00040E85EE360E070E01D964D935D936D9389
|
||||
:100BF0007C9350970895789484B5826084BD84B5C1
|
||||
:100C0000816084BD85B5826085BD85B5816085BD07
|
||||
:100C100080916E00816080936E00109281008091BF
|
||||
:100C20008100826080938100809181008160809347
|
||||
:100C30008100809180008160809380008091B1006C
|
||||
:100C400084608093B1008091B00081608093B00097
|
||||
:100C500080917A00846080937A0080917A0082602B
|
||||
:100C600080937A0080917A00816080937A008091ED
|
||||
:100C70007A00806880937A001092C10061E087E07A
|
||||
:100C80000E94480261E085E00E94480261E086E03F
|
||||
:100C90000E944802E0914101F091420182E080838C
|
||||
:100CA000E0913D01F0913E011082E0913F01F09111
|
||||
:100CB00040018FEC808310924901E0914501F09151
|
||||
:100CC000460186E08083E0914301F09144018081F8
|
||||
:100CD00080618083E0914301F091440180818860CC
|
||||
:100CE0008083E0914301F09144018081806880839A
|
||||
:100CF000E0914301F091440180818F7D808362E027
|
||||
:100D00008091D3010E9448022FB7F89480912D0161
|
||||
:100D100090912E01A0912F01B09130012FBF805DE5
|
||||
:100D20009740A109B1098093D7019093D801A0936E
|
||||
:100D3000D901B093DA0187E38093E001C0E0D0E00D
|
||||
:100D400060ED77E080E090E00E949E020E94D00279
|
||||
:100D5000882349F08091D4018B3028F08D3050F0F9
|
||||
:100D600085518230C0F1812C912C20ECA22E2FE7EE
|
||||
:100D7000B22E1EC06091CF0170E090E080E00E9432
|
||||
:100D8000E0082DEC3CEC4CEC5DE30E9495096B0116
|
||||
:100D90007C016091CE0170E090E080E00E94E0086C
|
||||
:100DA0009B01AC01C701B6010E94CC074B015C015D
|
||||
:100DB0000E94D002882341F08091D4018C3009F444
|
||||
:100DC0009AC0D8F48B3091F1C12CD12C80ECE82E54
|
||||
:100DD0008FE7F82E55C06091CE017091CF01762734
|
||||
:100DE0006727762790E080E00E94DE082DEC3CEC3F
|
||||
:100DF0004CEC5DE30E949509D9CF8551823020F7F4
|
||||
:100E00001091D001612F70E0762F662766277F77DB
|
||||
:100E10008091D101682B90E080E00E94DE082DECEB
|
||||
:100E20003CEC4CEC5DE30E94950981C06091D001DF
|
||||
:100E300070E090E080E00E94DE086B017C01109180
|
||||
:100E4000D10117FF0AC0AC019B0160E070E080E8AF
|
||||
:100E50009FEB0E94CB076B017C011F70612F70E03C
|
||||
:100E600090E080E00E94E0082DEC3CEC4CEC5DE36F
|
||||
:100E70000E949509A70196010E94CC076B017C0195
|
||||
:100E800085EA90E00E94C10142E0C501B4010E94E0
|
||||
:100E9000300485E990E00E94C10142E0C701B6013B
|
||||
:100EA0000E94300480E990E00E94C10120E030E01F
|
||||
:100EB00040EE51E4C701B6010E94900987FD40C091
|
||||
:100EC00061E087E00E94FC0160E085E00E94FC0197
|
||||
:100ED00060E086E00E94FC018EE191E00E94DF0369
|
||||
:100EE000209709F42DCF0E943E01882309F428CFD2
|
||||
:100EF0000E94000025CF1091D001612F70E090E09A
|
||||
:100F000080E00E94DE086B017C016091D1016F706E
|
||||
:100F100070E090E080E00E94E0082DEC3CEC4CECAE
|
||||
:100F20005DE30E949509A70196010E94CC076B0121
|
||||
:100F30007C0117FFA5CFF7FAF094F7F8F094A0CF53
|
||||
:100F400020E030E040EA51E4C701B6010E94900978
|
||||
:100F500087FD17C020E030E040ED51E4C701B60145
|
||||
:100F60000E94380818166CF060E087E00E94FC01CF
|
||||
:100F700061E085E00E94FC0160E086E00E94FC01E7
|
||||
:100F8000AFCF60E087E00E94FC0160E085E00E9456
|
||||
:100F9000FC0161E0F2CF5058BB27AA270E94E3076B
|
||||
:100FA0000C9456090E94480938F00E944F0920F01D
|
||||
:100FB00039F49F3F19F426F40C9445090EF4E0959A
|
||||
:100FC000E7FB0C943F09E92F0E94670958F3BA1711
|
||||
:100FD000620773078407950720F079F4A6F50C944F
|
||||
:100FE00089090EF4E0950B2EBA2FA02D0B01B90143
|
||||
:100FF00090010C01CA01A0011124FF27591B99F08F
|
||||
:10100000593F50F4503E68F11A16F040A22F232F9A
|
||||
:10101000342F4427585FF3CF469537952795A795EA
|
||||
:10102000F0405395C9F77EF41F16BA0B620B730B91
|
||||
:10103000840BBAF09150A1F0FF0FBB1F661F771F02
|
||||
:10104000881FC2F70EC0BA0F621F731F841F48F4B7
|
||||
:10105000879577956795B795F7959E3F08F0B0CF40
|
||||
:101060009395880F08F09927EE0F97958795089527
|
||||
:101070000E941B0908F481E008950E9451080C9415
|
||||
:1010800056090E944F0958F00E94480940F029F47F
|
||||
:101090005F3F29F00C943F0951110C948A090C947C
|
||||
:1010A00045090E94670968F39923B1F3552391F329
|
||||
:1010B000951B550BBB27AA2762177307840738F0C7
|
||||
:1010C0009F5F5F4F220F331F441FAA1FA9F335D024
|
||||
:1010D0000E2E3AF0E0E832D091505040E695001CD8
|
||||
:1010E000CAF72BD0FE2F29D0660F771F881FBB1F92
|
||||
:1010F000261737074807AB07B0E809F0BB0B802D70
|
||||
:10110000BF01FF2793585F4F3AF09E3F510578F09B
|
||||
:101110000C943F090C948A095F3FE4F3983ED4F3A2
|
||||
:10112000869577956795B795F7959F5FC9F7880F6F
|
||||
:10113000911D9695879597F90895E1E0660F771FC1
|
||||
:10114000881FBB1F621773078407BA0720F0621B52
|
||||
:10115000730B840BBA0BEE1F88F7E09508950E947D
|
||||
:101160006F0988F09F5798F0B92F9927B751B0F0C1
|
||||
:10117000E1F0660F771F881F991F1AF0BA95C9F71B
|
||||
:1011800014C0B13091F00E948909B1E008950C9427
|
||||
:101190008909672F782F8827B85F39F0B93FCCF3DA
|
||||
:1011A000869577956795B395D9F73EF49095809598
|
||||
:1011B000709561957F4F8F4F9F4F0895E89409C0B8
|
||||
:1011C00097FB3EF490958095709561957F4F8F4F7A
|
||||
:1011D0009F4F9923A9F0F92F96E9BB279395F69590
|
||||
:1011E000879577956795B795F111F8CFFAF4BB0F0E
|
||||
:1011F00011F460FF1BC06F5F7F4F8F4F9F4F16C072
|
||||
:10120000882311F096E911C0772321F09EE8872FFB
|
||||
:10121000762F05C0662371F096E8862F70E060E0B7
|
||||
:101220002AF09A95660F771F881FDAF7880F969530
|
||||
:10123000879597F90895990F0008550FAA0BE0E8D4
|
||||
:10124000FEEF16161706E807F907C0F01216130688
|
||||
:10125000E407F50798F0621B730B840B950B39F4C8
|
||||
:101260000A2661F0232B242B252B21F408950A262E
|
||||
:1012700009F4A140A6958FEF811D811D089597F96E
|
||||
:101280009F6780E870E060E008959FEF80EC08952C
|
||||
:1012900000240A9416161706180609060895002455
|
||||
:1012A0000A9412161306140605060895092E0394CF
|
||||
:1012B000000C11F4882352F0BB0F40F4BF2B11F443
|
||||
:1012C00060FF04C06F5F7F4F8F4F9F4F089557FDA2
|
||||
:1012D0009058440F551F59F05F3F71F04795880FA4
|
||||
:1012E00097FB991F61F09F3F79F08795089512163B
|
||||
:1012F00013061406551FF2CF4695F1DF08C01616E7
|
||||
:1013000017061806991FF1CF869571056105089497
|
||||
:101310000895E894BB2766277727CB0197F90895AE
|
||||
:101320000E941B0908F48FEF08950E94A8090C94ED
|
||||
:1013300056090E94480938F00E944F0920F0952371
|
||||
:1013400011F00C943F090C94450911240C948A095E
|
||||
:101350000E94670970F3959FC1F3950F50E0551FE8
|
||||
:10136000629FF001729FBB27F00DB11D639FAA27FA
|
||||
:10137000F00DB11DAA1F649F6627B00DA11D661F49
|
||||
:10138000829F2227B00DA11D621F739FB00DA11D6A
|
||||
:10139000621F839FA00D611D221F749F3327A00D24
|
||||
:1013A000611D231F849F600D211D822F762F6A2FC0
|
||||
:1013B00011249F5750409AF0F1F088234AF0EE0F25
|
||||
:1013C000FF1FBB1F661F771F881F91505040A9F752
|
||||
:1013D0009E3F510580F00C943F090C948A095F3FB1
|
||||
:1013E000E4F3983ED4F3869577956795B795F7958E
|
||||
:1013F000E7959F5FC1F7FE2B880F911D9695879506
|
||||
:1014000097F908950E941B09880B990B0895A1E292
|
||||
:101410001A2EAA1BBB1BFD010DC0AA1FBB1FEE1F6E
|
||||
:10142000FF1FA217B307E407F50720F0A21BB30BB9
|
||||
:10143000E40BF50B661F771F881F991F1A9469F735
|
||||
:1014400060957095809590959B01AC01BD01CF0191
|
||||
:101450000895EE0FFF1F0590F491E02D0994F89484
|
||||
:02146000FFCFBC
|
||||
:10146200000000007401D4000101DC01320110010E
|
||||
:1014720024016E616E00696E66006F7666005472BA
|
||||
:081482006F6C61736F3A2000EA
|
||||
:00000001FF
|
||||
45
Week 3/Temperature/Temperature.ino
Normal file
45
Week 3/Temperature/Temperature.ino
Normal file
@@ -0,0 +1,45 @@
|
||||
#include <DHT.h>
|
||||
#include <DHT_U.h>
|
||||
|
||||
#define DHTPIN 2
|
||||
#define DHTTYPE DHT11
|
||||
|
||||
int red = 7;
|
||||
int green = 5;
|
||||
int yellow = 6;
|
||||
|
||||
DHT dht(DHTPIN, DHTTYPE);
|
||||
|
||||
void setup() {
|
||||
pinMode(red, OUTPUT);
|
||||
pinMode(green, OUTPUT);
|
||||
pinMode(yellow, OUTPUT);
|
||||
Serial.begin(9600);
|
||||
dht.begin();
|
||||
}
|
||||
|
||||
void loop() {
|
||||
delay(2000);
|
||||
float humidity = dht.readHumidity();
|
||||
float temp = dht.readTemperature();
|
||||
|
||||
Serial.print(F("Humedad: "));
|
||||
Serial.print(humidity);
|
||||
Serial.print(F("% Temperatura: "));
|
||||
Serial.print(temp);
|
||||
Serial.print(F("ºC "));
|
||||
|
||||
if(temp >= 28){
|
||||
digitalWrite(red, HIGH);
|
||||
digitalWrite(green, LOW);
|
||||
digitalWrite(yellow, LOW);
|
||||
} else if (temp >= 20 && temp <= 26){
|
||||
digitalWrite(red, LOW);
|
||||
digitalWrite(green, HIGH);
|
||||
digitalWrite(yellow, LOW);
|
||||
} else {
|
||||
digitalWrite(red, LOW);
|
||||
digitalWrite(green, LOW);
|
||||
digitalWrite(yellow, HIGH);
|
||||
}
|
||||
}
|
||||
BIN
Week 4/Blink/Blink.esp8266.esp8266.nodemcuv2.bin
Normal file
BIN
Week 4/Blink/Blink.esp8266.esp8266.nodemcuv2.bin
Normal file
Binary file not shown.
BIN
Week 4/Blink/Blink.esp8266.esp8266.nodemcuv2.elf
Executable file
BIN
Week 4/Blink/Blink.esp8266.esp8266.nodemcuv2.elf
Executable file
Binary file not shown.
14
Week 4/Blink/Blink.ino
Normal file
14
Week 4/Blink/Blink.ino
Normal file
@@ -0,0 +1,14 @@
|
||||
#define LED_BUILTIN D4
|
||||
|
||||
void setup() {
|
||||
pinMode(LED_BUILTIN,OUTPUT);
|
||||
|
||||
}
|
||||
|
||||
void loop() {
|
||||
digitalWrite(LED_BUILTIN,LOW);
|
||||
delay(1000);
|
||||
|
||||
digitalWrite(LED_BUILTIN,HIGH);
|
||||
delay(1000);
|
||||
}
|
||||
BIN
Week 4/DHT11 HTTP/DHT11 HTTP.esp8266.esp8266.nodemcuv2.bin
Normal file
BIN
Week 4/DHT11 HTTP/DHT11 HTTP.esp8266.esp8266.nodemcuv2.bin
Normal file
Binary file not shown.
BIN
Week 4/DHT11 HTTP/DHT11 HTTP.esp8266.esp8266.nodemcuv2.elf
Executable file
BIN
Week 4/DHT11 HTTP/DHT11 HTTP.esp8266.esp8266.nodemcuv2.elf
Executable file
Binary file not shown.
94
Week 4/DHT11 HTTP/DHT11 HTTP.ino
Normal file
94
Week 4/DHT11 HTTP/DHT11 HTTP.ino
Normal file
@@ -0,0 +1,94 @@
|
||||
#include <DHT.h>
|
||||
#include <DHT_U.h>
|
||||
#include <ESP8266WiFi.h>
|
||||
|
||||
#define DHTPIN D2
|
||||
#define DHTTYPE DHT11
|
||||
|
||||
const char* ssid = "FundamentosRedes";
|
||||
const char* password = "00000005";
|
||||
|
||||
const char* host = "192.168.10.155";
|
||||
const uint16_t port = 80;
|
||||
|
||||
DHT dht(DHTPIN, DHTTYPE);
|
||||
|
||||
void setup() {
|
||||
// put your setup code here, to run once:
|
||||
Serial.begin(9600);
|
||||
dht.begin();
|
||||
|
||||
Serial.println();
|
||||
Serial.println();
|
||||
Serial.print("CONECTANDO A.... ");
|
||||
Serial.println(ssid);
|
||||
|
||||
//WiFi.mode(WIFI_STA);
|
||||
WiFi.begin(ssid, password);
|
||||
|
||||
while (WiFi.status() != WL_CONNECTED) {
|
||||
delay(500);
|
||||
Serial.print(".");
|
||||
}
|
||||
|
||||
Serial.println("");
|
||||
Serial.println("WiFi CONECTADA");
|
||||
Serial.println("IP address: ");
|
||||
Serial.println(WiFi.localIP());
|
||||
|
||||
}
|
||||
|
||||
void loop() {
|
||||
// obtenemos valores dht11
|
||||
|
||||
delay(2000);
|
||||
float humedad = dht.readHumidity();
|
||||
float temperatura = dht.readTemperature();
|
||||
Serial.print(F("Humedad:"));
|
||||
Serial.print(humedad);
|
||||
Serial.print(F("% Temperatura: :"));
|
||||
Serial.print(temperatura);
|
||||
Serial.println(F("ºC"));
|
||||
|
||||
Serial.print("CONECTANDO A..");
|
||||
Serial.println(host);
|
||||
|
||||
// Use WiFiClient class to create TCP connections
|
||||
WiFiClient client;
|
||||
if (!client.connect(host, port)) {
|
||||
Serial.println("connection failed");
|
||||
return;
|
||||
}
|
||||
|
||||
//Creamos la URL para mandar al servidor
|
||||
String url = "/NODEMCU/DHT11/DHT11.php";
|
||||
String Temperatura = "?Temperatura=";
|
||||
String Humedad = "&Humedad=";
|
||||
|
||||
client.print(String("GET ") + url + Temperatura + temperatura + Humedad + humedad + " HTTP/1.1\r\n" +
|
||||
"Host: " + host +"\r\n" +
|
||||
"Connection: close\r\n\r\n");
|
||||
unsigned long timeout = millis();
|
||||
while (client.available() == 0){
|
||||
if (millis() - timeout > 5000) {
|
||||
Serial.println(">>> Servidor Timeout !!!");
|
||||
client.stop();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
while (client.available()){
|
||||
String line = client.readStringUntil('\r');
|
||||
Serial.print(line);
|
||||
}
|
||||
|
||||
Serial.println();
|
||||
Serial.println("Cerrando conexión");
|
||||
|
||||
delay(60000);
|
||||
|
||||
|
||||
// put your main code here, to run repeatedly:
|
||||
|
||||
|
||||
}
|
||||
BIN
Week 4/Screen/Screen.esp8266.esp8266.nodemcuv2.bin
Normal file
BIN
Week 4/Screen/Screen.esp8266.esp8266.nodemcuv2.bin
Normal file
Binary file not shown.
BIN
Week 4/Screen/Screen.esp8266.esp8266.nodemcuv2.elf
Executable file
BIN
Week 4/Screen/Screen.esp8266.esp8266.nodemcuv2.elf
Executable file
Binary file not shown.
23
Week 4/Screen/Screen.ino
Normal file
23
Week 4/Screen/Screen.ino
Normal file
@@ -0,0 +1,23 @@
|
||||
#include <Wire.h>
|
||||
#include <LiquidCrystal_I2C.h>
|
||||
|
||||
//CREAMOS EL OBJETO LCD CON LA DIRECCIÓN ESCANEADA 0X27, 16 COLUMNAS Y 2 FILAS
|
||||
LiquidCrystal_I2C lcd(0x27,16,2);
|
||||
|
||||
void setup() {
|
||||
// Inicializar el LCD
|
||||
lcd.init();
|
||||
//Encender la luz de fondo.
|
||||
lcd.backlight();
|
||||
// Escribimos el Mensaje en el LCD.
|
||||
lcd.print("Hola Mundo");
|
||||
}
|
||||
|
||||
void loop() {
|
||||
//Ubicamos el cursor en la primera posición(columna:0) de la segunda línea(fila:1)
|
||||
lcd.setCursor(0, 1);
|
||||
// Escribimos el número de segundos transcurridos
|
||||
lcd.print(millis()/1000);
|
||||
lcd.print(" Segundos");
|
||||
delay(100);
|
||||
}
|
||||
BIN
Week 4/WiFi/WiFi.esp8266.esp8266.nodemcuv2.bin
Normal file
BIN
Week 4/WiFi/WiFi.esp8266.esp8266.nodemcuv2.bin
Normal file
Binary file not shown.
BIN
Week 4/WiFi/WiFi.esp8266.esp8266.nodemcuv2.elf
Executable file
BIN
Week 4/WiFi/WiFi.esp8266.esp8266.nodemcuv2.elf
Executable file
Binary file not shown.
33
Week 4/WiFi/WiFi.ino
Normal file
33
Week 4/WiFi/WiFi.ino
Normal file
@@ -0,0 +1,33 @@
|
||||
#include <ESP8266WiFi.h>
|
||||
|
||||
const char* ssid = "FundamentosRedes";
|
||||
const char* password = "00000005";
|
||||
|
||||
void setup() {
|
||||
Serial.begin(115200);
|
||||
Serial.println("");
|
||||
Serial.print("CONECTANDO A SSID:");
|
||||
Serial.println(ssid);
|
||||
|
||||
WiFi.begin(ssid, password);
|
||||
|
||||
while (WiFi.status() != WL_CONNECTED) {
|
||||
delay(500);
|
||||
Serial.print(".");
|
||||
}
|
||||
Serial.print("Conectado. Dirección IP: ");
|
||||
Serial.println(WiFi.localIP());
|
||||
}
|
||||
|
||||
void loop() {
|
||||
if( WiFi.status() == WL_CONNECTED){
|
||||
Serial.println("");
|
||||
Serial.print("Conectado. Dirección IP: ");
|
||||
Serial.println(WiFi.localIP());
|
||||
}
|
||||
else{
|
||||
Serial.println("");
|
||||
Serial.println("WiFi no conectada");
|
||||
}
|
||||
delay(1000);
|
||||
}
|
||||
BIN
Week 4/Wifi-Scan/Wifi-Scan.esp8266.esp8266.nodemcuv2.bin
Normal file
BIN
Week 4/Wifi-Scan/Wifi-Scan.esp8266.esp8266.nodemcuv2.bin
Normal file
Binary file not shown.
BIN
Week 4/Wifi-Scan/Wifi-Scan.esp8266.esp8266.nodemcuv2.elf
Executable file
BIN
Week 4/Wifi-Scan/Wifi-Scan.esp8266.esp8266.nodemcuv2.elf
Executable file
Binary file not shown.
40
Week 4/Wifi-Scan/Wifi-Scan.ino
Normal file
40
Week 4/Wifi-Scan/Wifi-Scan.ino
Normal file
@@ -0,0 +1,40 @@
|
||||
#include "ESP8266WiFi.h"
|
||||
|
||||
void setup() {
|
||||
Serial.begin(115200);
|
||||
//CONFIGURAMOS LA WIFI EN MODO ESTACIÓN Y DESCONECTAMOS DEL ACCES POINT SI PREVIAMENTE ESTABA CONECTADO A UN AP.
|
||||
WiFi.mode(WIFI_STA);
|
||||
WiFi.disconnect();
|
||||
delay(100);
|
||||
Serial.println("Configuración Wifi realizada");
|
||||
}
|
||||
|
||||
void loop() {
|
||||
Serial.println("Escaneo de Redes Wifi:");
|
||||
// La función scanNetwoks() nos devuelve el número de redes encontradas.
|
||||
int n = WiFi.scanNetworks();
|
||||
Serial.println("Escaneo Realizado");
|
||||
// si n=0 es que no hemos encontrado ninguna red wifi
|
||||
if (n == 0) {
|
||||
Serial.println("Ninguna red encontrada");
|
||||
}
|
||||
else {
|
||||
Serial.print(n);
|
||||
Serial.println(" Redes Wifi encontradas:");
|
||||
for (int i = 0; i < n; ++i) {
|
||||
//Imprimimos el SSDI de cada red wifi encontrada
|
||||
Serial.print(i + 1);
|
||||
Serial.print(": ");
|
||||
Serial.print(WiFi.SSID(i));
|
||||
Serial.print(" (");
|
||||
Serial.print(WiFi.RSSI(i));
|
||||
Serial.print(")");
|
||||
Serial.println((WiFi.encryptionType(i) == ENC_TYPE_NONE) ? " " : "*");
|
||||
delay(10);
|
||||
}
|
||||
}
|
||||
Serial.println("");
|
||||
// EspEramos 50.000 ms antes de repetir el escaneo. Si quisiéramos
|
||||
// realizar un solo escaneo deberíamos poner el código del look en el setup.
|
||||
delay(50000);
|
||||
}
|
||||
9
compile_mcu.sh
Executable file
9
compile_mcu.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ $# -lt 1 ]; then
|
||||
echo "Usage: compile.sh <Project>"
|
||||
fi
|
||||
|
||||
project=$1
|
||||
|
||||
arduino-cli compile --fqbn esp8266:esp8266:nodemcuv2 "$project" && arduino-cli upload -p /dev/ttyUSB0 --fqbn esp8266:esp8266:nodemcuv2 "$project"
|
||||
Reference in New Issue
Block a user