【一起来玩ble+zigbee+6lowpan!】—我们的TI-CC26xx跑TI-RTOS
点亮了LED
Example Summary
---------------
Application that toggles board LEDs using a Pin interrupt.
Peripherals Exercised
---------------------
Board_LED1
Toggled by Board_KEY_RIGHT
Board_LED2
Toggled by Board_KEY_LEFT
Board_LED3
(If defined) toggled by Board_KEY_UP
Board_LED4
(If defined) toggled by Board_KEY_DOWN
Board_KEY_SELECT (If defined) toggles all LEDs
Resources &
Jumper Settings
---------------------------
Please refer to the development board's specific "Settings and Resources"
section in the Getting Started Guide.
For convenience, a short summary is also
shown below.
| Development board | Notes
|
| ================= | ======================================================
|
| CC2650DK | Close BTN_RIGHT, BTN_LEFT, BTN_UP, BTN_DOWN, and |
| | BTN_SELECT.
|
| ----------------- | ------------------------------------------------------ |
| CC2650STE-BLE | N/A
|
| ----------------- | ------------------------------------------------------ |
Example Usage
-------------
Run the example.
Board_LED1 is toggled by pushing
Board_KEY_RIGHT.
Board_LED2 is toggled by pushing Board_KEY_LEFT.
Board_LED3 is toggled by pushing Board_KEY_UP.
Board_LED4 is toggled by pushing Board_KEY_DOWN.
Board_KEY_SELECT toggles all LEDs
Each key's interrupt is configured for a falling edge of the pulse.
A small
delay has been added to provide button de-bounce logic.
Application Design Details
--------------------------
The pinCallbackFxn function is defined in the pinInterrupt.c file.
This function
is called in the context of the pin interrupt (Hwi).
For GNU and IAR users, please read the following website for details about
semi-hosting:
具体情况大家就参考下面的连接吧。蛮全面的介绍。
http://processors.wiki.ti.com/in ... xamples_SemiHosting
因为没找到那几个按键,暂时没玩动起来。只是显示了一个灯。
把例子发上来,用IAR7.4
跑LCD 还有些问题。不知道硬件那里问题。后面找找。
今天把液晶的背光点亮后发现字符是显示了。但很不明显,对比度差得很。后来发现是电源不对,有3.6V?然后换电阻。结果3个板子的电阻都焊没了。0402的电阻。不见了。明天去找些电阻去。唉!图片只能先看看这个黑黑的屏了。等电源搞好晒一个亮图。
液晶好像对比度还是不太对劲啊。
现在对了:
本帖最后由 damiaa 于 2015-12-1 18:39 编辑