Differences

This shows you the differences between two versions of the page.

Link to this comparison view

pm:prj2024:vstoica:bogdan.dumitru2304 [2024/05/25 16:32]
bogdan.dumitru2304 [Introducere]
pm:prj2024:vstoica:bogdan.dumitru2304 [2024/05/31 13:54] (current)
bogdan.dumitru2304 [Bibliografie/Resurse]
Line 56: Line 56:
  
 ===== Software Design ===== ===== Software Design =====
- 
- 
-<note tip> 
-Descrierea codului aplicaţiei (firmware): 
-  * mediu de dezvoltare (if any) (e.g. AVR Studio, CodeVisionAVR) 
-  * librării şi surse 3rd-party (e.g. Procyon AVRlib) 
-  * algoritmi şi structuri pe care plănuiţi să le implementaţi 
-  * (etapa 3) surse şi funcţii implementate 
-</​note>​ 
- 
 ==Mediu de Dezvoltare== ==Mediu de Dezvoltare==
 Arduino IDE, apoi mai tarziu am folosit VSC cu PlatformIO, importand proiectul de Arduino scris anterior. Arduino IDE, apoi mai tarziu am folosit VSC cu PlatformIO, importand proiectul de Arduino scris anterior.
Line 96: Line 86:
  
   // Timer1 configuration:​ 1Hz (1 second interval)   // Timer1 configuration:​ 1Hz (1 second interval)
-  ​noInterrupts();                     // Disable all interrupts+  ​cli();                     // Disable all interrupts
   TCCR1A = 0;                          // Set entire TCCR1A register to 0   TCCR1A = 0;                          // Set entire TCCR1A register to 0
   TCCR1B = 0;                          // Same for TCCR1B   TCCR1B = 0;                          // Same for TCCR1B
Line 104: Line 94:
   TCCR1B |= (1 << CS12) | (1 << CS10); // 1024 prescaler   TCCR1B |= (1 << CS12) | (1 << CS10); // 1024 prescaler
   TIMSK1 |= (1 << OCIE1A); ​            // Enable timer compare interrupt   TIMSK1 |= (1 << OCIE1A); ​            // Enable timer compare interrupt
-  ​interrupts();                        // Enable all interrupts+  ​sei();                        // Enable all interrupts
  
   // Give the sensor some time to calibrate   // Give the sensor some time to calibrate
Line 281: Line 271:
 Listă cu documente, datasheet-uri,​ resurse Internet folosite, eventual grupate pe **Resurse Software** şi **Resurse Hardware**. Listă cu documente, datasheet-uri,​ resurse Internet folosite, eventual grupate pe **Resurse Software** şi **Resurse Hardware**.
 </​note>​ </​note>​
 +
 +{{:​pm:​prj2024:​vstoica:​bogdan.dumitru2304:​proiect_pm.zip|}}
  
 <​html><​a class="​media mediafile mf_pdf"​ href="?​do=export_pdf">​Export to PDF</​a></​html>​ <​html><​a class="​media mediafile mf_pdf"​ href="?​do=export_pdf">​Export to PDF</​a></​html>​
  
pm/prj2024/vstoica/bogdan.dumitru2304.1716643939.txt.gz · Last modified: 2024/05/25 16:32 by bogdan.dumitru2304
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0