Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
en:multiasm:piot:chapter_4_9 [2026/02/07 11:44] – old revision restored (2026/02/06 13:12) raivo.sellen:multiasm:piot:chapter_4_9 [2026/02/27 01:13] (current) – [Examples] jtokarz
Line 17: Line 17:
 <code c> <code c>
   void setup() {   void setup() {
-    // Set PB5 (pin 13) as output  // if DDRB (Data Direction Register B) = 1, PORTB is output +    // Set PB5 (pin 13) as output   
 +    // if DDRB (Data Direction Register B) = 1, PORTB is output 
     asm volatile("sbi 0x04, 5");   // DDRB |= (1<<5)     asm volatile("sbi 0x04, 5");   // DDRB |= (1<<5)
   }   }
en/multiasm/piot/chapter_4_9.1770457443.txt.gz · Last modified: by raivo.sell
CC Attribution-Share Alike 4.0 International
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