Guest User

Untitled

a guest
Jul 22nd, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. # include <platform .h>
  2. on stdcore [0] : out port tx = XS1_PORT_1A ;
  3. on stdcore [0] : in port rx = XS1_PORT_1B ;
  4. on stdcore [1] : out port lcdData = XS1_PORT_32A ;
  5. on stdcore [2] : in port keys = XS1_PORT_8B ;
  6. int main ( void ) {
  7. par {
  8. on stdcore [0] : uartTX (tx );
  9. on stdcore [0] : uartRX (rx );
  10. on stdcore [1] : lcdDrive ( lcdData );
  11. on stdcore [2] : kbListen ( keys );
  12. }
  13. }
Add Comment
Please, Sign In to add comment