![]() |
Feel The Code? | Feb. 21, 2010
1) paraport=digitalio('parallel','LPT1');
2) addline(paraport,0:3,'out'); 3) pval=[0 0 0 1]; 4) putvalue(paraport,pval); carefully, notice the above sequence of codes. Find out the "platform" and "functionality" of the above codes?? Explanation of the functionality is needed for each lines of code. :crazy::crazy::crazy: |
Re: Feel The Code? | Feb. 21, 2010
Missed this question last time but approved now.
|
Re: Feel The Code? | Feb. 21, 2010
MATLAB !
1) Create a digital I/O object for parallel port LPT1. 2) add four hardware output lines (line IDs 0-3) from port 0. 3) pval is a binary vector [0 0 0 1], 1 is the MSB , so its decimal value is 8 4) write the data in pval which is [0 0 0 1] on to the hardware lines |
Re: Feel The Code? | Feb. 21, 2010
Quote:
|
Re: Feel The Code? | Feb. 21, 2010
31415926, your profile has email address of moneybookers which is not registered and please accept the payment ASAP or else it will be canceled and the prize will go into some open source donation.
|
Re: Feel The Code? | Feb. 21, 2010
Please help me to donate the prize.
Thanks! |
Re: Feel The Code? | Feb. 21, 2010
Quote:
|
| All times are GMT +5.5. The time now is 22:03. |