Simple demo for UC Berkeley EECS 149/249. The KL25Z connects to internet through the CC3000 breakout board and requests a text file, changing color of the onboard LEDs based on the read content
Dependencies: HTTPClient cc3000_hostdriver_mbedsocket mbed
Fork of cc3000_http_client_demo by
main.h@7:47cd0d3d5e4d, 2014-10-10 (annotated)
- Committer:
- antoni0
- Date:
- Fri Oct 10 23:38:09 2014 +0000
- Revision:
- 7:47cd0d3d5e4d
- Parent:
- 4:b61a6b6190be
- Child:
- 10:1804a9dbaee0
first working version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kojto | 0:fe1445e57b7d | 1 | /* mbed Microcontroller Library |
Kojto | 0:fe1445e57b7d | 2 | * Copyright (c) 2006-2013 ARM Limited |
Kojto | 0:fe1445e57b7d | 3 | * |
Kojto | 0:fe1445e57b7d | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
Kojto | 0:fe1445e57b7d | 5 | * you may not use this file except in compliance with the License. |
Kojto | 0:fe1445e57b7d | 6 | * You may obtain a copy of the License at |
Kojto | 0:fe1445e57b7d | 7 | * |
Kojto | 0:fe1445e57b7d | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
Kojto | 0:fe1445e57b7d | 9 | * |
Kojto | 0:fe1445e57b7d | 10 | * Unless required by applicable law or agreed to in writing, software |
Kojto | 0:fe1445e57b7d | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
Kojto | 0:fe1445e57b7d | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
Kojto | 0:fe1445e57b7d | 13 | * See the License for the specific language governing permissions and |
Kojto | 0:fe1445e57b7d | 14 | * limitations under the License. |
Kojto | 0:fe1445e57b7d | 15 | */ |
Kojto | 0:fe1445e57b7d | 16 | #ifndef MAIN_H |
Kojto | 0:fe1445e57b7d | 17 | #define MAIN_H |
Kojto | 0:fe1445e57b7d | 18 | |
Kojto | 4:b61a6b6190be | 19 | #define WIGO 1 |
Kojto | 4:b61a6b6190be | 20 | #define WIFI_DIPCORTEX 2 |
Kojto | 4:b61a6b6190be | 21 | #define MBED_BOARD_EXAMPLE 3 |
Kojto | 4:b61a6b6190be | 22 | #define UNDEFINED 4 |
Kojto | 0:fe1445e57b7d | 23 | |
antoni0 | 7:47cd0d3d5e4d | 24 | #define MY_BOARD UNDEFINED |
Kojto | 0:fe1445e57b7d | 25 | |
Kojto | 0:fe1445e57b7d | 26 | void init(); |
Kojto | 0:fe1445e57b7d | 27 | |
Kojto | 0:fe1445e57b7d | 28 | #endif |