Projet

Général

Profil

/***********************************************************************/
/* */
/* FILE :SP4b1.c */
/* DATE :Tue, May 18, 2021 */
/* DESCRIPTION :main program file. */
/* CPU GROUP :87B */
/* */
/* This file is generated by Renesas Project Generator (Ver.4.18). */
/* NOTE:THIS IS A TYPICAL EXAMPLE. */
/***********************************************************************/
#include "sfr32c87.h"

void main (void)


{
char c;
pd1=0xff;
c=0b10000000;
if(c&0b10000000)
p1_7=1;
else
p1_7=0;
if(c&0b10000000)
p1_6=1;
else
p1_6=0;
if(c&0b10000000)
p1_5=1;
else
p1_5=0;
if(c&0b10000000)
p1_4=1;
else
p1_4=0;
if(c&0b10000000)
p1_2=1;
else
p1_2=0;
}
(1-1/7)