what's the step to use flexio_i2c?-fatal error: flexio_i2c.h

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

what's the step to use flexio_i2c?-fatal error: flexio_i2c.h

760 Views
jianmin_zhou
Contributor II

I would implement flexio_i2c on my exist project. i selected two pin as SCL/SDA, then generate code, but when i #include "flexio_i2c.h" and compile, it reports "../Sources/main.c:21:24: fatal error: flexio_i2c.h: No such file or directory" 

Why? can anyone know the steps to using flexio_i2c?

Labels (1)
Tags (3)
0 Kudos
1 Reply

629 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

There is probably missing path to your header file. You can look at example project for reference: 

pastedImage_1.png

Jiri

0 Kudos