Hi Matt, Two nice-formatted programs, comply with the JSG. I would however change: -- Requires: delay.jal by Stef Mientki into -- Requires: delay.jal Since delay.jal is part of jallib and the reference to Stef might confuse people, suggesting they should look for this somewhere else. And... it is indeed a good idea to use delay.jal in stead of your own led_delay procedure!
Taking one step back, I trust the intentions on all your actions are good and see you put in a lot of effort and are trying hard. What I don't see is what your goal is (what problem do you want to solve) and how you want to achieve this. For this particular case, I don't see how this will help newbies. If 'how libs are made' is meant like 'how to create your own procedures, maybe in a separate file', then you might add value. To help newbies with this, you need to explain what you're doing. So probably a bit like Bert's first book (I guess - I have not read it). Small chuncks of code with text explaining what happened. And for this 'chuncks of code', I personally prefer to use parts of existing samples, so within the document you don't need to include each full program and it is a chance to repeatedly show how usefull the samples are. Currently, Toon and I are working on a introduction that is at least good enough to have readers of Bert his book start with jallib. And once we have this, we probably extend it with introduction to the language (vars, procedures, loops etc) and might need some new samples to show. I don't know yet, but I do know the goal - take people by the hand and help them with the first few programs with jallib - we thought about how - a document. Next we determined the required subjects within the document and their sequence. And now we are just writing chapter after chapter. Oh, and we also decided to limit us to the software for now - no hardware description, no schematics. Not because hardware documentaiton is not valueable, but because we want to reach our first goal - readers of Bert his book - and extend from there. But to get back at the subject: maybe you have a goal in mind and thought about how to achieve this. If so, please share it with us, since adding these two files to the 900 existing jalliib files will not change much... Joep 2009/8/3 mattschinkel <[email protected]>: > > Just thought it might be a good idea to have a simple blink a led lib. > This will give newbies an examle of how libs are made. > > http://www.borntechi.com/jallib/blink_a_led.jal > http://www.borntechi.com/jallib/blink_a_led_example.jal > > Tested on: 16f877,16f877a,18F452 > Validated by jallib.py > > > Feel free to edit it or give suggestions. > > > Matt. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
