RCU Forums - View Single Post - New CDI - opensource project JMJ and Bigboat
Old 01-23-2010 | 01:43 PM
  #485  
Bigboat
Senior Member
 
Joined: Dec 2005
Posts: 548
Likes: 0
Received 0 Likes on 0 Posts
From: Alkmaar, NETHERLANDS
Default RE: New CDI - opensource project JMJ and Bigboat

In the C-code there must be into the first line this txt

void test() { //Generate test signal
while (1){
PORTB &= 0xee; // sends a ground to the SCR gate
Delay_us(56); // send delay 56us scr
PORTB |= 0x11; // ground off the SCR
if (PORTB & 0x04) delay_ms(200); // 300 rpm
else delay_ms(8); // 7500 rpm

If there is no txt like this, you have the wrong version.