Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 70 matches
www.mcselec.com Forum Index
Author Message
  Topic: making an arrays of code
hamedhamedi

Replies: 2
Views: 558

PostForum: BASCOM-AVR Unsupported versions   Posted: Fri Mar 27, 2015 5:34 pm   Subject: making an arrays of code
now in checking "on value" command i found a problem

when the number of labels increased mor than 27 then following error apear.

what should i do?

Regards
  Topic: making an arrays of code
hamedhamedi

Replies: 2
Views: 558

PostForum: BASCOM-AVR Unsupported versions   Posted: Fri Mar 27, 2015 12:08 pm   Subject: making an arrays of code
i can make this code as follows:

dim a as byte
select case a
case 0:
.
.
some code1
.
.
case 1:
.
.
.
some code 2

.

.
end select


in this way i should test the value of "A" s ...
  Topic: making an arrays of code
hamedhamedi

Replies: 2
Views: 558

PostForum: BASCOM-AVR Unsupported versions   Posted: Fri Mar 27, 2015 11:59 am   Subject: making an arrays of code
Hi

i want to make an array of codes.for example when we use following code:

dim a(5) as byte
dim b as byte

b=a(3)

then the value of variable b assigned by findig address of first byte of ...
  Topic: interrupt confuse lcd
hamedhamedi

Replies: 4
Views: 481

PostForum: BASCOM-AVR   Posted: Tue Mar 24, 2015 8:15 pm   Subject: interrupt confuse lcd
thank you Albertsm

fine.solved by save all.
  Topic: local variable bit operation fail
hamedhamedi

Replies: 5
Views: 611

PostForum: BASCOM-AVR Unsupported versions   Posted: Tue Mar 24, 2015 8:14 pm   Subject: local variable bit operation fail
Hi

thank you Duval JP.but i use local variable to save some setting to a global variable and a byte save 7bit for me.so i should to be able to change bits of a byte.

thank you Albertsm.you are r ...
  Topic: interrupt confuse lcd
hamedhamedi

Replies: 4
Views: 481

PostForum: BASCOM-AVR   Posted: Tue Mar 24, 2015 12:09 pm   Subject: interrupt confuse lcd
thanks

interrupt timing is critical.
and also i do not want to lose any interrupt.

any other idea?

Regards
  Topic: local variable bit operation fail
hamedhamedi

Replies: 5
Views: 611

PostForum: BASCOM-AVR Unsupported versions   Posted: Tue Mar 24, 2015 9:01 am   Subject: local variable bit operation fail
Hi Admin

when i change a bit of a local variable on a sub, it dont work correct.
is it a bug? or bit operation on sub does not supported?
i check the help, as mentioned using bit not allowded in ...
  Topic: interrupt confuse lcd
hamedhamedi

Replies: 4
Views: 481

PostForum: BASCOM-AVR   Posted: Tue Mar 24, 2015 8:55 am   Subject: interrupt confuse lcd
Hi

I use lcd nokia3310 with Mr Mirshv code that is in froum,share your code topic.

when i enable the interrupt 5 and 6 on atmega128, the lcd show incorrect position of character ond/or and chara ...
  Topic: sample code for xmega adc
hamedhamedi

Replies: 3
Views: 795

PostForum: BASCOM-AVR   Posted: Wed Feb 18, 2015 10:27 am   Subject: sample code for xmega adc
can you please send me a code for single ended input of adc?

Regards
  Topic: sample code for xmega adc
hamedhamedi

Replies: 3
Views: 795

PostForum: BASCOM-AVR   Posted: Fri Feb 13, 2015 10:14 am   Subject: sample code for xmega adc
thank you.
it is a good link
  Topic: sample code for xmega adc
hamedhamedi

Replies: 3
Views: 795

PostForum: BASCOM-AVR   Posted: Wed Feb 11, 2015 3:14 pm   Subject: sample code for xmega adc
Hi

i want to use adc of atxmega64a3au.i copy the sample code from bascom directory but it return various different value on adc0.

please get me a tested sample code to check the all adc channel ...
  Topic: new type of nokia 5510 lcd 128x64
hamedhamedi

Replies: 3
Views: 865

PostForum: BASCOM-AVR   Posted: Mon Feb 09, 2015 9:53 am   Subject: new type of nokia 5510 lcd 128x64
Hi inkni

the code work fine.thank you.

can i show picture using this code?

Regards
  Topic: NOKIA-3310/5110 LCD library
hamedhamedi

Replies: 119
Views: 50603

PostForum: Share your working BASCOM-AVR code here   Posted: Sat Feb 07, 2015 11:20 pm   Subject: NOKIA-3310/5110 LCD library
Mr. Shilov

i test your library.it is very good.
i need to use your library in vertical mode.
can you please tell me about it?

Regards
  Topic: new type of nokia 5510 lcd 128x64
hamedhamedi

Replies: 3
Views: 865

PostForum: BASCOM-AVR   Posted: Sat Feb 07, 2015 5:57 pm   Subject: new type of nokia 5510 lcd 128x64
Hi

i buy a new type of nokia 5510 lcd,its feature is listed below:


This high quality graphic LCD has the exact same pinout and header footprint as the popular Nokia5110 (PCD8544) but offers m ...
  Topic: lcd using slave avr
hamedhamedi

Replies: 5
Views: 923

PostForum: BASCOM-AVR   Posted: Wed Feb 04, 2015 9:33 am   Subject: lcd using slave avr
Hi snipsnip
thank you


the slave proccesor is on remote and the lenght of track between master board and remote noard is about 10 cm.the master board and remote bord connected via pin header.

...
 
Page 1 of 5 Goto page 1, 2, 3, 4, 5  Next
All times are GMT + 1 Hour
Jump to: