[riot-notifications] [RIOT] LIS3MDL driver implementation for LimiFrog V1 (#3495)

René Herthel notifications at github.com
Tue Sep 29 20:35:43 CEST 2015


> +    }
> +    else {
> +        puts("Disable LIS3MDL sensor ... [ FAIL ]\n");
> +    }
> +
> +    if (lis3mdl_enable(&dev) == 0) {
> +        puts("Enable LIS3MDL sensor ... [ OK ]\n");
> +    }
> +    else {
> +        puts("Enable LIS3MDL sensor ... [ FAIL ]\n");
> +    }
> +
> +    while(1){
> +        if (lis3mdl_read_mag(&dev, &mag_value) == 0) {
> +            printf("AXIS\tX: %5d   Y: %5d   Z: %5d\n", mag_value.x_axis,
> +                                                              mag_value.y_axis,

Check.

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3495/files#r40710420
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150929/d527c011/attachment.html>


More information about the notifications mailing list