Author Topic: Can anyone share HX711 c driver code  (Read 3880 times)

0 Members and 1 Guest are viewing this topic.

Offline muthukural001Topic starter

  • Regular Contributor
  • *
  • Posts: 211
  • Country: in
Can anyone share HX711 c driver code
« 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
 

Online agehall

  • Frequent Contributor
  • **
  • Posts: 381
  • Country: se
Re: Can anyone share HX711 c driver code
« Reply #1 on: April 23, 2018, 08:05:55 am »
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.
 
The following users thanked this post: nugglix

Offline muthukural001Topic starter

  • Regular Contributor
  • *
  • Posts: 211
  • Country: in
Re: Can anyone share HX711 c driver code
« Reply #2 on: April 23, 2018, 09:02:55 am »
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.
 

Offline daveshah

  • Supporter
  • ****
  • Posts: 356
  • Country: at
    • Projects
Re: Can anyone share HX711 c driver code
« Reply #3 on: April 23, 2018, 09:11:46 am »
There seems to be reference C code in the datasheet on page 8.

https://www.mouser.com/ds/2/813/hx711_english-1022875.pdf
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4196
  • Country: us
Re: Can anyone share HX711 c driver code
« Reply #4 on: April 23, 2018, 09:34:56 am »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf