Author |
Message |
Topic: Need receive very FAST every byte from the serial port |
pedro
Replies: 7
Views: 788
|
Forum: BASCOM-AVR Archive Posted: Wed Mar 10, 2010 3:58 pm Subject: Need receive very FAST every byte from the serial port |
Hello AdrianJ
This is my code, can you see how can i make the download routine faster?
$hwstack = 200
$swstack = 200 ... |
Topic: Need receive very FAST every byte from the serial port |
pedro
Replies: 7
Views: 788
|
Forum: BASCOM-AVR Archive Posted: Tue Mar 09, 2010 1:52 am Subject: Need receive very FAST every byte from the serial port |
Hello,
I need to receive in serial communication in a ISR routine FAST every byte, not a Char, on that i need to wait that arrive the second Char to convert it to a byte, this take to mutch time fo ... |
Topic: Receive on Atmega hex value trough the serial port |
pedro
Replies: 4
Views: 509
|
Forum: BASCOM-AVR Archive Posted: Mon Mar 08, 2010 6:29 pm Subject: Receive on Atmega hex value trough the serial port |
Hello enniom,
I consider anything that works, but have testing inputhex and can not
make it to work. With the sample from Bascom it is to write data from the keyword and not for receiving from the ... |
Topic: Receive on Atmega hex value trough the serial port |
pedro
Replies: 4
Views: 509
|
Forum: BASCOM-AVR Archive Posted: Mon Mar 08, 2010 5:40 pm Subject: Receive on Atmega hex value trough the serial port |
Hello,
The serial Port in Bascom is very confusing for me. What i need is
if i send from the PC like "FE", i want receive on the Atmega a variable with the hex FE value, without the needs to recei ... |
Topic: Compiler show error when use MOD |
pedro
Replies: 2
Views: 210
|
Forum: BASCOM-AVR Archive Posted: Sun Mar 07, 2010 2:52 am Subject: Compiler show error when use MOD |
Hello AdrianJ,
Yes, Thank You, thats correct. I haved correct write and compiled with
the Version 1.11.9.6 without errors and not compiled again with the 1.11.9.8 version. My fault.
Best regar ... |
Topic: Compiler show error when use MOD |
pedro
Replies: 2
Views: 210
|
Forum: BASCOM-AVR Archive Posted: Sun Mar 07, 2010 2:29 am Subject: Compiler show error when use MOD |
Hello,
dim x as long, x2 as long ,size_f as long
X = size_f / 512
X2 = size_f / Mod 512 'error?????
The compiler show error on the second line, 3 parameters expected
Anyone know how the cor ... |
Topic: Atmega644PV Problem with PORTC |
pedro
Replies: 0
Views: 280
|
Forum: BASCOM-AVR Archive Posted: Sat Feb 27, 2010 8:30 pm Subject: Atmega644PV Problem with PORTC |
Hello
I use the first time the Atmega644PV and have Problems using the
PORTC. This code donīt work, the led not light. I try the Led on PORTD.4 and PORTD.5 and it works.
On power up, must i choose ... |
Topic: I2C betwenn 3,3V and 5V |
pedro
Replies: 6
Views: 816
|
Forum: BASCOM-AVR Archive Posted: Sun Jan 24, 2010 3:28 pm Subject: I2C betwenn 3,3V and 5V |
Hello
Thanks, I want run the I2C at 100000 and will try the PCA9306 that is cheaper.
Best regards
Pedro |
Topic: I2C betwenn 3,3V and 5V |
pedro
Replies: 6
Views: 816
|
Forum: BASCOM-AVR Archive Posted: Sun Jan 24, 2010 12:47 am Subject: I2C betwenn 3,3V and 5V |
Hello,
I need to connect via the I2C bus a Atmega2561 that works with 5V as a Slave to another board as Master with a Arm controller that works with 3.3V. The pullupīs resistors on the SDA and SLCK p ... |
Topic: Copy file between two sd cards |
pedro
Replies: 0
Views: 302
|
Forum: BASCOM-AVR Archive Posted: Mon Jan 18, 2010 10:13 pm Subject: Copy file between two sd cards |
Hello
I need to copy a mp3 file between two boards from one sd card
to the other sd card.
The send and receive any byte is working, the problem is that
the original file is diferent from the cre ... |
Topic: Problem with comercial i2cslave library from MCS |
pedro
Replies: 3
Views: 803
|
Forum: BASCOM-AVR Archive Posted: Sat Jan 16, 2010 1:48 pm Subject: Problem with comercial i2cslave library from MCS |
Hello superbrad
Here the code for the Master board that use the hardware TWI and the hardware Usart of the Atmega2561
[code]
$hwstack = 200
$swstack = 200
$framesize = 200
$regfile = "m2561d ... |
Topic: Problem with comercial i2cslave library from MCS |
pedro
Replies: 3
Views: 803
|
Forum: BASCOM-AVR Archive Posted: Fri Jan 15, 2010 9:47 pm Subject: Problem with comercial i2cslave library from MCS |
Hello
I use the comercial MCS I2cslave library to send data from master to slave. On both bords i have the Atmega2561
The slave board work in i2cslave mode, not in hardware TWI
The master boa ... |
Topic: Config pins |
pedro
Replies: 4
Views: 493
|
Forum: BASCOM-AVR Archive Posted: Sat Jan 02, 2010 5:29 pm Subject: Config pins |
Hello for_ro
The DDRB.1 = input 'compiler show a error message StoreBit error
DDRB.1 = 0 'the compiler not show error
It possible that with the DDDR.x ist not possible to use Input or Ou ... |
Topic: Config pins |
pedro
Replies: 4
Views: 493
|
Forum: BASCOM-AVR Archive Posted: Sat Jan 02, 2010 3:44 pm Subject: Config pins |
Hello
I'm not sure how to understand this two configurations of the pins
What the correct one?
Config Pinc.4 = Input '???????????
Portc.4 = 1 ... |
Topic: Drive relay between two times |
pedro
Replies: 1
Views: 399
|
Forum: BASCOM-AVR Archive Posted: Tue Dec 15, 2009 9:13 pm Subject: Drive relay between two times |
Hello
I try to drive a relay between two Times, but with my code it not work
right if the mute_ini time >= 0...
The mute_ini and mute_end i want choose idependently from 0 to 23
A exampl ... |
|