added v2.0

This commit is contained in:
Michael Schröder
2023-01-11 11:13:09 +01:00
parent 2a5a64ca91
commit 971b323822
584 changed files with 159319 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
/**
* This library provides access to BUT and LED.
*/
class GPIO {
/** Initialize LED and BUT. LED is memory mapped to addr.
* BUT is memory mapepd to addr +1 */
function void init(int addr){
}
/** Returns the value of LED. */
function int readLed(){
}
/** Write c to LED */
function void writeLed(int value){
}
/** Returns the value of BUT */
function int readBut() {
}
}