I am currently working on a project that interfaces with two RX/TX communication devices , and one SPI communication device. The SPI device which is an SD card and one of the RX/TX device is a ping sensor. The ping sensor has Arduino libraries help write a program to interface with the hardware. I am not using an Arduino Development but just a bare bones atmega1284p microcontroller. Is it possible to flash a hex file that contains a program and the library (.h) to be used in the microcontroller?
This is the GitHub for the ping sensor that contains code to help with interfacing with the device :
I am using atmelstudio 7 to program this AVR microcontroller. This a tutorial I have been trying to follow:
The things you wrote don't make any sense. You can't flash a .h file. You can compile a program that #includes a .h file, but the .h file itself is not a program.
Please provide a detailed description of what you are trying to accomplish, as well as links to any code or tutorials you might be using.