1 /* This example compiles right out of the box for TINI after you did a
2 make install of sdcc (latest revision :).
4 It prints the value of the DS1621 temperature sensor (at address 2)
5 and the 4 values of the PCF8591 ad-convertor (at address 0).
6 It (ab)uses the CAN CTX and CTR pins of the DS80C390.
7 Make sure you have pull-up resistors connected or it WON'T work.
9 Just do a "make" which compiles and compresses it a little.
10 Than use JavaKit to load i2c390.hex (it goes into bank 1, see Makefile)
11 Type 'E' in JavaKit and enjoy :) */
13 /* if you are using the (default) interrupt scheme for serial i/o,
14 you need to include this in the main program, so the vector will
16 #include <serial390.h>
27 printf ("%s %03bu %03bu %03bu %03bu\n\r",