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.

using remainder in PIC programming using C.

Status
Not open for further replies.

furqankaimkhani

Member level 4
Joined
Sep 10, 2010
Messages
79
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,946
MA4=MASTER; //MA4 is an unsigned int32. Master is a float.
MA3=(MA4%1000000); //e.g. If MA4 is 123456 then what will the
MA4=(MA4/1000000); //MA1, MA2, MA3 and MA4 have at last.
MA2=(MA3%10000);
MA3=(MA3/10000);
MA1=(MA2%100);
MA2=(MA2/100);
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top