* switch from mbed to mbed-src, which works better with my board * list APs and their RSSI * read CC3000 firmware version
Dependencies: cc3000_hostdriver_mbedsocket mbed-src
Fork of cc3000_hello_world_demo_sparkfun by
main.h@10:b994a1c2b54c, 2014-10-24 (annotated)
- Committer:
- lwrnc
- Date:
- Fri Oct 24 02:06:43 2014 +0000
- Revision:
- 10:b994a1c2b54c
- Parent:
- 9:053a5e3e4c06
use mbed-src, read firmware version, list APs; ; wifi with the precompiled mbed currently doesn't work with my board, so switch to mbed-src.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kojto | 0:db8738fc21e8 | 1 | /* mbed Microcontroller Library |
Kojto | 0:db8738fc21e8 | 2 | * Copyright (c) 2006-2013 ARM Limited |
Kojto | 0:db8738fc21e8 | 3 | * |
Kojto | 0:db8738fc21e8 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
Kojto | 0:db8738fc21e8 | 5 | * you may not use this file except in compliance with the License. |
Kojto | 0:db8738fc21e8 | 6 | * You may obtain a copy of the License at |
Kojto | 0:db8738fc21e8 | 7 | * |
Kojto | 0:db8738fc21e8 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
Kojto | 0:db8738fc21e8 | 9 | * |
Kojto | 0:db8738fc21e8 | 10 | * Unless required by applicable law or agreed to in writing, software |
Kojto | 0:db8738fc21e8 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
Kojto | 0:db8738fc21e8 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
Kojto | 0:db8738fc21e8 | 13 | * See the License for the specific language governing permissions and |
Kojto | 0:db8738fc21e8 | 14 | * limitations under the License. |
Kojto | 0:db8738fc21e8 | 15 | */ |
Kojto | 0:db8738fc21e8 | 16 | #ifndef MAIN_H |
Kojto | 0:db8738fc21e8 | 17 | #define MAIN_H |
Kojto | 0:db8738fc21e8 | 18 | |
Kojto | 5:042a68764bce | 19 | #define WIGO 1 |
Kojto | 5:042a68764bce | 20 | #define WIFI_DIPCORTEX 2 |
Kojto | 5:042a68764bce | 21 | #define MBED_BOARD_EXAMPLE 3 |
Kojto | 5:042a68764bce | 22 | #define UNDEFINED 4 |
michaeljkoster | 7:a4e91e42f008 | 23 | #define SPARKFUN_WIFI_SHIELD 5 |
michaeljkoster | 9:053a5e3e4c06 | 24 | #define ADAFRUIT_WIFI_SHIELD 6 |
Kojto | 0:db8738fc21e8 | 25 | |
michaeljkoster | 9:053a5e3e4c06 | 26 | #define MY_BOARD ADAFRUIT_WIFI_SHIELD |
Kojto | 0:db8738fc21e8 | 27 | |
Kojto | 0:db8738fc21e8 | 28 | void init(); |
Kojto | 0:db8738fc21e8 | 29 | |
Kojto | 0:db8738fc21e8 | 30 | #endif |