Update main.c

pull/1/head
alanbjohnston 7 years ago committed by GitHub
parent 889176dbde
commit bb8694f826
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -62,7 +62,7 @@ long int timestamp;
void config_x25(); void config_x25();
void trans_x25(); void trans_x25();
//long int timestamp; //long int timestamp;
//int tempSensor, xPlusSensor, yPlusSensor, zPlusSensor, battCurrentSensor; int tempSensor;
int upper_digit(int number); int upper_digit(int number);
int lower_digit(int number); int lower_digit(int number);
@ -80,7 +80,7 @@ int main(void) {
} }
timestamp = time(NULL); timestamp = time(NULL);
//tempSensor = wiringPiI2CSetupInterface("/dev/i2c-3", 0x48); tempSensor = wiringPiI2CSetupInterface("/dev/i2c-3", 0x48);
//srand((unsigned int)(wiringPiI2CReadReg16(tempSensor, 0))); //srand((unsigned int)(wiringPiI2CReadReg16(tempSensor, 0)));
setSpiChannel(SPI_CHANNEL); setSpiChannel(SPI_CHANNEL);

Loading…
Cancel
Save

Powered by TurnKey Linux.