The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
24 views

How to use an interrupt on Cortex - M3 [migrated]

I am trying to set up the chip so it will detect a rising edge on a pin then start outputting a square wave on the next pin over after that. I have the interrupt turned on but I don't know how to say ...
-2
votes
0answers
14 views

Why my program for AT89C2051 has so many errors? [migrated]

I'm new to this site and I'm sorry I can't make out a better title. I'm a student and I'm doing a project - design a traffic light using AT89C2051. Unfortunately, my code doesn't work. There are many ...
17
votes
9answers
1k views

Does OO, TDD, and Refactoring to Smaller Functions affect Speed of Code?

In Computer Science field, I have noticed a notable shift in thinking when it comes to programming. The advice as it stands now is write smaller, more testable code refactor existing code into ...
1
vote
1answer
193 views

How are I/O port addresses and data sent?

First of all, I'd like to say this is a hardware-level question, which is very closely related to the "in" and "out" command in x86 assembly. I have searched for quite some time, but I still haven't ...
3
votes
2answers
433 views

Implementing non-fixed length array support in a compiler

I'm thinking of building a language for PIC microcontrollers. I want to be able to use non-fixed size arrays, like this: Declare the variable as int[] Wait for input from serial connection Make the ...
3
votes
1answer
152 views

How to comply with the Java ASM License?

I am designing an open source Java library that I will likely release with an MIT license, and its sole dependency is the ASM dynamic bytecode injection library. According to their license: ...