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.
Diff: bit_set.h
- Revision:
- 0:e260b26ee5fb
- Child:
- 1:4b6bf9473b7d
diff -r 000000000000 -r e260b26ee5fb bit_set.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bit_set.h Mon Sep 09 05:55:15 2019 +0000 @@ -0,0 +1,17 @@ +/* +This header can only be used for 8bit variables. +*/ + +#ifndef BIT_SET_H +#define BIT_SET_H + +class bit_set +{ +public: + char bitini(char var); + void bitset(char var,int cons); + void bitclear(char var,int cons); + bool bitcheck(char var,int cons); +}; + +#endif \ No newline at end of file