new to AVR

Go To Last Post
7 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello:
I'm new to avr & microcontrollers .I would like some feedback in regards to what BASIC program is best to get started with , and is there a schematic of a programmer out there I could build for 20 pin and ATINY chips thats moderatly simple and works with AVR's software.
thanks Tim

admin's test signature
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello,

I think the best BASIC programmer is BASCOM-AVR. It has a huge array of features. But go to www.mcselec.com and download the free version (just dosn't have all the features of full). Also, BASCOM-AVR has a maillist (like a messageboard), just for it. Its pretty active too.

Good Luck,
Colin

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

thanks Colin:
last night I downloaded abcedit but it doesn't seem to you to work with individual pins( all the commands are for port registers). On to Basecom-avr !
Tim

admin's test signature
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi Spinnindevil,

You can insert assembler code within your Abcedit basic program, in order to do bit manipulation.
Check out #Asm and #Endasm instructions.

Cheers Jack

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

PS: "Toggle" instruction in Abcedit will manipulate a single port pin.

Cheers Jack

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks Jack:
How about checking a single pin input?
Tim

admin's test signature
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi Spinnindevil,

Doesn't look like you can, in Abcedit basic.
You can always use the 'Inport' instruction, then just mask out the bits you don't want.
Better still, do it in assembler. It's only a few lines of code.

Cheers Jack