Formula Student / Mbed 2 deprecated final_Code

Dependencies:   mbed

Fork of Canbus_test by Formula Student

Files at this revision

API Documentation at this revision

Comitter:
wouterkoenen
Date:
Fri Jan 12 10:55:08 2018 +0000
Parent:
1:12ddbe69b6e6
Commit message:
final

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Mon Nov 27 12:34:44 2017 +0000
+++ b/main.cpp	Fri Jan 12 10:55:08 2018 +0000
@@ -52,6 +52,14 @@
     /* Loop */
     int x = 0x0CCD;
     int y = 0x31;
+    int xshifted;
+    int xy; 
+    
+    //shiften en optellen
+    xshifted = x << 8;
+    xy = xshifted + y;
+      
+    
     /*/////////////////////////////////////////////////////////////
     int Result;
     Result = a[5];