Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of Canbus_test by
Revision 2:c7a9ad9bd969, committed 2018-01-12
- 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];
