V
V
Vladimir Dubos2017-04-23 17:06:52
Atmel AVR
Vladimir Dubos, 2017-04-23 17:06:52

Why doesn't the sei() function work?

Given: A one-stop-shop php/c# jack-of-all-trades programmer, ATtiny13A (first attempt at avr) and problem:
If sei() is added to the code, it is underlined with a red squiggle on build as well the error ld returned 1 exit status TinyBlink collect2.exe takes off, and if this line is commented out, everything is fine.
what to do = ?
Thank you in advance!
PS The code was partially written by myself, and partially copied from here: https://geektimes.ru/post/255772/ and from many other sources about interrupts, shims, etc.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Dubos, 2018-02-08
@vovaduba

Forgot to include interrupt.h

N
n12eq3, 2017-04-23
@n12eq3

when trying to figure it out, you need to figure it out, and not copy pieces of shit code from other authors into your shit code
https://forum.pjrc.com/threads/29172-ld-returned-1...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question