![ישן](https://static.fresh.co.il/images/vBulletin/statusicon/post_old.gif)
10-09-2007, 21:12
|
![צלמית המשתמש של fcf](image.php?u=72179&dateline=1127314499) |
|
|
חבר מתאריך: 17.09.05
הודעות: 6,023
|
|
ניסיתי להפעיל את הקוד הקצר שהם נתנו בC
קוד PHP:
#include <conio.h> #include <dos.h> // For _out #define port 0x378 // Port Address #define data port+0 // Data Port of the parallel cable void main (void) { _out(data, 255); // For all lights on _out(data, 0); // For all lights off }
הקוד לא עובד .... error C2065: '_out' : undeclared identifier
יש אולי מקור יותר מעמיק על הפעלת יציאות LPT דרך C ....
_____________________________________
![תמונה שהועלתה על ידי גולש באתר ולכן אין אנו יכולים לדעת מה היא מכילה](https://2008-uploaded.fresh.co.il/2008/08/08/81909117.jpg)
|