bascom programing

Started by fst400 January 3, 2010
hi,
i just start to programing ATmega32 by bascom compiler
for my project;
i want to my kbd get just 3numberbetwine 0 to 100!
and show them
could you help me?
thanks

Exactly what kind of keyboard are you using? How are you connecting it? How
are you trying to display the keys entered?

Do you want to do anything else other than just display the keys pressed?

Zack

On Sun, Jan 3, 2010 at 2:54 PM, fst400 wrote:

> hi,
> i just start to programing ATmega32 by bascom compiler
> for my project;
> i want to my kbd get just 3numberbetwine 0 to 100!
> and show them
> could you help me?
> thanks
>


hi
i have a 16*2 lcd with 4*4 keypad that have 4 colom and 4 row that directly conect to my avr pins,as follow
("Config Lcdpin = Pin , Db4 = Portc.1 , Db5 = Portc.2 , Db6 = Portc.3 , Db7 = _
Portc.4 , E = Portd.2 , Rs = Portd.3
Config Lcd = 16 * 2
Config Kbd = Portb , Debounce = 70 , Delay = 225")
i need my program get just numbers between 0 to 100
or enter my number then press enter to save this amount for A PWM
amount,
thanks so much!

--- In a..., Zack Widup wrote:
>
> Exactly what kind of keyboard are you using? How are you connecting it? How
> are you trying to display the keys entered?
>
> Do you want to do anything else other than just display the keys pressed?
>
> Zack
>
> On Sun, Jan 3, 2010 at 2:54 PM, fst400 wrote:
>
> >
> >
> > hi,
> > i just start to programing ATmega32 by bascom compiler
> > for my project;
> > i want to my kbd get just 3numberbetwine 0 to 100!
> > and show them
> > could you help me?
> > thanks
> >
> >
> >
>
>

This is like one of the first projects I ever did with a microcontroller,
only it was with a Z-80. It was a tremendous learning experience in several
zones to be able to finally make it work.

I'd strongly suggest you just start trying different things and work out the
bugs. You'll learn some disciplines that will last you a lifetime which you
won't learn if someone else writes the program for you.

Zack

On Tue, Jan 5, 2010 at 1:34 PM, fst400 wrote:

>
> hi
> i have a 16*2 lcd with 4*4 keypad that have 4 colom and 4 row that directly
> conect to my avr pins,as follow
> ("Config Lcdpin = Pin , Db4 = Portc.1 , Db5 = Portc.2 , Db6 = Portc.3 , Db7
> = _
> Portc.4 , E = Portd.2 , Rs = Portd.3
> Config Lcd = 16 * 2
> Config Kbd = Portb , Debounce = 70 , Delay = 225")
> i need my program get just numbers between 0 to 100
> or enter my number then press enter to save this amount for A PWM
> amount,
> thanks so much!
> --- In a... , Zack Widup
> wrote:
> >
> > Exactly what kind of keyboard are you using? How are you connecting it?
> How
> > are you trying to display the keys entered?
> >
> > Do you want to do anything else other than just display the keys pressed?
> >
> > Zack
> >
> > On Sun, Jan 3, 2010 at 2:54 PM, fst400 wrote:
> >
> > >
> > >
> > > hi,
> > > i just start to programing ATmega32 by bascom compiler
> > > for my project;
> > > i want to my kbd get just 3numberbetwine 0 to 100!
> > > and show them
> > > could you help me?
> > > thanks
> > >
> > >
> > >
> >
> >
> >
> >
>