Skip to content

Commit

Permalink
Select stop-watch RTC mode only.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklik committed Apr 4, 2024
1 parent 416b6f6 commit 14139fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fw/AIRDOS04/AIRDOS04.ino
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ while(true)
{
Wire.beginTransmission(0x51); // 1 kHz to #INTA
Wire.write(0x28);
Wire.write(0x05); // COF
Wire.write(0x95); // COF
Wire.endTransmission();

for( uint16_t n=0; n<200; n++)
Expand Down Expand Up @@ -691,7 +691,7 @@ while(true)

Wire.beginTransmission(0x51); // disable output n INTA
Wire.write((uint8_t)0x28); // Start register
Wire.write((uint8_t)0x07); // 0x28 RTC mode, no periodic interrupts, CLK pin off
Wire.write((uint8_t)0x97); // 0x28 RTC mode, no periodic interrupts, CLK pin off

// Initiation of RTC
/*Wire.beginTransmission(0x51); // init clock
Expand Down Expand Up @@ -914,7 +914,7 @@ void loop()
{
Wire.beginTransmission(0x51); // 1024 Hz to #INTA
Wire.write(0x28);
Wire.write(0x05); // COF
Wire.write(0x95); // COF
Wire.endTransmission();

delay(3000);
Expand Down

0 comments on commit 14139fa

Please sign in to comment.