I've used cgminer a long time ago for that purpose but now I think everything has been changed. So I need a working example in order to achieve my goal.
Why not share your thoughts here what exactly do you want to achieve?
We can maybe give you some idea of what you want to achieve.
I don't know if GPU/CPU still works on mining BTC but why not buy a USB stick miner Compact F or 2pac for your project?
If you are interested check this thread below
-
https://bitcointalk.org/index.php?topic=1764803.0I like to see how connections are made to a pool and get header info in btc version 25, how merkle root replaced and calculated after 4GH nonce reached or how extranonce come to sense and also middle state involved in live action. those boards use bitmain asics and I'm not sure something like midstate could be included in asics, or a way to manipulate sha256 calculations in asics.