Filter Code Problem

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 Hi,

   

I am using a filter in PSOC 5, but I am unable to run/build it (i am not using a DMA).

   

 

   

the console says 'undefined reference to `Filter_Write24''

   

 

   

Filter_1_Start();

   

Filter_Write24(Filter_CHANNEL_A,ADC_sampleValue);

   

 

   

where ADC_sampleValue is a 32 bit uint, and Filter_CHANNEL_A is a uint8 type(how to set this?, ive only declared the variable as a uint8 type), and i have included the following header files:

   

#include <device.h>

   

#include "stdio.h"

   

#include "stdlib.h"

0 Likes
3 Replies