The 7 segment LED sample program display segments e and decimal point only
when compiled with compiler directive "-load-reduce "
My commandline argument

jal 2.4n (compiled Jun  2 2010)
CODE (1) removed in (2) passes
Compiler CommandLine:
D:\Projects\SW\delphi\JALEDI~1\Install\source\compiler\jalv2.exe
"D:\Projects\HW\test\18f4550\18f4550_7_seg.jal" -s
"D:\Projects\SW\delphi\JALEDI~1\Install\source\lib" -loader18 4
-load-reduce

Relevant jallib  files SEVEN_SEGMENT.jal,\sample\18f4550_seven_segment.jal

portd_direction = all_output

var byte i = 0
forever loop

   -- set backlight off for two seconds
   portd = seven_from_digit(i) -- display char  ; looks like compiler goes
wrong with -load-reduce within the function
   delay_1ms(500)

   i = i + 1
   if (i > 17) then
      i = 0
   end if


end loop


Sunish

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to