COMPUTER ORGANIZATION AND ARCHITECTURE DESIGNING FOR PERFORMANCE NINTH EDITION…
Proxy Pattern, 即代理模式,用一个类代表另一个类的功能,用于隐藏.解耦真正提供功能的类,属于结构类的设计模式. 下面是 代理模式的一个简单案例. Image 定义接口,RealImage, ProxyImage 都实现该接口.RealImage 具有真正显示功能,ProxyImage 作为代表,暴露给客户端使用. 代码实现: public interface Image { public void display(); } RealImage 的实现,提供真正的功能 public…
In the past 100 years, lighting has come a long way. Nowadays, the decorative LED lighting design can adapt to any vision. Consumers find it difficult to choose between traditional and modern styles. When choosing lights for home décor, the options a…
37款传感器与模块的提法,在网络上广泛流传,其实Arduino能够兼容的传感器模块肯定是不止37种的.鉴于本人手头积累了一些传感器和模块,依照实践出真知(一定要动手做)的理念,以学习和交流为目的,这里准备逐一动手试试做实验,不管成功与否,都会记录下来---小小的进步或是搞不定的问题,希望能够抛砖引玉. [Arduino]108种传感器模块系列实验(资料+代码+图形+仿真) 实验二十二:MAX7219点阵显示模块(8X8 LED共阴屏幕) MAX7219 是美国MAXIM 公司推出的多位LED 显…
近年来,Micro LED因其功耗低.响应快.寿命长.光效率高等特点,被视为继LCD.OLED之后的新一代显示面板技术.Micro LED的英文全名是Micro Light Emitting Diode,中文称作微发光二极体,也可以写作μLED,是将传统LED薄膜化.微小化和矩阵化,使像素点距离从毫米级降低至微米级别,并在一个芯片上高度集成的固体自发光显示技术[1].其与常规LED最大的不同在于尺寸,大小相当于人头发丝的1/10,体积达到了主流LED大小的1%,然而像素尺寸当前还未形成统一的定义…
发现个USB ID站点,对于做设备管理识别的小伙伴特别实用 http://www.linux-usb.org/usb.ids 附录: # # List of USB ID's # # Maintained by Stephen J. Gowdy <linux.usb.ids@gmail.com> # If you have any new entries, please submit them via # http://www.linux-usb.org/usb-ids.html # or s…
2018-01-14 22:50:26 之前写了pt6311的驱动,要做时钟考虑使用stm8做主控,于是乎将之前的驱动移植到stm8上. 顺带熟悉了stm8的操作2333. 上源码: #ifndef PT6311_H #define PT6311_H #include "stm8s.h" #include "delay.h" #include "iostm8s103f3.h" //inc the .h to use bit control ],d…
http://blog.csdn.net/aofengdaxia/article/details/5924364 在.net开发中常常需要使用一些[]里面的特性描述,我发现对常用的几个知道大概的意思,但是却不甚清楚到底有多少个特性,都如何使用.所以今天查了下msdn,把他们一一总结下来. 这些特性(属性)在System.ComponentModel下面,凡是带有Attribute结尾的的类都是可以作为方括号里面使用的.我将它们一一摘录下来,并且写上了自己的理解. AttributeUsageAt…
Directory Information Document   Driver reference manual and reversion history. Library         Driver header and source files. SampleCode  Driver sample code. ThirdParty     Library from third party 1 Document Information Revision History.pdf    Sho…
Analysis of requirement specification of parking management system PURPOSE OF THE SYSTEM The parking management system refers to the automatic identification device installed at the entrance and exit of the parking area based on the modern electronic…