Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 908 matches
www.mcselec.com Forum Index
Author Message
  Topic: i2cslave +word
Duval JP

Replies: 1
Views: 267

PostForum: BASCOM-AVR Archive   Posted: Tue Dec 20, 2005 11:26 am   Subject: i2cslave +word
hi,

In the BASCOM-AVR CODE forum, I sent a example when you send "long" (4 bytes) I decompose it and recomposite it in four steps
The exemple is write with the lib TWIslave, but you can adapt it ...
  Topic: Example how to work with I2Cslave: a mathematic processor
Duval JP

Replies: 4
Views: 2337

PostForum: Share your working BASCOM-AVR code here   Posted: Mon Dec 12, 2005 9:48 pm   Subject: Example how to work with I2Cslave: a mathematic processor
Remember I2C slave is an option

I'm starting from the sample file, TWI, I did 2 programs
1) the master working with a 128

2 ) the ATmega8 as slave

on the master you should choice an action a ...
  Topic: i2c-twi with mega8 master and slave
Duval JP

Replies: 1
Views: 440

PostForum: BASCOM-AVR Archive   Posted: Sun Dec 11, 2005 3:50 pm   Subject: i2c-twi with mega8 master and slave
Please send me a mail to www.atmicroprog.com on the french forum.

I'm working on the I2C-slave lib actually

JP
  Topic: Bug in Bascom with EPROM programing?
Duval JP

Replies: 2
Views: 438

PostForum: BASCOM-AVR Archive   Posted: Sun Dec 11, 2005 3:45 pm   Subject: Bug in Bascom with EPROM programing?
hello,
An other way, I prefer it, it is to define variable in EEprom with
dim j as Eram Byte
dim K as byte
but:
"ERAM variables only can be assigned to SRAM variables, and ERAM variables can be ...
  Topic: Fuses for Attiny45 a bug in 1.11.8.0 ?
Duval JP

Replies: 3
Views: 387

PostForum: BASCOM-AVR Archive   Posted: Sun Dec 11, 2005 3:36 pm   Subject: Fuses for Attiny45 a bug in 1.11.8.0 ?
Very Happy Mark send me the solution !

When I went to the programmer, fusebit index, I saw the option
Write LB, write FS, WRite FSH ans Write FSE in "grey" not available.
but I saw Write PRG

...Bec ...
  Topic: Fuses for Attiny45 a bug in 1.11.8.0 ?
Duval JP

Replies: 3
Views: 387

PostForum: BASCOM-AVR Archive   Posted: Wed Dec 07, 2005 9:16 pm   Subject: Fuses for Attiny45 a bug in 1.11.8.0 ?
Kazy,
I saw your message,
So I reinstall Bascom 1.11.8.0 and it is for all P Atmega 128, Attiny45...
I can't go to the fuses setting ?
I work with STK200 or 300

I have a regulated licence sin ...
  Topic: Fuses for Attiny45 a bug in 1.11.8.0 ?
Duval JP

Replies: 3
Views: 387

PostForum: BASCOM-AVR Archive   Posted: Wed Dec 07, 2005 7:06 pm   Subject: Fuses for Attiny45 a bug in 1.11.8.0 ?
Hello everybody,

I use 2 versions of Bascom
1.11.7.9 and 1.11.8.0
on the last one I try to change the fuse of a ATtiny45 (divider by Cool
and all the fuses are innacessible
It works on 1.11.7.9 ...
  Topic: TAB Key ???
Duval JP

Replies: 5
Views: 602

PostForum: BASCOM-AVR Archive   Posted: Tue Dec 06, 2005 5:44 pm   Subject: TAB Key ???
Hello Pierre et bienvenue,

I' don't know if i'm right , but your name Pierre looks like a french one so I have the pleasure to annonce a french Bascom forum (starting) on
www.atmicroprog.com

we ...
  Topic: String in serial Port ! help needed
Duval JP

Replies: 3
Views: 596

PostForum: BASCOM-AVR Archive   Posted: Tue Dec 06, 2005 5:31 pm   Subject: String in serial Port ! help needed
sorry i forgot to say, you need to use an array of course !
something like :
Do
If Ischarwaiting() = 1 Then ' si 1 char
Jbyte = Inkey()
Lcd Jbyte;
If J ...
  Topic: String in serial Port ! help needed
Duval JP

Replies: 3
Views: 596

PostForum: BASCOM-AVR Archive   Posted: Tue Dec 06, 2005 5:28 pm   Subject: String in serial Port ! help needed
hi,
I'm the funy guy:

See in the help how works ISCHARWAITING() statement , it will be a good solution !

JP Wink
  Topic: External Clock routine ?? and a little Scolding ! :D
Duval JP

Replies: 8
Views: 865

PostForum: BASCOM-AVR Archive   Posted: Mon Dec 05, 2005 3:21 pm   Subject: External Clock routine ?? and a little Scolding ! :D
Babak ABI
I 'm very happy with the savvy128, I request help some times and I had received all the answers I need, I don't use all functions because they are full of

I'm not the introducer of this ...
  Topic: External Clock routine ?? and a little Scolding ! :D
Duval JP

Replies: 8
Views: 865

PostForum: BASCOM-AVR Archive   Posted: Mon Dec 05, 2005 1:57 pm   Subject: External Clock routine ?? and a little Scolding ! :D
no you are not right !
1) Bascom is well documented, now you have a new help file possible to download.

2) You have lot of books in many langage about Bascom

3) you have many forums in differ ...
  Topic: write word variable to internal EEprom
Duval JP

Replies: 3
Views: 290

PostForum: BASCOM-AVR Archive   Posted: Mon Dec 05, 2005 1:47 pm   Subject: write word variable to internal EEprom
Dim myval as Word
Dim eWord as ERAM Word

I want to myval variable to write internal eeprom
myval = 23456
eWord = myval ' Store to EEPROM

then read again this word variable
myval = eWord ' Re ...
  Topic: work with 4 ATMEGA88 with I2C BUS
Duval JP

Replies: 2
Views: 293

PostForum: BASCOM-AVR Archive   Posted: Mon Dec 05, 2005 1:43 pm   Subject: work with 4 ATMEGA88 with I2C BUS
Thanks Frank, I'm working on it now !
JP
  Topic: waitms
Duval JP

Replies: 2
Views: 282

PostForum: BASCOM-AVR Archive   Posted: Mon Dec 05, 2005 1:40 pm   Subject: waitms
Hi,
Wait, waitms, and waits are not very accurate, if you need real time, you must use Timer

$crystal is a directive for the compiler, you need to define it , or to declare it in the options---& ...
 
Page 57 of 61 Goto page Previous  1, 2, 3 ... 56, 57, 58, 59, 60, 61  Next
All times are GMT + 1 Hour
Jump to: