How can I hide my Library with Arduino?

Because my personal requirement, I write a new library, and I want hide these code(cpp file), just open the Header file to other people, I've been looking for a long time, but I didn't see any about that...

who can help me, I will be very grateful :frowning:

fullmetal6927:
I want hide these code(cpp file)

Why would you want to do that? Just make it open-source. :slight_smile:

Pieter

Just distribute the .hex and .h files.

there have some formula is Trade secrets, but I have to provide the source code to other people...
I can't sure this statement is right, my English is not good

Spais everywhere.

Johnny010:
Spais everywhere.

sorry, but what is spais?? thx

Don't worry about the spais, they'll just run some avr-objdump -j .sec1 -d -m avr5 commands on your program and send your secret formula to the CIA or sell it to the Russians.

Delta_G:
This is an open source community. You can get all this FREE help because we are all sharing our code. As soon as you go into trade secrets and proprietary code, you are outside of that. You are talking about something you'll make money from by keeping it a secret. So it is not appropriate for you to be asking the open source community for help. If you're making money from it, then pay someone to help you get it done. It isn't fair to use the open source community as your free programming department. Hire someone for your commercial project. Use the open source community for things you want to share freely. What you are doing right now is almost the same as stealing.

I want to open my source, but some formula don't wnat let others know, maybe I've wrong expression, I'm just a student, I have not any business behavior.
And these formula is form my Seniors, these code will be used for teaching purposes.

fullmetal6927:
there have some formula is Trade secrets, but I have to provide the source code to other people...
I can't sure this statement is right, my English is not good

"to publish" and "to keep secrets" are opposites. Choose one or the other!

Zutons:
Secrets , secrets, secrets
Are for keeping, keeping, keeping
And if you tell them
They lose their meaning

Don't tell your mates
On the council estates
'Cause there's no one to trust
Don't tell the sky as it spits down in your eye
But tell the priest if you must