Skip to content

Commit 9483952

Browse files
committed
Updated translations
1 parent 029d5ae commit 9483952

File tree

3 files changed

+13
-14
lines changed

3 files changed

+13
-14
lines changed

sck_beta_v0_9/Constants.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ SENSOR READINGS - Defaults
8585
8686
*/
8787

88-
#define DEFAULT_TIME_UPDATE 60 //Tiempo entre actualizacion y actualizacion
89-
#define DEFAULT_MIN_UPDATES 1 //Minimo numero de actualizaciones antes de postear
90-
#define POST_MAX 20 //Maximo numero de posteos a la vez
88+
#define DEFAULT_TIME_UPDATE 60 //Time between update and update
89+
#define DEFAULT_MIN_UPDATES 1 //Minimum number of updates before posting
90+
#define POST_MAX 20 //Max number of postings at a time
9191

9292

9393
/*
@@ -161,7 +161,7 @@ MICS PARAMETERS - Gas Sensor Addresses and Defaults
161161
#define MICS_2710 0x01
162162

163163
#define RES 256 // Digital pot. resolution
164-
#define P1 100 //Resistencia potenciometro digitales 100Kohm
164+
#define P1 100 //Digital potentiometer resistance 100Kohm
165165

166166
#define Rc0 10. //Ohm. Average current resistance for sensor MICS_5525/MICS_5524
167167

sck_beta_v0_9/SCKAmbient.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,26 +83,26 @@ void SCKAmbient::begin() {
8383
base_.writeCharge(350);
8484

8585
writeVH(MICS_5525, 2700); // MICS5525_START
86-
digitalWrite(IO0, HIGH); // MICS5525
86+
digitalWrite(IO0, HIGH); // MICS5525
8787

8888
writeVH(MICS_2710, 1700); // MICS2710_START
89-
digitalWrite(IO1, HIGH); // MICS2710_HEATHER
90-
digitalWrite(IO2, LOW); // MICS2710_HIGH_IMPEDANCE
89+
digitalWrite(IO1, HIGH); // MICS2710_HEATHER
90+
digitalWrite(IO2, LOW); // MICS2710_HIGH_IMPEDANCE
9191

9292
pinMode(IO3, OUTPUT);
93-
digitalWrite(IO3, HIGH); // MICS POWER LINE
93+
digitalWrite(IO3, HIGH); // MICS POWER LINE
9494
writeADXL(0x2D, 0x08);
9595
// WriteADXL(0x31, 0x00); //2g
9696
// WriteADXL(0x31, 0x01); //4g
9797
writeADXL(0x31, 0x02); //8g
9898
// WriteADXL(0x31, 0x03); //16g
9999
#else
100100
writeVH(MICS_5525, 2400); // MICS5525_START
101-
digitalWrite(IO0, HIGH); // MICS5525
101+
digitalWrite(IO0, HIGH); // MICS5525
102102

103103
writeVH(MICS_2710, 1700); // MICS2710_START
104-
digitalWrite(IO1, HIGH); // MICS2710
105-
digitalWrite(IO2, LOW); // MICS2710_HIGH_IMPEDANCE
104+
digitalWrite(IO1, HIGH); // MICS2710
105+
digitalWrite(IO2, LOW); // MICS2710_HIGH_IMPEDANCE
106106
#endif
107107

108108
writeRL(MICS_5525, 100000); // START LOADING MICS5525
@@ -192,7 +192,7 @@ void SCKAmbient::ini()
192192
wait_moment = false;
193193
}
194194

195-
float k= (RES*(float)R1/100)/1000; // Voltatge Constant for the Voltage reg.
195+
float k= (RES*(float)R1/100)/1000; //Voltatge Constant for the Voltage reg.
196196

197197

198198
/*

sck_beta_v0_9/SCKBase.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,7 @@ boolean SCKBase::checkRTC() {
286286
}
287287

288288
boolean SCKBase::RTCadjust(char *time) {
289-
byte rtc[6] = {
290-
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
289+
byte rtc[6] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
291290
byte count = 0x00;
292291
byte data_count=0;
293292
while (time[count]!=0x00)

0 commit comments

Comments
 (0)