Skip to content

atoy40/mbed-hx711

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

mbed-hx711

Read HX711 load cell amplifier data.

Usage

Add the library to your project using mbed CLI (or directly through online IDE):

# mbed add https://github.com/atoy40/mbed-hx711 HX711

Example

#include "mbed.h"
#include "HX711.h"

HX711 loadcell(D7, D6);

int main(void) {
    while(1) {
        loadcell.powerUp();
        printf("Weight = %.1f\n", loadcell.getUnits(10));
        loadcell.powerDown();

        wait(3);
    }
}

About

HX711 load cell amplifier library for Mbed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages