土曜日, 2月 24, 2007

The Use of A Thread Class

Here is a short reminder for Thread class -- the use of a Thread class in a class that implements a Runnable interface. My point is pretty simple. Supply _this_ argument at construction time! The file will compile all right but the thread won't start if the argument is null.

If you ever care, try with this one. The following link will lead you to the page that will start a Java applet that shows a circle that changes its size with time. The source file is linked on that same page. Here is this:

Thread thread=new Thread(this);

ThreadTest

I2S プロトコル

I²S(Inter-IC Sound)は、マイコンやオーディオ機器間で音声データをやり取りするために設計された、シリアル通信プロトコルです。I²CやSPIと名前は似ていますが、I²Sは音声専用のプロトコルです。 I²Sは、以下の3つの主要な信号線を使って通信します。 BCLK (...