pioreset1=pioreset1 | 0x0010;
// hex 10 = binary 10000; | is Bitwise OR; sets the 5th position from the right in pioreset1 to a
one. Probably turning on some kind of switch
// Not sure why one would do this but this shifts 9 (binary 1001) 24 bits to the left ( also multiplies 9 times (2 to the 24th power) which equals Binary 10010000000000000000000000000 and stores it
// sets a pointer to the value from setp 1
// I geuss a delay to let the previous action to take effect
// Turn something on
// Turn it off
// Another delay
pioreset1=pioreset1 & (~0x0010);
// (~0x0010) = 01111 bacically the complement of 10000 from step 1 "piorset1 & 01111" turns off the switch truned on in step 1
// Same as step 2 but with switch off
// Same as step 3
// more delay for timing I suppose
// The old On/Off again
// never did use temp1 or temp 2;
Chief Technical Advisor
Custom Molded Products
If we break this command into its constituent parts we get the following:
-I "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\sys";
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\sys"
"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include"
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include"
(35) : fatal error C1083: Cannot open include file: 'sys/types.h': No such file or directory
The only directories included by the -I option are "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\sys" and . (dot). All the other directory names seem to be orphaned in the command line. I'm also not sure why "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\sys" has that semi-colon character after it. I think you need to check your NMAKE source file.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
1. Yes that could be the intention, but the compiler would look there in any case, wouldn't it?
2. So then we know it took me more than 36 minutes to type in that comment. No wonder I'm not a regular...