/*
* Copyright (c) 2015, ARM Limited, All Rights Reserved
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef __MBED_I2C_H__
#define __MBED_I2C_H__
#warning mbed/I2C.h is deprecated. Please use mbed-drivers/I2C.h instead.
#include "../mbed-drivers/I2C.h"
#endif // __MBED_I2C_H__
我也是看IIC的驱动时候发现的,高版主提供给我的。
我以为很大呢,原来新版提供的是源代码很小。
完整的方案是:http://pan.baidu.com/s/1sjS1eyT
|