pwm period is now 200us instead of the default 20ms veml6040 config is now AF_BIT | TRIG_BIT

Dependencies:   mbed MMA8451Q USBDevice WakeUp vt100

Fork of afero_node_suntory_2017_06_15 by Orefatoi

Committer:
wataloh
Date:
Tue Dec 20 01:51:02 2016 +0000
Revision:
0:20bce0dcc921
kl25z teensy merged

Who changed what in which revision?

UserRevisionLine numberNew contents of line
wataloh 0:20bce0dcc921 1 /**
wataloh 0:20bce0dcc921 2 * Copyright 2015 Afero, Inc.
wataloh 0:20bce0dcc921 3 *
wataloh 0:20bce0dcc921 4 * Licensed under the Apache License, Version 2.0 (the "License");
wataloh 0:20bce0dcc921 5 * you may not use this file except in compliance with the License.
wataloh 0:20bce0dcc921 6 * You may obtain a copy of the License at
wataloh 0:20bce0dcc921 7 *
wataloh 0:20bce0dcc921 8 * http://www.apache.org/licenses/LICENSE-2.0
wataloh 0:20bce0dcc921 9 *
wataloh 0:20bce0dcc921 10 * Unless required by applicable law or agreed to in writing, software
wataloh 0:20bce0dcc921 11 * distributed under the License is distributed on an "AS IS" BASIS,
wataloh 0:20bce0dcc921 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
wataloh 0:20bce0dcc921 13 * See the License for the specific language governing permissions and
wataloh 0:20bce0dcc921 14 * limitations under the License.
wataloh 0:20bce0dcc921 15 */
wataloh 0:20bce0dcc921 16
wataloh 0:20bce0dcc921 17 #ifndef AF_ERRORS_H__
wataloh 0:20bce0dcc921 18 #define AF_ERRORS_H__
wataloh 0:20bce0dcc921 19
wataloh 0:20bce0dcc921 20 #define afSUCCESS 0 // Operation completed successfully
wataloh 0:20bce0dcc921 21 #define afERROR_NO_SUCH_ATTRIBUTE -1 // Request was made for unknown attribute id
wataloh 0:20bce0dcc921 22 #define afERROR_BUSY -2 // Request already in progress, try again
wataloh 0:20bce0dcc921 23 #define afERROR_INVALID_COMMAND -3 // Command could not be parsed
wataloh 0:20bce0dcc921 24 #define afERROR_QUEUE_OVERFLOW -4 // Queue is full
wataloh 0:20bce0dcc921 25 #define afERROR_QUEUE_UNDERFLOW -5 // Queue is empty
wataloh 0:20bce0dcc921 26 #define afERROR_INVALID_PARAM -6 // Bad input parameter
wataloh 0:20bce0dcc921 27
wataloh 0:20bce0dcc921 28 #endif // AF_ERRORS_H__