1. Engineering
  2. Computer Science
  3. i need c code implement and in sourceboost ide if...

Question: i need c code implement and in sourceboost ide if...

Question details

I need c code implement and in sourceboost IDE

If possible to be as Text so I can copy and paste

Assign1A (Knight Rider Effect) Entry Hardware Setup Main Function LEDs connected to PORTB Declare Variables unsigned char num1 1 bit direction 1 Initialise SFRs Set direction of PORTB to all outputs Initaiise value on PORTB to all low Flash LEDS unction to flash LEDs once for 5 seconds to test LEDs and timing while(1) portb num1 direction = 1 ? num 128? num 1? direction 0 num 1 num 1 2 direction1 num1 = num1 / 2 100mS delay

(yes) num = 128?

(no) num = 1?

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution