Author |
Message |
Topic: Conditional compile in a library |
oe9vfj
Replies: 4
Views: 1091
|
Forum: BASCOM-AVR Archive Posted: Mon Feb 21, 2005 10:44 am Subject: Conditional compile in a library |
Hi Phil,
Before opening a LIB file with the BASCOM-IDE you must set the IDE for not reformatting the LIB-File. Add LIB to the field "No reformat extension". Also LBX and TXT may be a good choice.
... |
Topic: AVR-DOS & MMC CARD |
oe9vfj
Replies: 8
Views: 3781
|
Forum: AVR-DOS Posted: Mon Feb 21, 2005 8:47 am Subject: AVR-DOS & MMC CARD |
Hi,
if you want to test AVR-DOS with my Test program, you have to use a Mega128 or Mega103. This test-program gives you the possibilty to test nearly all functions of AVR-DOS in an interactiv way o ... |
Topic: Conditional compile in a library |
oe9vfj
Replies: 4
Views: 1091
|
Forum: BASCOM-AVR Archive Posted: Mon Feb 21, 2005 8:38 am Subject: Conditional compile in a library |
Hi Phil,
You must use upper case letters for IF , ELSE and ENDIF in Libraries.
Also for $EXTERNAL and *BASIC.
best regards
Josef |
Topic: AVR-DOS & MMC CARD |
oe9vfj
Replies: 8
Views: 3781
|
Forum: AVR-DOS Posted: Sun Feb 20, 2005 9:07 am Subject: AVR-DOS & MMC CARD |
Hi,
AVR-DOS works with all AVR which have at least 2 KB SRAM. If you use the minimal Configuration with 1 file handle and FAT and Directory handling in one buffer, you need appr. 1200 Bytes of SRAM ... |
Topic: how i can convert lbx to lib |
oe9vfj
Replies: 1
Views: 787
|
Forum: BASCOM-AVR Archive Posted: Thu Feb 17, 2005 12:03 pm Subject: how i can convert lbx to lib |
Hi,
easiest way is to purchase a BASCOM-AVR license. Than you get the glcdKS108.lib.
In BASCOM-AVR there a two reasons for compiled LIB-Files with extend LBX.
1. Increase Compiling speed
2. ... |
Topic: ERROR: ISR Already defined :S |
oe9vfj
Replies: 6
Views: 1383
|
Forum: BASCOM-AVR Archive Posted: Thu Feb 03, 2005 12:59 pm Subject: ERROR: ISR Already defined :S |
I Think you want only take an action in the main part of your application, if a complete String is received.
I advise you to set a flag inside the serial buffer receiving routine.
This BASCOM-AVR ... |
Topic: ERROR: ISR Already defined :S |
oe9vfj
Replies: 6
Views: 1383
|
Forum: BASCOM-AVR Archive Posted: Thu Feb 03, 2005 10:18 am Subject: ERROR: ISR Already defined :S |
Hi,
The URXC Interrupt vector-address is used by the buffered Serial in.
Every-time a character is received by the UART, an Interrupt-routine is started to save this character to the serial-In buf ... |
Topic: No bin File |
oe9vfj
Replies: 4
Views: 878
|
Forum: BASCOM-AVR Archive Posted: Wed Feb 02, 2005 2:49 pm Subject: No bin File |
Hi,
Check Options / Compiler / Output.
Binary File must be activated |
Topic: GET command speedup |
oe9vfj
Replies: 3
Views: 2241
|
Forum: AVR-DOS Posted: Mon Jan 31, 2005 12:35 pm Subject: GET command speedup |
Hi Rok,
You can read every amount of bytes (up to 65535) to SRAM with the
way posted in the previous mail.
Get #FileNumber, Variable [, [Position] , Length]
If you want to read from the curr ... |
Topic: How can I split SINGLE var to four BYTE var's |
oe9vfj
Replies: 1
Views: 674
|
Forum: BASCOM-AVR Archive Posted: Mon Jan 24, 2005 2:45 pm Subject: How can I split SINGLE var to four BYTE var's |
Hi,
Use OVERLAY like:
dim s1 as Single
dim b1 as Byte at s1 overlay
Dim b2 as Byte at s1+1 overlay
Dim b3 as Byte at s1+2 overlay
Dim b4 as Byte at s1+3 overlay
S1 = 1234.5678
p ... |
Topic: reading from a sd card in spi mode? |
oe9vfj
Replies: 4
Views: 1414
|
Forum: BASCOM-AVR Archive Posted: Mon Jan 10, 2005 7:50 am Subject: reading from a sd card in spi mode? |
Hi,
Check the site http://members.aon.at/voegel There is a driver for MMC/SD card which can be used with the BASCOM Statements DriveRead and DriveWrite to read and write a Sector (512 Bytes) on the ... |
Topic: bITS() and NBITS() and Link |
oe9vfj
Replies: 1
Views: 706
|
Forum: BASCOM-AVR Archive Posted: Tue Dec 21, 2004 2:03 pm Subject: bITS() and NBITS() and Link |
Hi,
Bits() and NBits is described in the help-file of 1.11.7.6.
It not for Bit-Array. It is for setting bits in a Byte or I/O Port by Bit Numbers.
Byte1 = Bits(1,7)
will set Bits 1 and 7 of ... |
Topic: AVR-DOS a DOS FAT16/32 File System for BASCOM-AVR |
oe9vfj
Replies: 2
Views: 11122
|
Forum: AVR-DOS Posted: Mon Nov 22, 2004 2:03 pm Subject: AVR-DOS a DOS FAT16/32 File System for BASCOM-AVR |
This forum is to discuss questions and problems with AVR-DOS, a DOS FAT16/32 File system, which was implemented in BASCOM-AVR with Release 1.11.7.4.
It works with CF-Cards, MMC-Cards, SD-Cards, Hard- ... |
Topic: Modifying Soft UART ouput |
oe9vfj
Replies: 4
Views: 1411
|
Forum: BASCOM-AVR Archive Posted: Mon Nov 15, 2004 3:22 pm Subject: Modifying Soft UART ouput |
Hi Craig,
You will not find any code for a SW-UART in a library, because it is generated by the compiler at compile time.
The code depends on:
used pin
Crystal
baud-rate
It seems, tha ... |
Topic: Real time clock with Mega128. |
oe9vfj
Replies: 1
Views: 901
|
Forum: BASCOM-AVR Archive Posted: Fri Nov 12, 2004 9:01 am Subject: Real time clock with Mega128. |
Check the Help file in topic Config Clock.
You can use the option SECTIC for that purpose |
|