Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

another simple C winavr question plz

Status
Not open for further replies.
If i is greater than RC5RESAMPLE divided by 2 then level = 1, if not level = 0.
 

Thanks ,, but i have another question plz

how would i define a 10 bits integer or char

for example unsigned char is 8 bits ,, if i want a 10 bits variable ,, what should i do ?
 

Just define an int, 16 bits, then
my 10bit = int & 0x3ff
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top