C# reverse output?
hello,
if I've done Code:
PortAccess.Output(888, 0x1); Code:
PortAccess.Output(888, 0x2); Thanks! |
i'm am not familiar with port programming under c# but i'd be fairly sure that this is impossible. it's your own responsibility to track this kind of data, maybe using a history buffer to hold old outputs. indeed you might want to factor out the writing and buffering to a seperate function, so your main body of code just calls a function with a single value, or writes to a buffer and a dedicated function handles it all.
|
Quote:
re thought about it, the solution is to get a variable changed whenever output has changed, so the variable will hold the last output. Thanks anyways! |
All times are GMT -5. The time now is 04:19 AM. |