We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Keil MicroVision is new to me and I cannot get the variables in one function to be global because there is no "PUBLIC" command. How do I make it so a variable can be changed by any function. BTW I'm programming in C#. Any help is much appreciated.
Keil has a C# compiler??? Where are you getting the C# runtime package???
"C# is a type-safe, component-based, high-performance language that is designed for the Microsoft .NET framework." www.ondotnet.com/.../what-is-csharp.html
You have absolutely no chance whatsoever of getting that to run on an 80251 - let alone an 8051. It doesn't even support ARM, so far as I know.
"Keil C compilers are based on C90. [Keil] added some language extensions as practical concessions to the architectural peculiarities of the microcontrollers [they] support and the needs of embedded systems programmers." http://www.keil.com/support/docs/1893.htm
That certainly doesn't include anything to do with C#, .NET, or even Windows!