A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: Function create_function() is deprecated

Filename: geshi/geshi.php

Line Number: 4751

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

Termin2Aufgabe3 - mcpaste

Termin2Aufgabe3

Von MC_J, 10 Jahre vorher, geschrieben in C, aufgerufen 1'518 mal.
URL https://mcpaste.de/view/02afa3ab Einbetten
Paste herunterladen oder Rohtext anzeigen
  1. // Aufgabe 2
  2. // Namen: __________; ___________
  3. // Matr.: __________; ___________
  4. // vom : __________
  5. //
  6. #include "../h/pmc.h"
  7. #include "../h/pio.h"
  8. int main(void)
  9. {
  10. StructPMC* pmcbase = PMC_BASE;
  11. // Basisadresse des PMC
  12. StructPIO* piobaseB = PIOB_BASE;
  13. // Basisadresse PIO B
  14. pmcbase->PMC_PCER = 0x4200; // Peripheral Clocks aktiv für PIOB und TC3
  15. // ab hier entsprechend der Aufgabestellung ergänzen
  16. //******************************************************
  17.         while(true)
  18.         {
  19.                 piobasebB->PIOB_SODR = 0x200;
  20.                 if(piobaseB->KEY1)
  21.                 {
  22.                         piobaseB->PIOB_SODR     = 0x100;
  23.                 }
  24.                 if(piobaseB->KEY2)
  25.                 {
  26.                         piobaseB->PIOB_CODR = 0x100;
  27.                 }
  28.                 for(int i=0 i<12500000 i++)
  29.                 piobaseB->PIOB_CDOR = 0x200;
  30.                 for(int i=0 i<12500000 i++)
  31.         }
  32.         return 0;
  33. }

Antwort auf "Termin2Aufgabe3"

Hier kannst Du auf den Paste von oben antworten

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876