Rev Author Line No. Line
2980 kaklik 1 #define MAG_ADDR_R 0x3D //addresa pro cteni
2 #define MAG_ADDR_W 0x3C
3  
4  
5 //Konstanty nastavujici rozsah
6 //pro void set_mag_roz (unsigned int8 h)
7 #define MAG_ROZ088 0x00
8 #define MAG_ROZ130 0x20
9 #define MAG_ROZ190 0x40
10 #define MAG_ROZ250 0x60
11 #define MAG_ROZ400 0x80
12 #define MAG_ROZ470 0xA0
13 #define MAG_ROZ560 0xC0
14 #define MAG_ROZ810 0xE0
15  
16  
17 #include "HMC5883L.c"