BASCOM-AVR Old versions : A problem with glcdks108.lbx Library : REPLY
this has been asked before. the lower boundary is 1 and not 0. Just as for text lcd where 1 is the minimum value for locate.
View ArticleShare your working BASCOM-AVR code here : ILI9341 with SW/HW SPI, 8/16 Bit...
Hi, Netzman, This works, now compiles ok , thank you !!! I will make the hardware and test in this weekend. I have yet made the change in line 435. But in line 425 I was using "Compare_a_pwm=Clear_Up"...
View ArticleBASCOM-AVR : Fast ADC in free mode : REPLY
[quote:4d6001f050]Better describe what you want to achieve and why without ISR, than describing an unsuitable approach.[/quote:4d6001f050] Ok, let me explain: I have three wavetables at bottom of...
View ArticleBASCOM-AVR : Fast ADC in free mode : REPLY
[quote:984377466f="Ruprecht"]- set adcmux to ch3 (speed) - after say 2-4 program loops (to be sure values in ADCL and ADCH are valid for ch3) read ADCL and ADCH - set adcmux to ch5 (table select) -...
View ArticleShare your working BASCOM-AVR code here : ILI9341 with SW/HW SPI, 8/16 Bit...
Good to hear! I was also wondering about this, it seems like a bug to me. If it is not working, you could set the corresponding registers by hand after the config statement (Mega328 manual p. 153)....
View ArticleBASCOM-AVR : Fast ADC in free mode : REPLY
Really thank you, you brought me out of darkness... I hope :) After some time with datasheet I think this setup will be correct: [code:1:a5e4de2516] 'Setting MUX to ADC3 before starting first...
View ArticleBASCOM-AVR : Fast ADC in free mode : REPLY
[quote:3dbf1a36e1="Ruprecht"]Or overlooked something?[/quote:3dbf1a36e1] Try to reduce the prescaler, if you attach pots you likely won't need 10bit resolution. Prescaler 64 and main clock 20MHz gives...
View ArticleBASCOM-AVR : OLED Display : REPLY
hello I found out if I configure Display type KS077 it works basicly. Disadvantage- Display is flickering. I implement some waitms instructions,this decreased the flichering. If the code without...
View ArticleBASCOM-AVR : big difference between waitms 48 and waitus 48000 : NEWTOPIC
Good evening, I knew that the waitms and the waitus commands in Bascom are not very precise, but i have the following strange thing: When I apply the waitms 48, the result is quitte spot on. When I...
View ArticleBASCOM-AVR : big difference between waitms 48 and waitus 48000 : REPLY
waitus and waitms are calculated loops. The code differs based on the crystal frequency and parameter value. WAITUS is intended for very small delays. It was not designed with the intention to delay...
View ArticleBASCOM-AVR : OLED Display : REPLY
but when do you get this flicker? when you write in a loop? When you have code like: CLS LCD "TEST" END will it also flicker? code like : do locate 1,1: lcd "test" loop will always flicker. You can...
View ArticleShare your working BASCOM-AVR code here : LinkSprite UART Camera and a...
I have resolved the artifact problem of banding in my images. I moved the "Stop taking pictures" command to the Send_Picture Subroutine so it reads: If Image_size = 1 Then Wait 2 Elseif Image_size = 2...
View ArticleShare your working BASCOM-AVR code here : NOKIA-3310/5110 LCD library : REPLY
[quote:831628f537="Mrshilov"]I talk about source code for included photo.[/quote:831628f537] Hello. I didn't use photo, only text and ATXMEGA128A3U. Maybe is something new about this problem? Best...
View ArticleBASCOM-AVR : compare pwm error?? : NEWTOPIC
I updated to 2.0.7.8 again thinking I would give it a second try. Maybe I shouldnt have after the update, I ran into this error: Unknown CONFIG Parameter. Compare PWM On this line: Config Timer2 = Pwm...
View ArticleBASCOM-AVR : compare pwm error?? : REPLY
Hi, Try :- Config Timer2 = Pwm , Prescale = 128 , Compare [b:a2bdbda5a9]A[/b:a2bdbda5a9] Pwm = Clear Down, Compare [b:a2bdbda5a9]B[/b:a2bdbda5a9] Pwm = Clear Down Pwm2a = 0 Many AVR's have 2 pwm...
View ArticleBASCOM-AVR : compare pwm error?? : REPLY
exact, and while add it, replace the space with underscores :, like : Compare_A_Pwm
View ArticleBASCOM-AVR : compare pwm error?? : REPLY
That worked. I guess on newer versions, your tightening the use of sloppy coding?
View ArticleBASCOM-AVR : TFT with ILI9341 controller : REPLY
Hi, Daro, Your new function don't set the color ! Try set the color information in display register BEFORE this : Call Lcd_set_window(0 , 0 , Xx , Yy) . . . Paulo
View ArticleBASCOM-AVR : FT800 : REPLY
Hi Peter, You are right. I now have a separate supply to the board and it is much much better. I now use VM800B display and it really works well. I am also trying Xmega and so far could not succeed to...
View ArticleBASCOM-AVR : FT800 : REPLY
this topic has some info about ft800 and xmega. so use a virtual port pin for the CS line, or alter the lib as has been shown. if you can not get it to work, you can write to support.
View Article