Author |
Message |
Topic: I2C - ATMEGA2560 problem |
svberg
Replies: 7
Views: 1192
|
Forum: BASCOM-AVR Archive Posted: Tue Aug 26, 2014 4:21 pm Subject: I2C - ATMEGA2560 problem |
What??
I thoght the I2Cwbyte did append a 0 to the adress, and the I2Crbyte did append a 1 to the adress.
Whats the point of these two commands if they dont??
regards svein |
Topic: I2C - ATMEGA2560 problem |
svberg
Replies: 7
Views: 1192
|
Forum: BASCOM-AVR Archive Posted: Tue Aug 26, 2014 3:32 pm Subject: I2C - ATMEGA2560 problem |
Hi.
Trying to Connect to a MCP3421 18bit ADC, but With no Luck..
Here is the simple test program;
-------------------------------------------------------------------------------
$crystal = 16000 ... |
Topic: Strange adding problem. |
svberg
Replies: 2
Views: 161
|
Forum: BASCOM-AVR Archive Posted: Fri Apr 04, 2014 9:53 am Subject: Strange adding problem. |
AJ, I forgot about the one operation a line.
That did the trick.
Thanks a million |
Topic: Strange adding problem. |
svberg
Replies: 2
Views: 161
|
Forum: BASCOM-AVR Archive Posted: Fri Apr 04, 2014 12:32 am Subject: Strange adding problem. |
Hi.
Been struggeling With this;
dim Compass as Long
dim kar as string*1
Compass=2040
Compass = Compass + Val(kar) ;Kar="4"
print Compass ;printing "8"
---------
Whatever number C ... |
Topic: 4x40 lcd and lcd4e2.lib |
svberg
Replies: 2
Views: 194
|
Forum: BASCOM-AVR Archive Posted: Tue Jan 07, 2014 4:19 pm Subject: 4x40 lcd and lcd4e2.lib |
THANKS a MILLION!!!
Just what I was looking for!
Help files could be better..., but they always can.
Regards svein |
Topic: 4x40 lcd and lcd4e2.lib |
svberg
Replies: 2
Views: 194
|
Forum: BASCOM-AVR Archive Posted: Tue Jan 07, 2014 12:30 am Subject: 4x40 lcd and lcd4e2.lib |
Hi.
Been surching the forum, but cant find an answer.
I made my pcb before checking the lcd4e.lib, so my lcd pins are on two different ports (ARG......)
This is my pins;
Config Lcdpin = Pin , Db ... |
Topic: Install problems |
svberg
Replies: 3
Views: 270
|
Forum: BASCOM-AVR Archive Posted: Thu Oct 10, 2013 12:06 pm Subject: Install problems |
Thanks all.
Problem solved.
regards svein |
Topic: Install problems |
svberg
Replies: 3
Views: 270
|
Forum: BASCOM-AVR Archive Posted: Wed Oct 09, 2013 2:31 am Subject: Install problems |
Hi.
Just bought a New BascomAVR and got a download link.
I run the setup file With no errors.
BUT. After restarting the machine (W7), I get: "Unable to start Bascom. Bscavrl.dll is missing."
Tryed ... |
Topic: Cannot compile with sub |
svberg
Replies: 5
Views: 180
|
Forum: BASCOM-AVR Archive Posted: Thu Sep 26, 2013 11:53 am Subject: Cannot compile with sub |
Hi and thanks all!!
It was something wrong with my program.
Have just done a new install, and it works perfect..
Thanks again..
regards svein |
Topic: Cannot compile with sub |
svberg
Replies: 5
Views: 180
|
Forum: BASCOM-AVR Archive Posted: Thu Sep 26, 2013 11:10 am Subject: Cannot compile with sub |
Hi Paul.
Thanks for Your prompt reply.
I haved tried with and without the parentheses, but still get the same error.
I get the error: error 211 extenal routine not found[-SUBFROMFRAME] on the "E ... |
Topic: Cannot compile with sub |
svberg
Replies: 5
Views: 180
|
Forum: BASCOM-AVR Archive Posted: Thu Sep 26, 2013 12:41 am Subject: Cannot compile with sub |
Hi.
Have this simpel test program;
$regfile "M328pdef.dat"
$crystal = 16000000
$baud = 9600
'CONFIG SUBMODE = NEW
Dim X As Byte
Dim Y As Byte
Declare Sub Pos(byval X As Byte , Byval Y As B ... |
Topic: Erratic output during power up |
svberg
Replies: 6
Views: 258
|
Forum: BASCOM-AVR Archive Posted: Tue Sep 11, 2012 10:35 am Subject: Erratic output during power up |
Sorry, my fault.
The ATMEGA328 is realy an Arduino Duemillanove board.
It turns out its preloaded with a bootloader, which makes the delay, and also is polling some pins to check if ICP is present.
... |
Topic: Erratic output during power up |
svberg
Replies: 6
Views: 258
|
Forum: BASCOM-AVR Archive Posted: Tue Sep 11, 2012 12:33 am Subject: Erratic output during power up |
I'm using av ATMEGA328 with a very simple program to drive som relais.
During power up, the ouput flickers, and this will have a devastating effect in my project.
How can I ensure all outputs are in ... |
Topic: Arduino Mega R3 problem |
svberg
Replies: 11
Views: 840
|
Forum: BASCOM-AVR Archive Posted: Fri Jan 20, 2012 5:42 pm Subject: Arduino Mega R3 problem |
Hi.
I have BAscom AVR 2.0.7.0.3
Got an Arduino 2560 R3 yesterday, but are not able to program.
Can see the RX LED on the 2560 is blinking a few times, and then I get
all kinds of transmission erro ... |
Topic: Problem with com4. Solved! |
svberg
Replies: 2
Views: 188
|
Forum: BASCOM-AVR Archive Posted: Tue Jan 17, 2012 10:51 pm Subject: Problem with com4. Solved! |
Thanks a million!
That solved the problem |
|