18
votes
10answers
9k views

Programming languages for electronics engineers

I am an Electronics and Communications Engineering student, before I got to college, I have been interested in programming and computer applications. I had focused on designing Windows applications ...
16
votes
5answers
2k views

Survey of High-Level Language Interpreters/Compilers for Microcontrollers

I would like to generate a list of high-level language interpreters and compilers (e.g. something that compiles LISP to C code) for microcontrollers. I've done a bit of research so far that I will ...
5
votes
2answers
6k views

C/C++/C# programming for interfacing USB to PIC microcontroller

I am a computer sciences student looking to do some PIC microcontroller programming for some small home projects . I am fluent in C/C++/C#/Java and i also have an understanding of programming ...
3
votes
3answers
393 views

Should I refactor my C code to optimise it for an embedded microcontroller?

Below is some code implemented on an 8 bit microcontroller. The following comment was posted to another question: As your code doesn't use the i variable, why ...
-1
votes
2answers
106 views

How to get data from S-record file [closed]

Please tell me something about the S-record file format and how we can get data from it. The first S1 record is comprised as follows: • S1 S-record type S1, indicating it is a data record to be ...
3
votes
1answer
267 views

Problem with while loop

I am trying to read external ADC AD7798 values using ATmega32-A controller. In the datasheet, Status register Bit 7 (SR7) indicates the conversion is finished or ...
2
votes
2answers
495 views

Analog to digital conversion

I am using an Atmega32-A microcontroller and an AD7798 external ADC. I am able to set the ADC registers and read back ADC values. I have written the following code: ...