EEVblog Electronics Community Forum
Electronics => Microcontrollers => Topic started by: muthukural001 on April 23, 2018, 07:24:41 am
-
Hello All,
I am using HX711 as part of the project. For I know, it is not based on neither I2C nor SPI. All the sample codes are available in Arduino. If anyone had worked with HX711, can you share the sample code ?
Thanks,
Muthu
-
For what platform? If Arduino is not good enough, you need to specify what you want.
Most people would simply read the Arduino code to understand how to use it if the datasheet doesn't tell you and then adopt the code to whatever platform you are using. Arduino code is no magic, it is pretty much standard C/C++ code.
-
Sorry for not Mentioning. I need it in C language. Well, Arduino code for HX711 looks standard library and I don't know and can't find what is inside.
-
There seems to be reference C code in the datasheet on page 8.
https://www.mouser.com/ds/2/813/hx711_english-1022875.pdf (https://www.mouser.com/ds/2/813/hx711_english-1022875.pdf)
-
You don't find this understandable?
https://github.com/aguegu/ardulibs/blob/master/hx711/hx711.cpp