Posted by carlos #include <inh8.h> char tope; PORT6 = 2; PORT6 = 3; can someone tell me what is the problem? thank, merci, danke , gracias
![]()
on July 31, 2003, 8:18:12
62.151.153.48
it is my fist program with a hitachi h8/3644 and i want to turn on an off a pair of led.
but it don't work and i think it is well done.
#include <ioh83644.h>
#pragma language=extended
sfr PC6 = 0xffffffD9;
sfr PORT6 = 0xffffffE9;
void main()
{
char i;
set_interrupt_mask (2);
PC6 = 0X03;
tope=1000;
PORT6 = 1;
for (i=0;i<tope;i++);
for (i=0;i<tope;i++);
}
Message Thread:
![]()
« Back to thread
Evaluation Kit Support
Renesas Evaluation Boards are intended for evaluation of Renesas microprocessors only, not as development tools.