Page 1 of 2
new tutorial
Posted: Sun Jul 03, 2011 4:32 am
by 1kiko1
hello brad
i was wondering if you can make a tutorial on how to make a source code or write a source and make my own game with the microcontroller.
because i have no clue how to write a source code or understand it if you dont want to make a tutorial can you please explain it to me or teach me how
Thanks
Re: new tutorial
Posted: Mon Jul 04, 2011 6:51 am
by brad
That would be one big tutorial!
You would really need to take that in stages I think (a series of tutorials)
Once things settle down for us here (due to moving house and renovating etc...) I will perhaps look at making some beginner tutorials into making games with swordfish basic. I have now moved on from programming in assembly. Basic is easier to understand and you can make games more easily

Re: new tutorial
Posted: Tue Jul 05, 2011 2:36 am
by bitfogav
Can I just add, that is much easier to use the PIC peripherals in Swordfish basic too.. and if you want to learn how to write source code then there is alots of information on the internet, or even books that will help you, thats how I started by reading books

Re: new tutorial
Posted: Wed Jul 06, 2011 5:46 am
by 1kiko1
thanks
Re: new tutorial
Posted: Wed Jul 06, 2011 5:50 am
by 1kiko1
by any chance like what books do u recommend me to read or the title of a book
Re: new tutorial
Posted: Fri Jul 08, 2011 4:05 am
by bitfogav
Well first of all I would recommend looking into the Basic programming language (swordfish basic) its alot easier to learn than the Assembly language.
Check out this website for swordfish basic, you can download a free version of the compiler, And I would definitely download the swordfish language guide. The guide will also help you learn the swordfish basic language.
http://www.sfcompiler.co.uk/swordfish/d ... umentation
Then you could try this website which will show you some of the basics of the language and code examples, there are some good tutorials here too:
http://digital-diy.com/Table/Swordfish- ... -Examples/
Re: new tutorial
Posted: Fri Jul 08, 2011 6:03 am
by 1kiko1
thanks
and lets say i learn the language and i want to write one where do i write the source code. swordfish,mplab WHAT?
where do i write the sourcecode
Re: new tutorial
Posted: Fri Jul 08, 2011 6:08 am
by bitfogav
Download the swordfish compiler from here:
http://www.sfcompiler.co.uk/swordfish/d ... umentation
and you write the code in the swordfish compiler:

- swordfishWriteCode1.jpg (59.85 KiB) Viewed 41287 times
Re: new tutorial
Posted: Fri Jul 08, 2011 6:26 am
by 1kiko1
thanks
Re: new tutorial
Posted: Fri Jul 08, 2011 10:17 am
by sdudley
I don't know guys...
That stuff looks pretty "BASIC" to me!

Re: new tutorial
Posted: Sun Jul 10, 2011 12:23 pm
by brad
sdudley wrote:I don't know guys...
That stuff looks pretty "BASIC" to me!

One day Stacy, One Day!
Re: new tutorial
Posted: Sun Jul 10, 2011 12:47 pm
by sdudley
brad wrote:One day Stacy, One Day!
I think you are going to hate me...
I just purchased the "C" course we discussed quite some time ago!
http://www.best-microcontroller-project ... orial.html
I couldn't help myself. He sent me an email to get it for 1/2 price - $33.00. I figured what the heck, I'll check it out!
I really need to learn C language anyway.
Stacy
Re: new tutorial
Posted: Tue Jul 12, 2011 11:00 pm
by brad
Ahh that's fine
I'm glad you're looking into it actually, because you can give me some pointers once you've learned it!
Re: new tutorial
Posted: Tue Jul 12, 2011 11:13 pm
by sdudley
brad wrote:Ahh that's fine
I'm glad you're looking into it actually, because you can give me some pointers once you've learned it!
Pointers... oh, I get it...
Stacy
Re: new tutorial
Posted: Thu Jul 14, 2011 3:51 am
by sdudley
Just in case you didn't understand my joke Brad - Pointers are used quite a bit in C programming (not sure if you use pointers in Basic).
Anyway...
I wish I had saved my money from the best-microntroller projects course and just bought these books instead:
http://www.elproducts.com/
Volumes 1 and 2 use the PICKit 2 starter kit that I purchased a long time ago.
The best-microcontroller projects require quite a bit of additional hardware and the website is really confusing to navigate through. These projects also do all the programming through the serial port while the book by ChuckHellebuyck is all done with the PICKit 2.
Stacy