W
W
wolk2016-11-17 02:48:21
Arduino
wolk, 2016-11-17 02:48:21

Why might pulseIn() not work?

I use CLion to program Arduino.
The task is to determine the color, for this I use the appropriate sensor.
In the color detection algorithm, it is necessary to read the signal length - the function pulseIn ()
This function pulls countPulseASM ()
I compile, I get an error:

libuno_CORE.a(wiring_pulse.c.obj): In function `pulseIn':
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/wiring_pulse.c:46: undefined reference to `countPulseASM'

Everything works in the ArduinoIDE.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question