このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Pascalite 金物類/武器類: Real Time Clock HOME - - - - - - - - - Other 構成要素 for programmers - - - - - - - - - Pascalite, "How To Use It" main page

Pascalite 金物類/武器類: Real Time Clock


Real Time Clock



The に引き続いて assumes you've got your Pascalite 始める,決める up and working. If it gives you what you want, 広大な/多数の/重要な. Be advised, however, that this page is subordinate to others. Visit my Pascalite, "How To Use It" main page if you (機の)カム drectly here and there are things "行方不明の".




(You can show numbers on the LCD if you have one, but the に引き続いて programs will also send at least part of every number to the four LEDs for those of you without an LCD 陳列する,発揮する.)

If you have a clock module (RTC), 力/強力にする 負かす/撃墜する the Pascalite, attach the clock module (Be careful about the rotation of the I2C connector), 力/強力にする up again, and try the に引き続いて....

program IntTutRTC;
var bTH,bTM,bTS,bTHun:byte;

手続き NumToLCD(bTmp:byte);
begin
(See IntTut4)
end.

begin
def_out(d0,d1,d2,d3);
令状(LCD,255); {(疑いを)晴らすs LCD}
settime(0,0,0,0);
令状(反対する,0);
repeat
gettime(bTH,bTM,bTS,bTHun);
NumToLCD(bTS);
bTS:=255-bTS;
令状(portd,bTS);
延期する(100);
until 4=5;
end.
Once all is 井戸/弁護士席, the 生産(高) will be 0, 1, 2, 3... up to 59, at which time it will roll over 支援する to 無. The count will increment once per second. You might think that the line "延期する(100)" would mean that the 陳列する,発揮する would count faster than that. What is happening is that the program CHECKS the time 10 times a second, but 陳列する,発揮するs the number of seconds passed, not the number of iterations of the 宙返り飛行.

While on the topic of the real time clock module: The 水晶 used in it seems a little 攻撃を受けやすい to me, 特に as it is 近づく a connector you will be plugging things into. I think that 安全な・保証するing it to nearby 構成要素s with a little silicone sealant would be a good idea.


To search THIS 場所/位置.... (Go to the 場所/位置's above, and use their search buttons if you want to seach them.)... Way to search this 場所/位置 without using forms
Search this 場所/位置 or the web 力/強力にするd by FreeFind

場所/位置 search Web search

広告 from page's editor: Yes.. I do enjoy 収集するing these things for you... hope they are helpful. However.. this doesn't 支払う/賃金 my 法案s!!! If you find this stuff useful, (and you run an MS-DOS or Windows pc) please visit my freeware and shareware page, download something, and 循環させる it for me? Links on your page to this page would also be 高く評価する/(相場などが)上がるd!
Click here to visit editor's freeware, shareware page.

Link to editor's (Arunet) homepage
How to email or 令状 this page's editor, Tom Boyd