Giter VIP home page Giter VIP logo

ble_cc26xx_2_01_01_44627's Introduction

1.下載TI CC2650 SDK:ver2.1.1

http://www.ti.com/tool/ble-stack

2.開啟範例程式HIDEmuKbd做修改

2-1. 修改Board.h

http://processors.wiki.ti.com/index.php/CC2650_LaunchPad_User%27s_Guide_for_Bluetooth_Smart

2-2. 加入滑鼠PROFILE

hidkbdservice.c(.h) -> hidkbmservice.c(.h)

2-3. 新增UART功能

http://processors.wiki.ti.com/index.php/CC26xx_Adding_basic_printf_over_uart_with_TI-RTOS

2-4. 新增I2C功能並讀取MPU9250

參考SensorTag Sample Code,將I2C Driver引入,並讀取MPU9250。

2-5. 引入AHRS演算法

https://github.com/kriswiner/MPU9250/blob/master/MPU9250BasicAHRS.ino

此範例程式將MPU9250操作在BYPASS MODE,但手邊的MPU9250內的AK8963在100KHz下無法讀取,故修改為I2C Master Mode由MPU9250去讀取AK8963的資料。

2-6.新增PWM控制RGB LED

ti\tirtos_cc13xx_cc26xx_2_21_00_06\products\tidrivers_cc13xx_cc26xx_2_21_00_04\packages\ti\drivers\
ti\tirtos_cc13xx_cc26xx_2_21_00_06\products\tidrivers_cc13xx_cc26xx_2_21_00_04\packages\ti\drivers\pwm
ti\tirtos_cc13xx_cc26xx_2_21_00_06\products\tidrivers_cc13xx_cc26xx_2_21_00_04\packages\ti\drivers\timer

將裡面的PWM.c(.h)、PWMTimerCC26XX.c(.h)、GPTimerCC26XX.c(.h)複製到

ti\tirtos_simplelink_2_13_00_06\packages\ti\drivers

再將6個檔案include到專案中,並且參考Sample Code,將PWM Driver 引入。

ble_cc26xx_2_01_01_44627's People

Contributors

jianhsu avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.