Author |
Message |
Topic: SPFD5408 compatibility with what? |
krolikbest
Replies: 1
Views: 207
|
Forum: BASCOM-AVR Posted: Tue Dec 05, 2017 8:41 pm Subject: SPFD5408 compatibility with what? |
Hello to all
i've bought 2.4'' tft shield with SPFD5408 (8 bit interface) controller and now i wonder what is SPFD5408 compatible with? (ili9341 or maybe ili9325 or ....?)
Regards,
Martin
(B ... |
Topic: Modbus slave number |
krolikbest
Replies: 10
Views: 960
|
Forum: BASCOM-AVR Posted: Thu Nov 30, 2017 7:37 pm Subject: Modbus slave number |
Hi,
right, 20ms is time to work for other devices. even i gave later ~100ms and it is sill working well. In this little example are working 3 slave devices + panel master.
Regrads,
Martin |
Topic: Modbus slave number |
krolikbest
Replies: 10
Views: 960
|
Forum: BASCOM-AVR Posted: Wed Nov 29, 2017 5:58 pm Subject: Modbus slave number |
Hi
thre is short movie:
https://www.youtube.com/watch?v=COIERydC7ys&feature=youtu.be
Regards,
Martin |
Topic: Modbus slave number |
krolikbest
Replies: 10
Views: 960
|
Forum: BASCOM-AVR Posted: Tue Nov 28, 2017 10:42 pm Subject: Modbus slave number |
Hi,
is_request is reset in URxC after receiving all bytes of the master's frame, but i've also tested your solution. Eventually came for an idea to switch off communication error in panel master ( ... |
Topic: Modbus slave number |
krolikbest
Replies: 10
Views: 960
|
Forum: BASCOM-AVR Posted: Tue Nov 28, 2017 8:23 pm Subject: Modbus slave number |
Unfortunatelly I was a bit to fast saying OK. Problem I have concerns the respond that slave should send to master. I catch request in URxC interrupt. That works so far. But i send response in su ... |
Topic: Modbus slave number |
krolikbest
Replies: 10
Views: 960
|
Forum: BASCOM-AVR Posted: Sat Nov 25, 2017 7:32 pm Subject: Modbus slave number |
Finally i've done. Now i know how to set an address of device (AVR as a slave) an the rest is to take apart the frame. Piece of cake
Thank you.
Thread to close. |
Topic: Modbus slave number |
krolikbest
Replies: 10
Views: 960
|
Forum: BASCOM-AVR Posted: Sat Nov 18, 2017 6:55 pm Subject: Modbus slave number |
Thank you for an idea hot to respond when modbus frame arrives. I was a little way-out in this subject because i thought that slave number should be written somewhere... Now i understand. |
Topic: Modbus slave number |
krolikbest
Replies: 10
Views: 960
|
Forum: BASCOM-AVR Posted: Fri Nov 17, 2017 1:04 pm Subject: Modbus slave number |
Hi,
I would like to send some modbus frame from advantech panel to ATMega8 in modbus, rs 485. Panel is a master, avr is a slave. First problem i encountered is that i don't know how to set up a sla ... |
Topic: twi slave how to send more than one byte? |
krolikbest
Replies: 2
Views: 415
|
Forum: BASCOM-AVR Unsupported versions Posted: Thu Mar 23, 2017 10:15 am Subject: twi slave how to send more than one byte? |
Thank ypu for an answer. I'll check it at home.
Martin |
Topic: twi slave how to send more than one byte? |
krolikbest
Replies: 2
Views: 415
|
Forum: BASCOM-AVR Unsupported versions Posted: Thu Mar 23, 2017 7:40 am Subject: twi slave how to send more than one byte? |
Hello,
I made a short program to read encodoer with 500 ppr on ATMega8. ATMega8 is the slave and I would like to send some values to the master which is RaspberryPi. When it goes about to send one ... |
Topic: two stepper independent |
krolikbest
Replies: 2
Views: 479
|
Forum: BASCOM-AVR Posted: Thu Feb 02, 2017 4:25 pm Subject: two stepper independent |
Thank you! I've so many times checked where could bug(or bugs..) be that i didn't notice
that timer2 is 8bit! Now works fine!
<SOLVED> |
Topic: two stepper independent |
krolikbest
Replies: 2
Views: 479
|
Forum: BASCOM-AVR Posted: Wed Feb 01, 2017 8:30 pm Subject: two stepper independent |
Hello,
i would like to run two independent steppers and decided to use timer1 for 1-st stepper and timer2 for second stepper.
The code lokks like
$regfile = "m8adef.dat"
$crystal ... |
Topic: ATMega8 i2cslave display and button |
krolikbest
Replies: 2
Views: 402
|
Forum: BASCOM-AVR Unsupported versions Posted: Mon Jan 09, 2017 7:01 pm Subject: ATMega8 i2cslave display and button |
Thank you for answer.
Of course, You are right, so i did as suggested but unsuccessful. I remarked print even removed, but nothing has changed.
But under simulator the whole program works, at least ... |
Topic: ATMega8 i2cslave display and button |
krolikbest
Replies: 2
Views: 402
|
Forum: BASCOM-AVR Unsupported versions Posted: Sun Jan 08, 2017 9:25 pm Subject: ATMega8 i2cslave display and button |
Hello,
recently I've made one of my ATmega8 as a slave (I2C).Master is RaspberryPi. I can discover its address so far But now I would like to implement some additional operations like button and ... |
|