kopia lustrzana https://github.com/dvarrel/XCTRACK_vario
update readme and code
rodzic
5936cb6083
commit
f6349f05fb
10
README.md
10
README.md
|
@ -35,21 +35,21 @@ https://github.com/LK8000/LK8000/blob/master/Docs/LK8EX1.txt
|
||||||
|
|
||||||
## Step by step
|
## Step by step
|
||||||
|
|
||||||
You will need to download the MS5XXX library by Roman Schmitz. For this, go to Tools -> Manage Libraries and search for "MS5xxx"; install the library done by Roman Schmitz.
|
1) Download MS5XXX library by Roman Schmitz. (Go to Tools, Manage Libraries and search for "MS5xxx"; install the library done by Roman Schmitz.)
|
||||||
|
|
||||||
If you want to use it as only usb, just upload the code in XCTRACK_VARIO_MS5611.
|
1) If you want to use it as only usb, just upload the code in (XCTRACK_VARIO_MS5611/XCTRACK_VARIO_MS5611.ino).
|
||||||
|
|
||||||
To use it as bluetooth, simply change the following code
|
To use it as bluetooth (and USB), simply change the following code
|
||||||
|
|
||||||
```
|
```
|
||||||
#define USB_MODE // usb by default
|
#define USB_MODE // usb by default
|
||||||
// #define BLUETOOTH_MODE // uncomment this line and comment the line above for bluetooth mode
|
// #define BLUETOOTH_MODE // uncomment this line for bluetooth mode
|
||||||
```
|
```
|
||||||
|
|
||||||
to
|
to
|
||||||
|
|
||||||
```
|
```
|
||||||
// #define USB_MODE // usb by default
|
#define USB_MODE // usb by default
|
||||||
#define BLUETOOTH_MODE // uncomment this line and comment the line above for bluetooth mode
|
#define BLUETOOTH_MODE // uncomment this line and comment the line above for bluetooth mode
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ SoftwareSerial BTserial(RX, TX); // RX not connected
|
||||||
#define BLUETOOTH_SPEED 9600 //bluetooth speed (9600 by default)
|
#define BLUETOOTH_SPEED 9600 //bluetooth speed (9600 by default)
|
||||||
#define FREQUENCY 10 // freq output in Hz
|
#define FREQUENCY 10 // freq output in Hz
|
||||||
#define USB_MODE // usb by default
|
#define USB_MODE // usb by default
|
||||||
// #define BLUETOOTH_MODE // uncomment this line and comment the line above for bluetooth mode
|
// #define BLUETOOTH_MODE // uncomment this line for bluetooth mode
|
||||||
#define USE_LK8000
|
#define USE_LK8000
|
||||||
/*
|
/*
|
||||||
* sentences to choice :
|
* sentences to choice :
|
||||||
|
|
Ładowanie…
Reference in New Issue