- 博客(8)
- 资源 (13)
- 收藏
- 关注
转载 Arduino之舵机控制
// 声明调用Servo.h库#include Servo myservo; // 创建一个舵机对象int pos = 0; // 变量pos用来存储舵机位置void setup() { myservo.attach(9); // 将引脚9上的舵机与声明的舵机对象连接起来} void loop() { // 舵机从0°转到180°,每次增加1° f
2014-01-25 21:14:41 5361
转载 Arduino之Led1
int ledPin = 8;//设定控制LED的数字IO脚void setup(){ pinMode(ledPin,OUTPUT);//设定数字IO的模式,OUTPUT为输出}void loop(){ digitalWrite(ledPin,HIGH);//设定PIN8脚为HIGH=5V左右 delay(1000);//延时1秒 digitalW
2014-01-24 23:30:15 1377
转载 XP批处理导入数字签名和对应用程序签名
".\certmgr.exe" -add ".\test.cer" -s -r localMachine trustedpublisher".\certmgr.exe" -add ".\test.cer" -s -r localMachine AuthRootwin7下不可行,原因未知。
2014-01-24 20:11:51 2207
转载 Create a Skybox From Photos
This tutorial is done in, and assumes familiarity with, Photoshop, but I can't see why the same principles wouldn't work in other image editors. The picture used in it was taken from here. The s
2014-01-22 14:28:58 1712
原创 Unity3D调用摄像头显示当前拍摄画面
using UnityEngine;using System.Collections;public class CameraTest : MonoBehaviour{ public WebCamTexture cameraTexture; public string cameraName=""; private bool isPlay = false; //
2014-01-21 20:21:59 23825 11
转载 切割NGUI图集
从这里下载包文件夹http://download.csdn.net/detail/u011440375/5855535将大图、预制、材质导入Unity,搞好相对关系然后点击Cut切割后的图片,win7在这个路径C:\Users\Administrator\桌面,XP我没有试。
2014-01-11 15:42:21 4445
原创 Unity3D获取web数据的两种方法
using UnityEngine;using System.Collections;using System.Net;using System.Text;public class Test : MonoBehaviour{ // Use this for initialization void Start() { //StartCorouti
2014-01-08 10:02:03 11708 6
原创 C#异步
using System;using System.Collections.Generic;using System.Text;namespace TestAnsy{ public class Class1 { public delegate void AsyncEventHandler(); public void Event1()
2014-01-07 13:49:29 1166
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人