Micro Assignment
Micro Assignment
DATE
AssI GINMENT-3
g05) with
QOplain Bypes fo
C data 1ypes
SuHabLe Oxample
805l aEe
Vaoious C data tupcs foo
Ihe
D Unsigned Chag
3 Sighod Chae
3) Unsigned int
4) Sigñed tht
5) Sbtt (single bit)
6) Bit and srJ
OUnsiqned chag
T+ IS a 8 bH data type
It takes the Vauue Ln the ange of
0-225 (O0-fFH)
Sgned Chae.
J iS a 8 bt data type.
A Signed cha[ ts a sighed Vole
whttn s typically Smaleg fhan
and S ded mot
blgqee Hhan ashost fo be
DELUXE
PAGE NO.:
|DATE:
L6 Unslaed int
I4 tS a l6 bi daBa
type
ansigned integees
O. t% 65535
oange foom
SIgned I n t 2 i o
Tt rS l6 bit data
type
-xic t Cxet dses most
O7to oepoesent StgnifCCnt bits Öl5
h Sgnof the
dlata
The oemaning 5 bits
o gen numbero magnttude
3lalle;lt329 768 T0 32)763Ganging foom
Ex: intP q
4
O1O]a tyd 5 ot boz5
O LO 6 6
7 7
IO00
-7
-5 t[-16 11
-4 12
13
-
6 Sbit
DATE
I/ To 9g1e PI fouever
#incde < reg 51:h>
Vord mau'n votd)
foo C)
0 Wroite an &051
8o5| C poogoam to to gg le Ql}
Some detcuy
# In clude <oeg 5e b onrCoV
Vord ma'n CVOLd )
Vovd mg peri
Voud main cvotd Cunsign ed int) ;
4 whtLO C() I|
Depeds froeve
PL=O55
ms Dety (250) 3
Delay bso)
REDMI NOTE 9 PRO MAX
PAYAL
DELUXE
PAGE NO.:
|DATE:
PL 4t/ocoemon t Pl
LED t 3 || in coenen t P2
REDMI NOTEPRO VA
PAYAL
MAY PRO NOTE9 REDMI
ond
PtoitSend mybyfe =P2
9
P] to Send
it
else
foom
Po bqte Glaget
loo) Cmybyte
< C
omybyte
po
pot input pomake | oxf =0Po
mnybyte chas ncdunsig
Cvord) matn Void
byte loo han Loss it Po
foom data CE
Of
geta Dc)to C 618O CnWOlte
DATE:
DELUXÉ MO.: PACE