Skip to content

Commit

Permalink
Merge branch 'main' into f_relay
Browse files Browse the repository at this point in the history
  • Loading branch information
FredM67 committed May 1, 2023
2 parents 4c69aa2 + b7cf3ee commit 37caf6d
Show file tree
Hide file tree
Showing 5 changed files with 673 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
build
c_cpp_properties.json
inols*
platformio-device-monitor-*.log
logs
4 changes: 2 additions & 2 deletions Mk2_3phase_RFdatalog_temp/inject_sketch_name.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

def get_git_revision_short_hash() -> str:
try:
return subprocess.check_output(['git', 'rev-parse', '--short', 'HEAD'],shell=True).decode('ascii').strip()
return subprocess.check_output(['git', 'rev-parse', '--short', 'HEAD'],shell=True).decode('utf-8').strip()
except CalledProcessError:
return "N/A"

def get_git_current_branch() -> str:
try:
return subprocess.check_output(['git', 'branch', '--show-current'],shell=True).decode('ascii').strip()
return subprocess.check_output(['git', 'branch', '--show-current'],shell=True).decode('utf-8').strip()
except CalledProcessError:
return "N/A"

Expand Down
2 changes: 1 addition & 1 deletion cal_CTx_v_meter/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ constexpr int16_t i_phaseCal{ 256 }; /**< to avoid the need for floating-point m
// For datalogging purposes, f_voltageCal has been added too. Because the range of ADC values is
// similar to the actual range of volts, the optimal value for this cal factor is likely to be
// close to unity.
inline constexpr float f_voltageCal[NO_OF_PHASES]{ 0.8151F, 0.8184F, 0.8195F }; /**< compared with Fluke 77 meter */
inline constexpr float f_voltageCal[NO_OF_PHASES]{ 0.8151F, 0.8184F, 0.8195F }; /**< compared with Sentron PAC 4200 */

/**
@brief Interrupt Service Routine - Interrupt-Driven Analog Conversion.
Expand Down
670 changes: 669 additions & 1 deletion docs/CarteACI_Mono_Autre_Routeur.drawio

Large diffs are not rendered by default.

Binary file modified docs/CarteACI_Mono_Autre_Routeur.pdf
Binary file not shown.

0 comments on commit 37caf6d

Please sign in to comment.