BASCOM-AVR : Need debounce help : REPLY
Thank you , mark for the reply. The more I think about it though, my solution my not be so effective. Are my revised comments maybe what is really happening? The routine I wrote checks the switch a...
View ArticleBASCOM-AVR : Need debounce help : REPLY
I have revised my code to: do If Pinb.4 = 0 Then waitms 2 incr sbounce If sbounce > = 28 Then ' 'do stuff because with has been held at least 56ms End If If pinb.4 =1 then ' button has been...
View ArticleBASCOM-AVR : Fast ADC in free mode : NEWTOPIC
Two days I´m reading forum and trying make it working but without success. I think I really mismatched myself. I need to read ADC occasionally but without interrupt or delay. I cannot configure ADC to...
View ArticleBASCOM-AVR : Fast ADC in free mode : REPLY
There are examples in the BASCOM "Samples" directory. For instance, look for "adc.bas". That works.
View ArticleBASCOM-AVR : Need debounce help : REPLY
What is bounce? when we have a digital switch we get proper 0 and 1. But an analog switch, and there are many different kinds so i take a simple push button, have a spring and 2 contacts. when you...
View ArticleBASCOM-AVR : TSA5511 PLL High and Low Byte calculation : REPLY
Hello :D When You type something for search in google then add magic word "bascom" I found code and solution in "~ 7 730 matches (0,28 s)" :D There is only 5 bytes to send . First address, then two...
View ArticleBASCOM-AVR : Is the Assembler 'sleep' command the same as BASCOM Powerdo : REPLY
Sorry, i had the wrong PDF open. Laboratte is right. The P(A) indeed supports this for some of the sleep modes. it is probably a good idea to add this option.
View ArticleShare your working BASCOM-AVR code here : LinkSprite UART Camera and a...
Thanks for sharing your code. Nice solution with the 74LS125. Never thought about that. When you want to attach files, you can best ZIP the files. That is allowed. It is also a good container to store...
View ArticleBASCOM-AVR : Is the Assembler 'sleep' command the same as BASCOM Powerdo : REPLY
Thanks for the confirmation Mark. Have a wonderful evening! Tim
View ArticleShare your working BASCOM-AVR code here : ILI9341 with SW/HW SPI, 8/16 Bit...
Hi, try modifying line 425 to: [code:1:963333f497]Config Lcd_backlight_timer = Pwm , Prescale = 8 , Pwm = On , Compare_pwm = Clear_up[/code:1:963333f497] and line 435: [code:1:963333f497]Compare2a =...
View ArticleBASCOM-AVR : TSA5511 PLL High and Low Byte calculation : REPLY
Hi pd5dj Here is my old code for pll U6205B SP5055 TSA5055/5011 simple setup via 3 buttons for freq easy to change in code for other use cant remember if I used 4Mhz or 3.2Mhz for this...
View ArticleBASCOM-AVR : Fast ADC in free mode : REPLY
Thanks for answer but it is not what I want. "adc.bas" works in single mode (slow), "adc_int.bas" works in free mode but using interrupt. What I need is ADC in free mode without interrupts and without...
View ArticleBASCOM-AVR : TSA5511 PLL High and Low Byte calculation : REPLY
Hi Kimmi Thanks for the usefull answer :) And good to hear from you again,, (maybe 10 days too late, but happy birthday) I tried to contact you via Skype, do you still use it? About the code: In the...
View ArticleBASCOM-AVR : Fast ADC in free mode : REPLY
[quote:bef8a09911="Ruprecht"]But I cannot reach this :([/quote:bef8a09911] Because you lack basic understanding how free-run works. Also in free-run there's a conversion time, the same as in single...
View ArticleBASCOM-AVR : Fast ADC in free mode : REPLY
Have you tried change "single" to free in adc.bas? In Attiny841 I use [code:1:f9cf63c633]Admuxa = &B0010_1011' Differential Adcsra = &B1111_0101' 'Auto Trigger enable (Bit5) Adcsrb = 0 'Free...
View ArticleBASCOM-AVR : A problem with glcdks108.lbx Library : NEWTOPIC
Hi every one. It seems there is a problem with using GLCD KS108 SED 12864 and "glcdks108.lbx" Library in BASCOM-AVR (Ver. 2.0.7.6) . When I try to send some characters to GLCD by using Lcdat y , x...
View ArticleBASCOM-8051 : need help with counter : REPLY
You are shure, that you don't have problems with hardware. It is more "find the 7 errors". Also the drawing is not the gold winning award.
View ArticleShare your working BASCOM-AVR code here : Fast library for SSD1963 LCD : REPLY
Hello How do we draw the part of the circle (arc) to SSD1289 Please "
View ArticleShare your working BASCOM-AVR code here : Fast library for SSD1963 LCD : REPLY
http://bascom-forum.de/showthread.php?4328-SSD1289-Display-3-2-Zoll-240x320-mit-XMEGA128A1 Do a search in this forum. And you are in the wrong section. This is the share your code section. Ben Zijlstra
View Article