![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Hello, I have just started thinking about micro controllers but have yet to get my hands on any compilers since so far the ones I have found go for around $200. I was wondering if any of you would now if this would work to control the steps for a stepper motor. Code: Poke TRISB, 0 loop: Poke PORTB, 5 Pause 2 Poke PORTB, 9 Pause 2 Poke PORTB, 10 Pause 2 Poke PORTB, 6 Pause 2 Goto loop End Edit: Also browsing though this forum I see a lot of C, would that be a better language to learn than Basic?
__________________ Mechanical Engineers make weapons. Civil Engineers make targets. Last edited by 43617373; 14th October 2007 at 09:32 PM. | |
| |
| | (permalink) |
| Learn assembler, it's easy (only 35 instructions), it's fast, and it's FREE!. | |
| |
| | (permalink) | |
| Quote:
How good any language is depends on the merits of the language and the quality of the compiler. A lot of people like basic and many basic compiler are capable of doing most anything you need to. Check the abilities and limitations of each. The fairly new Swordfish basic compiler seems to be gaining favor. It can be had with some very NIFTY tools that do everything from schematic capture to simulation. It is expensive. A lot of people like C. C is more often used in the EDU and workplace. Some may disagree. There are several C compiler vendors that offer evaluation version of their compiler with limitations of some sort. The CCS compiler for example only works with 2 chips (16F877 is one) and you are limited to 2K words of generated code. You can do a lot with 2K. If you go with the 18F series of PICs microchip has a free student version of their compiler that is limited only by optimization. (compactness of generated code). As Nigel said learning assembler is a valid option. In part what you choose to do depends on what you already know and where you want to go. | ||
| |
| | (permalink) |
| Thank you. Does anyone have any recommended books/websites for learning Assembly?
__________________ Mechanical Engineers make weapons. Civil Engineers make targets. | |
| |
| | (permalink) | |
| Quote:
__________________ Superman returns.. | ||
| |
| | (permalink) |
| If you look at the sticky at the top of this forum, it contains many links to tutorials etc. For a free C compiler, I would recomend HiTech Pic C Lite. Mike. | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| control of stepper motor | sanjivee | Electronic Theory | 22 | 5th October 2007 11:57 PM |
| PIC to ULN2803 to Stepper Motor Interface | jenny1985 | Electronic Projects Design/Ideas/Reviews | 14 | 4th May 2007 05:30 AM |
| Need PIC16F84A Cool Project | Agent 009 | Micro Controllers | 158 | 11th March 2007 07:15 AM |
| Remote Procedure Call (RPC) for PIC16f84 | picfan | Micro Controllers | 1 | 13th August 2003 03:51 PM |