A Nucleo program using a CC3000 wifi chip to ping
Dependencies: NVIC_set_all_priorities TextLCD cc3000_hostdriver_mbedsocket mbed
main.h@0:2aa37889f076, 2014-07-10 (annotated)
- Committer:
- MarcoAmerena
- Date:
- Thu Jul 10 12:26:06 2014 +0000
- Revision:
- 0:2aa37889f076
NucleoWifi 1.1
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
MarcoAmerena | 0:2aa37889f076 | 1 | /* mbed Microcontroller Library |
MarcoAmerena | 0:2aa37889f076 | 2 | * Copyright (c) 2006-2013 ARM Limited |
MarcoAmerena | 0:2aa37889f076 | 3 | * |
MarcoAmerena | 0:2aa37889f076 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
MarcoAmerena | 0:2aa37889f076 | 5 | * you may not use this file except in compliance with the License. |
MarcoAmerena | 0:2aa37889f076 | 6 | * You may obtain a copy of the License at |
MarcoAmerena | 0:2aa37889f076 | 7 | * |
MarcoAmerena | 0:2aa37889f076 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
MarcoAmerena | 0:2aa37889f076 | 9 | * |
MarcoAmerena | 0:2aa37889f076 | 10 | * Unless required by applicable law or agreed to in writing, software |
MarcoAmerena | 0:2aa37889f076 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
MarcoAmerena | 0:2aa37889f076 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
MarcoAmerena | 0:2aa37889f076 | 13 | * See the License for the specific language governing permissions and |
MarcoAmerena | 0:2aa37889f076 | 14 | * limitations under the License. |
MarcoAmerena | 0:2aa37889f076 | 15 | */ |
MarcoAmerena | 0:2aa37889f076 | 16 | #ifndef MAIN_H |
MarcoAmerena | 0:2aa37889f076 | 17 | #define MAIN_H |
MarcoAmerena | 0:2aa37889f076 | 18 | |
MarcoAmerena | 0:2aa37889f076 | 19 | #define WIGO 1 |
MarcoAmerena | 0:2aa37889f076 | 20 | #define WIFI_DIPCORTEX 2 |
MarcoAmerena | 0:2aa37889f076 | 21 | #define WIFI_SHEILD_ADAFRUIT 3 |
MarcoAmerena | 0:2aa37889f076 | 22 | |
MarcoAmerena | 0:2aa37889f076 | 23 | #define MY_BOARD WIFI_SHEILD_ADAFRUIT |
MarcoAmerena | 0:2aa37889f076 | 24 | void init(); |
MarcoAmerena | 0:2aa37889f076 | 25 | |
MarcoAmerena | 0:2aa37889f076 | 26 | #endif |