Skip to content

Commit

Permalink
update log
Browse files Browse the repository at this point in the history
  • Loading branch information
771-8bit committed Mar 24, 2024
1 parent 743cd3a commit bbbb417
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 2 additions & 5 deletions Main/Main.ino
Original file line number Diff line number Diff line change
Expand Up @@ -220,15 +220,12 @@ void loop() {

bool new_judge = opener.opener_100Hz(-data_bno_accel_z_mss, data_bme_altitude_m);
downlink += ",";
downlink += data_bno_accel_y_mss;
downlink += data_bno_accel_x_mss;
downlink += ",";
downlink += data_bno_accel_z_mss;
downlink += data_bno_accel_y_mss;
downlink += ",";

downlink += data_bme_pressure_hPa;
downlink += ",";
downlink += data_bme_temperature_degC;
downlink += ",";

Serial_MIF.print(millis());
Serial_MIF.print(",");
Expand Down
4 changes: 3 additions & 1 deletion MissionInterface/MissionInterface.ino
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void setup() {

pinMode(MISSION_POWER, OUTPUT);
digitalWrite(MISSION_POWER, LOW);

Serial1.setFIFOSize(512);
Serial1.begin(921600);
while (Serial1.available()) {
Expand Down Expand Up @@ -90,6 +90,8 @@ void flash_dump() {
size_t flash_index = 0;
uint32_t flash_addr = 0;

Serial.println("time_ms, state, accel_z_mss, temperature_degC, altitude_m, gnss_latitude_udeg, gnss_longitude_udeg, bat_v, ext_v, accel_x_mss, accel_y_mss, pressure_hPa");

while (true) {
flash.read(flash_addr, flash_buf, 256);
Serial.write(flash_buf, 256);
Expand Down

0 comments on commit bbbb417

Please # to comment.