I have added the new TC77 library + sample. Eur, I hope you can try it at least once to test compatibility.
I made CS line optional in lib and I was able to keep compatibility for the old sample 16f876a_tc77. Just change the line: include temperature_tc77 to include temperature_tc77_new You should also note that if you use multiple devices, SPI code is shared. With the old library, each different device would have to have it's own SPI code built in. I was not able to test 16f876a_tc77 since I don't have one, but it did work after changing the device block to 18f4620. Here are compile results (with and without -no-variable-reuse). For the original 16f876a_tc77 sample with 16f876a device block. **OLD LIB** Compilation started at :10/19/2011 9:34:02 AM jal 2.4o (compiled May 8 2011) Compiler CommandLine: d:\jalv2\compiler\jalv2.exe -no-codfile -s "d: \jalv2\lib" -no-asm -hex "d:\jalv2\sample\temp.hex" "D:\jalv2\sample \16f876a_tc77.jal" Errors :0 Warnings :0 Code :4928/65536 Data:103/3840 Hardware Stack : 4/31 Software Stack :3737 **NEW LIB** Compilation started at :10/19/2011 9:34:16 AM jal 2.4o (compiled May 8 2011) Compiler CommandLine: d:\jalv2\compiler\jalv2.exe -no-codfile -s "d: \jalv2\lib" -no-asm -hex "d:\jalv2\sample\temp.hex" "D:\jalv2\sample \16f876a_tc77.jal" Errors :0 Warnings :0 Code :4686/65536 Data:101/3840 Hardware Stack : 4/31 Software Stack :3739 ;---------------------------- -no-variable-reuse **OLD LIB** Compilation started at :10/19/2011 9:32:33 AM jal 2.4o (compiled May 8 2011) Compiler CommandLine: d:\jalv2\compiler\jalv2.exe -no-codfile -s "d: \jalv2\lib" -no-asm -no-variable-reuse -hex "d:\jalv2\sample\temp.hex" "D:\jalv2\sample\16f876a_tc77.jal" Errors :0 Warnings :0 Code :5164/65536 Data:187/3840 Hardware Stack : 4/31 Software Stack :3653 **NEW LIB** Compilation started at :10/19/2011 9:32:56 AM jal 2.4o (compiled May 8 2011) Compiler CommandLine: d:\jalv2\compiler\jalv2.exe -no-codfile -s "d: \jalv2\lib" -no-asm -no-variable-reuse -hex "d:\jalv2\sample\temp.hex" "D:\jalv2\sample\16f876a_tc77.jal" Errors :0 Warnings :0 Code :4856/65536 Data:185/3840 Hardware Stack : 4/31 Software Stack :3655 -- 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.
