- What is an ISR
- How would you debug an ISR
- How do you check how long an ISR runs for
A series of technical questions, some with an example code asking whats wrong, others just asking to solve.
- Write a function to find if a number is even or odd
- Now do it without modulo (Cause I used modulo the first time)
- Write a function for a resource limited processor to find the square root rounded down of a number
- You can only use basic math operations
- What three things are wrong with the following ISR (I am estimating what it looked like, I don’t have a copy)
double calculate_area(double radius) {
double area = radius * radius * 3.14;
printf("Area: %d", area);
return area;
}