The way I have found I learn things best is through a nice simple example. 我发现学习知识的最佳方法是通过一个良好的简单示例。
Here's a nice simple example to make that point. 下面有个不错的简单的例子说明这一点。
We want to experiment with a nice simple example, so right-click on button_led_test and select Make project active. 我们想试验一个简单良好的示例,所以在buttonledtest上右击并选择Makeprojectactive。
Has a nice simple API for talking between script and C, with very little generation of glue code required. 有一个很好的简单API谈之间的脚本和C,很少一代的胶水代码需要。
OK. Now, that's a nice simple little test, let's look at a couple of other examples to get a sense of what this will do. 好,那么这是一个很好的小测试,让我们看看其他的一些例子,来明白这个主要用来做什么的。