Commits

Wagner Sartori Junior  committed 23595bd Merge

Typo

  • Participants
  • Parent commits 627b359, 83bbc8b

Comments (0)

Files changed (3)

 6d7ef8f0fb841c8c10791052a40e8af5562a7cb0 0.1
 bf192d5198aff05e716fce4f36f7db2fe6238e42 0.2
+c31574d2eb6d3e0efd1cdd0072a0a4be67959fb4 0.3

File memory_usage.txt

File contents unchanged.

File weatherstation.pde

   // Look the reading up in directions table. Find the first value
   // that's >= to what we got.
   for (x=0; x<NUMDIRS; x++) {
-     if (pgm_read_word_near(adc + x)) >= reading)
+     if (pgm_read_word_near(adc + x) >= reading)
         break;
   }
   wd = (x + dirOffset) % 8;   // Adjust for orientation