Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 247 matches
www.mcselec.com Forum Index
Author Message
  Topic: Why Cristal don't oscillate??
pinkfloyd11

Replies: 7
Views: 480

PostForum: BASCOM-AVR Archive   Posted: Wed Dec 19, 2007 8:09 pm   Subject: Why Cristal don't oscillate??
Dear Friends

I have realized a program on ATmega8515 and it work good when run on STK500.

After I have realized a prototype on bread board using the same cristal placed on stk500. The pin of cri ...
  Topic: How replace ATMega 8515 with ATmega162
pinkfloyd11

Replies: 3
Views: 331

PostForum: BASCOM-AVR Archive   Posted: Fri Dec 07, 2007 4:51 pm   Subject: Parttially resoled
Ciao Luciano

the socket is SCKT3000D3.
I have partially resolved programming in High Voltage parallel mode both of my two new ATMega162.

Now 1 work good also in ISP mode and another work but "s ...
  Topic: How replace ATMega 8515 with ATmega162
pinkfloyd11

Replies: 3
Views: 331

PostForum: BASCOM-AVR Archive   Posted: Fri Dec 07, 2007 11:53 am   Subject: How replace ATMega 8515 with ATmega162
Dear Friends

I'm working with ATmega8515 (Dip40) insert on STK500 16 MHz crystal ad all work good.
Now that my program need to have more flash I have try to replace it with ATmega162 but it don't ...
  Topic: I must PullUp Sda Scl line??
pinkfloyd11

Replies: 1
Views: 230

PostForum: BASCOM-AVR Archive   Posted: Tue Dec 04, 2007 1:17 pm   Subject: I must PullUp Sda Scl line??
Dear friends

I'm having problem with I2C program and just now have read that SDA and SCL line want PullUp resistor otherwise no working.

Is correct?
This is true also if I use only one I2C chi ...
  Topic: I have forgot ...
pinkfloyd11

Replies: 0
Views: 207

PostForum: BASCOM-AVR Archive   Posted: Tue Dec 04, 2007 11:55 am   Subject: I have forgot ...
I have forgot to write in the past message:

Are:

I2cwbyte &B1010_0000 Slave Address for write
I2cwbyte &B1010_0001 Slave address for read

if A0 and A1 are connect to the ...
  Topic: Newbie with I2C
pinkfloyd11

Replies: 4
Views: 520

PostForum: BASCOM-AVR Archive   Posted: Tue Dec 04, 2007 11:26 am   Subject: Which are address High and Address Low in I2C
Dear friends,

Between samples there is one for write on 24C64 memory:

Sub Write_eeprom(byval Address_H As Byte , Byval Address_L As Byte , Byval Value As Byte)
I2cstart ...
  Topic: Newbie with I2C
pinkfloyd11

Replies: 4
Views: 520

PostForum: BASCOM-AVR Archive   Posted: Mon Dec 03, 2007 6:38 pm   Subject: Newbie with I2C
Dear Friends

for first time I'm working on M24C64 I2C memory.

Sample code say that I must add another byte if use 24c64 but I do not have understand where add it.

In my case pin A0 and A1 ar ...
  Topic: Why this Function don't work?
pinkfloyd11

Replies: 1
Views: 351

PostForum: BASCOM-AVR Archive   Posted: Mon Dec 03, 2007 3:39 pm   Subject: Why this Function don't work?
Dear Friends

I have written code for read NRam memory and it work. After I have wrapper it in a function but with my surprise it don't work.
Can you help me to discovery why? Thanks.

working c ...
  Topic: Relaton between Software Clock and Fuse bit
pinkfloyd11

Replies: 1
Views: 162

PostForum: BASCOM-AVR Archive   Posted: Tue Nov 27, 2007 4:40 pm   Subject: Relaton between Software Clock and Fuse bit
Dear Friends

I have written a program that write on RS232 on ATMega8515 placed directly on STK500 Board.

I use software clock (XTAL1 jumper close; OSCSEL jumper close on 1-2)
set by AVR Studio ...
  Topic: Why chr(0) don't work
pinkfloyd11

Replies: 1
Views: 253

PostForum: BASCOM-AVR Archive   Posted: Tue Nov 06, 2007 5:02 pm   Subject: Why chr(0) don't work
Dear Friends

This function bufferize the character arrived on serial port.
But when Rx_Char = chr(0) nothing is add to Buffer variable
How I can resolve it?
Thanks


Do
If Ischarwaiting ...
  Topic: Write hex file in a memory
pinkfloyd11

Replies: 1
Views: 207

PostForum: BASCOM-AVR Archive   Posted: Mon Nov 05, 2007 9:03 pm   Subject: Write hex file in a memory
Dear Friends

I should write an hex file in an external memory.
For do it I should simply read byte to byte from hex file and write in a memory or there are header in hex file that I must skip?

...
  Topic: Porting code from VB6 to Bascom
pinkfloyd11

Replies: 6
Views: 535

PostForum: BASCOM-AVR Archive   Posted: Fri Oct 26, 2007 11:20 am   Subject: Error in declare function
Dear Friends

the error are:

Type Expected [String * 1] in line 93
Type Expected [String * 30] in line 93

And this is the code

93: Declare Function Crc(byref Stringa_dati As String * 30) A ...
  Topic: Porting code from VB6 to Bascom
pinkfloyd11

Replies: 6
Views: 535

PostForum: BASCOM-AVR Archive   Posted: Thu Oct 25, 2007 10:19 pm   Subject: Porting CRC Function in Bascom from VB
dear Friends,

1)
Error: type expected [string *1]
Error: type expected [string *30]
Why??

2)
Since I don't know the length of string "stringa_dati", since here there isn't string type like i ...
  Topic: Porting code from VB6 to Bascom
pinkfloyd11

Replies: 6
Views: 535

PostForum: BASCOM-AVR Archive   Posted: Thu Oct 25, 2007 7:06 pm   Subject: Porting code from VB6 to Bascom
Dear Friends

I'm porting a program from VB6 to Bascom AVR.
Now when compile the follow code I have "Invalid Datatype Error"

MSCOMM1.Output = Chr(2) & Chr(3) & Chr(4)
Stringaloopbac ...
  Topic: Have anybody used MIFARE MF RC500?
pinkfloyd11

Replies: 0
Views: 228

PostForum: BASCOM-AVR Archive   Posted: Thu Aug 23, 2007 4:39 pm   Subject: Have anybody used MIFARE MF RC500?
Dear Friends

Have anybody used MIFARE MF RC500?

Thanks
 
Page 16 of 17 Goto page Previous  1, 2, 3 ... , 15, 16, 17  Next
All times are GMT + 1 Hour
Jump to: