Click here to Skip to main content
15,897,187 members
Home / Discussions / C#
   

C#

 
AnswerRe: Can I write programs in C # to Micro Controllers Pin
DaveyM691-Aug-09 2:47
professionalDaveyM691-Aug-09 2:47 
RantRe: Can I write programs in C # to Micro Controllers Pin
Nasir131-Aug-09 3:58
Nasir131-Aug-09 3:58 
GeneralRe: Can I write programs in C # to Micro Controllers Pin
Dave Kreskowiak1-Aug-09 5:07
mveDave Kreskowiak1-Aug-09 5:07 
GeneralRe: Can I write programs in C # to Micro Controllers Pin
DaveyM691-Aug-09 7:03
professionalDaveyM691-Aug-09 7:03 
AnswerRe: Can I write programs in C # to Micro Controllers Pin
HimanshuJoshi1-Aug-09 3:54
HimanshuJoshi1-Aug-09 3:54 
GeneralRe: Can I write programs in C # to Micro Controllers Pin
Nasir131-Aug-09 4:34
Nasir131-Aug-09 4:34 
RantRe: Can I write programs in C # to Micro Controllers Pin
Nasir131-Aug-09 4:39
Nasir131-Aug-09 4:39 
GeneralRe: Can I write programs in C # to Micro Controllers Pin
OriginalGriff1-Aug-09 4:58
mveOriginalGriff1-Aug-09 4:58 
There is no compiler for C# to pic or any other microcontroller. It is very unlikely that there would ever be one, nor would I want to use it if there were. C# is heavily heap based; garbage collection is a necessity and would increase in frequency with the reduced memory associated with microcontrollers. If you want a garbage collected memory system in a real-time environment, then you need to think quite carefully about the implications: What happens when you need a variable under interrupt and the garbage collection is required?

I would normally use Assembler, C or C++ but with caution: I never use malloc/free or new/delete in an embedded system because I would expect the unit to run 24 hours a day, 365 days a year. Since malloc/free and new/delete can fragment the heap and cause failure I allocate memory either statically or once only and then re-use. This is not feasible in C#.

No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.

This message is made of fully recyclable Zeros and Ones

AnswerRe: Can I write programs in C # to Micro Controllers [modified] Pin
mustang861-Aug-09 16:32
mustang861-Aug-09 16:32 
GeneralRe: Can I write programs in C # to Micro Controllers Pin
OriginalGriff2-Aug-09 0:45
mveOriginalGriff2-Aug-09 0:45 
QuestionCreate DAL/ BLL Pin
Chazzysb1-Aug-09 1:23
Chazzysb1-Aug-09 1:23 
AnswerRe: Create DAL/ BLL Pin
Eddy Vluggen1-Aug-09 7:13
professionalEddy Vluggen1-Aug-09 7:13 
AnswerRe: Create DAL/ BLL Pin
Not Active1-Aug-09 9:15
mentorNot Active1-Aug-09 9:15 
QuestionImplementation help. Cheers Guys!! Pin
PSMITH821-Aug-09 0:25
PSMITH821-Aug-09 0:25 
QuestionError: Dynamic SQL generation for the UpdateCommand is not supported against a SelectCommand that does not return any key column information. Pin
Omar Akhtar Sheikh31-Jul-09 23:58
Omar Akhtar Sheikh31-Jul-09 23:58 
AnswerRe: Error: Dynamic SQL generation for the UpdateCommand is not supported against a SelectCommand that does not return any key column information. Pin
Moreno Airoldi1-Aug-09 2:00
Moreno Airoldi1-Aug-09 2:00 
Questiondisplay text in textbox Pin
Abdul Rahman Hamidy31-Jul-09 22:26
Abdul Rahman Hamidy31-Jul-09 22:26 
AnswerRe: display text in textbox Pin
OriginalGriff31-Jul-09 22:44
mveOriginalGriff31-Jul-09 22:44 
GeneralRe: display text in textbox Pin
Abdul Rahman Hamidy31-Jul-09 22:53
Abdul Rahman Hamidy31-Jul-09 22:53 
GeneralRe: display text in textbox Pin
AhsanS31-Jul-09 23:05
AhsanS31-Jul-09 23:05 
GeneralRe: display text in textbox Pin
OriginalGriff31-Jul-09 23:21
mveOriginalGriff31-Jul-09 23:21 
GeneralRe: display text in textbox Pin
Abdul Rahman Hamidy1-Aug-09 1:38
Abdul Rahman Hamidy1-Aug-09 1:38 
GeneralRe: display text in textbox Pin
Henry Minute1-Aug-09 2:10
Henry Minute1-Aug-09 2:10 
GeneralRe: display text in textbox Pin
OriginalGriff1-Aug-09 4:47
mveOriginalGriff1-Aug-09 4:47 
GeneralRe: display text in textbox Pin
DaveyM691-Aug-09 9:12
professionalDaveyM691-Aug-09 9:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.