Revision: 1721
Author: bvwelch
Date: Sat Feb 27 14:22:20 2010
Log: minor pin assignment changes for leds and STERM

http://code.google.com/p/jallib/source/detail?r=1721

Modified:
 /trunk/sample/18f2585_canid4_monitor.jal

=======================================
--- /trunk/sample/18f2585_canid4_monitor.jal    Sat Feb 27 13:05:31 2010
+++ /trunk/sample/18f2585_canid4_monitor.jal    Sat Feb 27 14:22:20 2010
@@ -37,11 +37,11 @@
 const green = 1
 const red   = 2

-var bit led      is pin_c2
-var bit led_dir  is pin_c2_direction
-
-led_dir = input
-led = low
+var bit led      is pin_b1             -- on CAN daughterboard
+var bit led_dir  is pin_b1_direction
+
+led_dir = output
+led = high

 procedure LEDs(byte in x) is
 if x == down then
@@ -57,8 +57,8 @@

 const byte LCD_ROWS = 4
 const byte LCD_CHARS = 20
-var bit lcd_sterm_pin is pin_C0
-var bit lcd_sterm_pin_dir is pin_C0_direction
+var bit lcd_sterm_pin is pin_A0
+var bit lcd_sterm_pin_dir is pin_A0_direction
 include lcd_sterm_master

 -- ECAN controller is built-in to 18F2585

--
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