Author |
Message |
Topic: FORUM problem |
tomi
Replies: 15
Views: 9234
|
Forum: New WebSite Posted: Fri Feb 16, 2007 12:11 pm Subject: FORUM problem |
Hi,
accounts deleted |
Topic: FT232BM - "Ferrite Bead" |
tomi
Replies: 2
Views: 1597
|
Forum: Various Posted: Thu Feb 08, 2007 9:24 pm Subject: FT232BM - "Ferrite Bead" |
I have a lot of skills with FTDI chips and I not use FB at all and I not see any problems or unstability and that chips are used in car diagnostic environment (OBD). You can forget FB. |
Topic: How read 12 pcs. DS18S20 into one 1wire bus |
tomi
Replies: 6
Views: 2083
|
Forum: BASCOM-AVR Archive Posted: Thu Feb 01, 2007 12:13 pm Subject: How read 12 pcs. DS18S20 into one 1wire bus |
why not use before reading sensors loop this ? :
1wreset ' reset the bus
1wwrite &HCC ' skip rom
1wwrite & ... |
Topic: How read 12 pcs. DS18S20 into one 1wire bus |
tomi
Replies: 6
Views: 2083
|
Forum: BASCOM-AVR Archive Posted: Thu Feb 01, 2007 12:28 am Subject: How read 12 pcs. DS18S20 into one 1wire bus |
that is nice but what when one sensor get failure or when you replace one sensor ? As I know 1wsearchnext return sensorID incrementaly by their IDs. Get situation like above, replace one sensor, for e ... |
Topic: How read 12 pcs. DS18S20 into one 1wire bus |
tomi
Replies: 6
Views: 2083
|
Forum: BASCOM-AVR Archive Posted: Wed Jan 31, 2007 11:52 pm Subject: How read 12 pcs. DS18S20 into one 1wire bus |
if you need recognize each sensor and know temp from it have a look here :
http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=3385
somewhere in that topic I po ... |
Topic: make frequency counter |
tomi
Replies: 14
Views: 2924
|
Forum: BASCOM-AVR Archive Posted: Fri Jan 26, 2007 12:18 am Subject: make frequency counter |
here is another one AN : http://www.mcselec.com/index.php?option=com_content&task=view&id=169&Itemid=57
originaly is for 8051 but its not problem adapt to AVR or you can get ideas from th ... |
Topic: how to do this C to Basic shift |
tomi
Replies: 2
Views: 888
|
Forum: BASCOM-AVR Archive Posted: Thu Jan 25, 2007 12:16 am Subject: how to do this C to Basic shift |
here is C definition:
| - bit OR (OR in BASCOM)
<<N - shift left by N bits, from right is filled by 0 (SHIFT in BASCOM)
>>N - shift right by N bits, from left is filled by 0 (SHIFT in ... |
Topic: Next Problem 8.4 |
tomi
Replies: 2
Views: 720
|
Forum: BASCOM-AVR Archive Posted: Wed Jan 24, 2007 5:56 pm Subject: Next Problem 8.4 |
or simplest way :
del "%USERPROFILE%\Application Data\MCS Electronics\bascom-avr.xml"
or
del "%USERPROFILE%\Application Data\bascom-avr.xml"
from command line. |
Topic: DMX512 protocol code problem |
tomi
Replies: 5
Views: 1626
|
Forum: BASCOM-AVR Archive Posted: Wed Jan 24, 2007 3:09 pm Subject: DMX512 protocol code problem |
Hi,
you can try increase hwstack, swstack and frame, maybe that help. |
Topic: PCA9535 16 Bit I/O Expander |
tomi
Replies: 1
Views: 768
|
Forum: BASCOM-AVR Archive Posted: Tue Jan 23, 2007 8:29 pm Subject: PCA9535 16 Bit I/O Expander |
Hi,
instead using I2Csend and I2Creceive try use this sample :
I2cstart 'generate start
I2cwbyte Adressw ... |
Topic: can not use STK200 / 300 in 1.11.8.4 |
tomi
Replies: 8
Views: 1729
|
Forum: BASCOM-AVR Archive Posted: Tue Jan 23, 2007 2:07 pm Subject: can not use STK200 / 300 in 1.11.8.4 |
yes, ,,classic,, STK200/STK300 selection not work but Universal MCS interface and sub selection STK200 works fine.
I inform Mark about this problem. |
Topic: Create *.dat in the BascomAVR ( help ) |
tomi
Replies: 4
Views: 920
|
Forum: BASCOM-AVR Archive Posted: Tue Jan 23, 2007 12:26 pm Subject: Create *.dat in the BascomAVR ( help ) |
if you really mean creation of .DAT file for chips, forget that, DAT files is only part of chip definition, many things is included in compiler and that is why is not possible. About what chip you are ... |
Topic: can not use STK200 / 300 in 1.11.8.4 |
tomi
Replies: 8
Views: 1729
|
Forum: BASCOM-AVR Archive Posted: Tue Jan 23, 2007 12:23 pm Subject: can not use STK200 / 300 in 1.11.8.4 |
Hi,
as I reply in support but maybe other users need help about this: what settings for programmer in BASCOM you use for STK200 ? ,,STK200/300 Programmer,, or ,,Universal MCS interface -> STK200 ... |
Topic: ATtiny2313 I/O problems |
tomi
Replies: 12
Views: 1692
|
Forum: BASCOM-AVR Archive Posted: Fri Jan 19, 2007 11:35 pm Subject: ATtiny2313 I/O problems |
you tried this ? (look in manual)
Config Debounce = 30 'when the config statement is not used a default of 25mS will be used but we override to use 30 mS
... |
Topic: DS18B20 on mega8 !!! |
tomi
Replies: 6
Views: 2432
|
Forum: BASCOM-AVR Archive Posted: Thu Jan 11, 2007 6:27 pm Subject: DS18B20 on mega8 !!! |
here is some part of my code what I used to reading 6xDS18B20 (here only 2) sensors:
Declare Function Decigrades(byval Sc(9) As Byte) As Integer
Dim Sc(9) As Byte
Dim Dg ... |
|