Jens
Before I answer don't be overwhelmed by the amount of work needed to display
data or any Graphics because its not as bad as you think. You have to do things
in a slightly different way because you are now dealing with a Graphics Processing Unit
which has a lot of flexibility and power.
[quote:a8bce215f8]Do I then have to send the hole command-list agian, including the XY-axis and the dots, so if I have 100 samples I have to send a command-list with more than 100 commands ???? [/quote:a8bce215f8]
Don't make it sound that bad :-), yes you have to send everything again but you
already did that in the first place by drawing the screen, sampling the data and displaying
the plots, so just repeat that process again.
[quote:a8bce215f8]You have a screen with lots of buttons and you want one of them to blink, do I then again have to send all the commands for all the buttons ? [/quote:a8bce215f8]
Again, yes you have to draw everything, you just repeat the routine again with any changes needed.
Don't forget all the Graphic drawing can happen really fast (typically up to 60Hz).
If you have to erase something on the LCD you don't need to erase that area, just draw
the new graphics as needed.
↧
BASCOM-AVR : Understanding FT800 : REPLY
↧
Share your working BASCOM-AVR code here : ATXMEGA: Output a triangle wave from XRAM over DMA to DAC B : REPLY
Sorry I missed this one :oops:
[quote:d97ab09ca3]Replacing Varptr(dacb_ch0datal) with Varptr(daca_ch0datal)[/quote:d97ab09ca3]
:?
I guess I have to look further as well.
Are you using the latest version 2.0.7.8 ?
back track, make a simple program to get the DACA to put out an analog voltage for testing, to verify hardware
[code:1:d97ab09ca3]$regfile = "xm128a1def.dat"
$crystal = 32000000 '32MHz
$hwstack = 128
$swstack = 128
$framesize = 256
'setup the DACA using porta.2
Config Daca = Enabled , Io0 = Enabled , Channel = Single , Reference = Int1v , Interval = 64 , Refresh = 64
Start Daca
Dim Lcd_contrast As Word 'will use DAC to control LCD contrast (Vo)
Lcd_contrast = 4095
Daca0 = Lcd_contrast '1 V output on porta.2[/code:1:d97ab09ca3]
↧
↧
Share your working BASCOM-AVR code here : ATXMEGA: Output a triangle wave from XRAM over DMA to DAC B : REPLY
I still have the 2.0.7.7
I will make some tests now to confirm if some voltage appear.
↧
AVR-DOS : can anyone help me with atmega128 ,avrdos and SDHC card prog : NEWTOPIC
LS,
I like to make a black box for writing logging data to a SDHC card of 4 GByte.
I get completely lost in all internet information about AVR-DOS and cards.
I like to use a Atmega128 and a c-control SD-Card interface ( from Conrad)
to get rit of the 5 and 3 volt problem for sd-cards , and a Sandisk SD-HC
card of 4 GByte ( also from Conrad).
Can anyone provide me a demo program and the way to connect the card-interface
to the atmega128 pins?
I am not a very good programmer. I do now for about 8 years datalogging with
very simpel "old fashion" style basic programming with the atmega32.
So i am not capable of thinking how to change this very complicated SDHC-program.
If anyone can help me, i would be very gratefull
Wim
↧
Share your working BASCOM-AVR code here : ATXMEGA: Output a triangle wave from XRAM over DMA to DAC B : REPLY
I tested your code stand alone on separate file and yes it produces 1V output.
But inserting the code at the current triangle wave example, it does not produce the 1V.
Same XPLain board. Compiler 2.0.7.7
↧
↧
Share your working BASCOM-AVR code here : ATXMEGA: Output a triangle wave from XRAM over DMA to DAC B : REPLY
Okay then it ain't the DAC
:lol:
H/W , S/W ? which one, the magic ?
Run tests on all the h/w to verify working, memory test.
↧
Share your working BASCOM-AVR code here : ATXMEGA: Output a triangle wave from XRAM over DMA to DAC B : REPLY
It is working now.
I changed the DACA dma trigger value &H25 for &H15.
Triangle wave now showing.
Address table I found at:
[url]https://books.google.com.mx/books?id=TSYLAAAAQBAJ&pg=PA325&lpg=PA325&dq=DACB+base+value&source=bl&ots=KnD-yDEU8g&sig=qFIg7WeIFcPuNR4K8aXj_PWSejE&hl=es&sa=X&ei=SbbnVI-iHdHtoATUiIHYDg&ved=0CBwQ6AEwAA#v=onepage&q=DACB%20base%20value&f=false[/url]
↧
Share your working BASCOM-AVR code here : ATXMEGA: Output a triangle wave from XRAM over DMA to DAC B : REPLY
Cool!!
↧
BASCOM-AVR : Understanding FT800 : REPLY
Hi Peter.
Thank you for your reply.
Maybe I was a bit negative :evil:
You are right, it's another way to control a display, one have to get used to it.
I can see all the good things, few wires, easy button control, simpel touch control with the Tag command, no need for a PC and memory Card for programming the display etc. these Things was the reason for me to try the FT800.
Now I know that I have to send the hole list every time I make a change.
The Scissor command looks interesting. Can I write to the "Scissor area" without disturbing the surounding area ? Or is that just a dream ? :D
Have a nice weekend
/JJ
Denmark
10.15 AM
5 deg. C. Cloudy and foggy. No Wind.
↧
↧
Share your working BASCOM-AVR code here : SIEMENS-S65 LPH8836 LCD library : NEWTOPIC
LPH8836 LCD for SIEMENS-S65 mechanically compatible with LS020:
[URL=http://radikal.ru/fp/6bdc6591f6944f0791f828e535a4368f][img:e9529a58b5]http://i067.radikal.ru/1502/cc/e39bca854300t.jpg[/img:e9529a58b5][/URL]
but has different controller - Hitachi HD66773.
Library is the same as [url=http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=12236&highlight=ls020]LS020[/url] one:
Landscape & Portrait mode, quick Cls command (default to "white", but may be set to "black").
Library works on 256-colors mode. For 65k colors used external sub (see attachment).
Tested on 2.0.7.1 & 2.0.7.7 versions on Atmega8, Atmega328p, Atmega128, AT90USB1286, Atmega2560.
Video the same as this test on AT90USB1286/8MHz - http://www.youtube.com/watch?v=gOUIt8xGsxQ&feature=youtu.be
↧
Share your working BASCOM-AVR code here : SIEMENS-S65 LPH8836 LCD library : REPLY
Thanks for sharing ! Good that you included PIN info.
I re watched the video and it is very quick. Especial when you consider it only runs at 8 Mhz.
↧
EASY TCP/IP : Wiznet W5500 : REPLY
ok, now the tcpsend and all simpler routines work. What remains is the receiving code. I expect it to be ready for test end of this weekend.
Josip : when you send an email to support i will give you access to a test version when i am done.
↧
BASCOM-AVR : mySmartUSB MK3 & Bascom AVR : REPLY
Here is the documentation:
http://shop.myavr.com/index.php?sp=article.sp.php&artID=100058
Its in the technical description and thanks.
:D
↧
↧
BASCOM-AVR : mySmartUSB MK3 & Bascom AVR : REPLY
I get this information
↧
BASCOM-AVR : mySmartUSB MK3 & Bascom AVR : REPLY
program fail
↧
BASCOM-AVR Old versions : AVR-DOS + Clock DS1307 = Problem : REPLY
thanks, EDC!
I'll tell you about my results
↧
BASCOM-AVR : mySmartUSB MK3 & Bascom AVR : REPLY
please read this : [url]http://www.myavr.info/download/produkte/mysmartusb_mk3/techb_mysmartusb-mk3_de_en.pdf[/url]
Page 17 contains the settings for BASCOM.
↧
↧
BASCOM-AVR : mySmartUSB MK3 & Bascom AVR : REPLY
I did try that several times.
thanks....
↧
BASCOM-AVR : mySmartUSB MK3 & Bascom AVR : REPLY
I got it to work with myavr progTool.
Then i can burn it with that and use bascom for the programming.
Thanks.
↧
BASCOM-AVR : mySmartUSB MK3 & Bascom AVR : REPLY
you need to set the programmer in the proper mode. do this with the button. use short presses and long presses as explained in the manual.
then you will get good communication.
only odd thing : i tested with attiny2313 and i get a signature of 4E4E4E which is not ok. I need to look further into this.
I used the mk2 short while ago without any problem.
↧