Go Down

Topic: Trying to Include C libraries to my Arduino Sketch (Read 417 times) previous topic - next topic

ernm

My C libraries like stdio.h and avr libraries are installed, but when I try to include it, it says file not found. Can you please help me?

Much Appreciated!

DrAzzy

What IDE version?

Do you have the right board selected? What board are you using? Is it a custom board?
ATTinyCore for x4/x5/x61/x7/x8/x41/1634/828/x313 megaTinyCore for the megaavr ATtinies - Board Manager:
http://drazzy.com/package_drazzy.com_index.json
ATtiny breakouts, mosfets, awesome prototyping board in my store http://tindie.com/stores/DrAzzy

ernm

Thanks for your response.

IDE v 1.6.7. I'm just compiling right now. I'm not trying to upload it, but I get an error on compile.

septillion

Arduino IDE uses C++ so using "pure c" is possible right out of the box...
Use fricking code tags!!!!
I want x => I would like x, I need help => I would like help, Need fast => Go and pay someone to do the job...

NEW Library to make fading leds a piece of cake
https://github.com/septillion-git/FadeLed

ernm

Oh yes that's true. I'm just trying to include the avr/io.h file, but it's not working.

pert

What board are you using?
Please answer DrAzzy's question. The board you have selected does matter even if you're only trying to compile. Which board do you have selected in the Tools > Board menu?

Go Up