13.c和汇编的相互调用 新建light.c: 修改start.S: 修改Makefile:加light.o 最后make成功,烧写成功。 同样,我们也可以在C函数里调用我们的汇编里面的函数:
修改start.S:把light_led申明为global: 在light.c中被调用: Make编译烧写...
分类:
其他好文 时间:
2015-01-05 18:33:45
阅读次数:
150
Daytime running light are LEDs in chrome bezels. Some people love them while others dislike them.TheDaytime Running Lightsare controlled by the smart ...
分类:
其他好文 时间:
2015-01-05 14:52:37
阅读次数:
150
渲染图(4k)链接: http://pan.baidu.com/s/1bnB4Wqz 密码: 88392px高斯模糊+立方缩小AA:链接: http://pan.baidu.com/s/1mg5gVCO 密码: ci87程序(在1920x1080的屏幕上强制3840x2160)链接: http://...
分类:
移动开发 时间:
2015-01-05 01:51:17
阅读次数:
237
1.预置按钮类型
sdk提供了5个预置按钮类型:Detail Disclosure,Info Light,Info Dark,Contact Add,Rounded Rectangle。它们添加到sdk中首先是为了方便苹果公司自己。
构造方式:[UIButton buttonWithType:UIButtonTypeContactAdd];
2.显示系统私有UIButton风...
分类:
其他好文 时间:
2015-01-04 17:22:58
阅读次数:
336
地形笔记:实现过程关键点:1.高度图的读取(得到Y值)-->创建平面网格(得到x z值)-->生成vertex和index 2.纹理映射和预设light:创建空texture-->映射vertex对应的纹理坐标-->映射不同height对应的color-->根据lightDirection计算单位网...
分类:
其他好文 时间:
2015-01-04 17:00:53
阅读次数:
105
题意:
n、m,n个灯,m次操作
两种操作 0: 这段区间全部状态取反,初始全部为0
1: 询问这段区间有几个灯是亮的。
裸线段树,弱爆了。
#include
#include
#include
#include
#define N 101000
#define inf 0x3f3f3f3f
using namespace std;
struct Se...
分类:
其他好文 时间:
2015-01-02 14:44:29
阅读次数:
227
欢迎页启动的线程由于请求和处理的数据量过大而,导致欢迎页在出现之前界面上会有一个短暂的白色闪屏停留,当然白色闪屏的停留是因为 application 的主题样式android:theme=@style/AppTheme 使用了 Theme.Light 题导致的,Light 样式的 windowBac...
分类:
移动开发 时间:
2014-12-30 16:45:58
阅读次数:
140
1013 - Love CalculatorYes, you are developing a'Love calculator'. The software would be quite complex such that nobody could crack the exact behavior ...
分类:
其他好文 时间:
2014-12-30 00:29:54
阅读次数:
206
Mac OS的一些:华文细黑:STHeiti Light [STXihei]华文黑体:STHeiti华文楷体:STKaiti华文宋体:STSong华文仿宋:STFangsong俪黑 Pro:LiHei Pro Medium俪宋 Pro:LiSong Pro Light标楷体:BiauKai苹果俪中黑...
分类:
Web程序 时间:
2014-12-25 18:11:11
阅读次数:
189
原文网址:http://blog.chinaunix.net/uid-26963688-id-3221439.html1.设置当前用户环境变量(对root用户无效)打开终端输入:light@chaozang:~$ sudo gedit ~/.bashrc[sudo] password for lig...
分类:
系统相关 时间:
2014-12-23 10:20:08
阅读次数:
208