>BTW: Your 16f877 sample includes delay.jal twice. The compiler forgives you, but this is not a good example (showcase) for beginners!
Why doesn't the compiler give me an error for including delay.jal twice? it should tell me "function already defined" On Sep 6, 5:52 am, Rob Hamerling <[email protected]> wrote: > Hi Matt, > > I wanted to do a test with a modified 18F device file (18F452) and > modified SPI-library (with aliases for SSP1 regs moved from library to > device file). I saw that your SD-card sample uses this library. > I modified your sample for the 16F877, but got a warning (with compiler > 2.4m-beta): > > > sd_card.jal:279: warning: value out of range (256:0...255) > > You should probably typecast the 256 to a word, or something else to > obtain the desired value. > > BTW: Your 16f877 sample includes delay.jal twice. The compiler forgives > you, but this is not a good example (showcase) for beginners! > > Could you test this this for me? > > Regards, Rob. > > -- > Rob Hamerling, Vianen, NL (http://www.robh.nl/) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
