BASCOM-AVR : berekenen maanfase : REPLY
Hi, and welcome to this friendly forum. On this forum the language is Englisch, would you please translate your question to englisch so everybody understand what you talking about. Back to your...
View ArticleBASCOM-AVR : pin change interrupt configuration : NEWTOPIC
Hi, In my device based on atmega168 I need to use pin change interrrupt (on PD1 pin). Is there any support in Bascom for such interrupts? I can manually manipulate relevant bits in PCICR, PCIFR,...
View ArticleBASCOM-AVR : pin change interrupt configuration : REPLY
Read the fine manual about how pin change interrupt works, and you'll understand why there isn't any interrupt vector called PCINT16.
View ArticleBASCOM-AVR : pin change interrupt configuration : REPLY
In the meantime I found the answer (on the forum, can not find such info in help file). [code:1:189768f8f4]Pcmsk2 = &B0000_0001 ON PCINT2 pinchange_pd1 [/code:1:189768f8f4] Confusing at the...
View ArticleBASCOM-AVR : pin change interrupt configuration : REPLY
[quote:3898e3d079="mpo"][code:1:3898e3d079]Pcmsk2 = &B0000_0001 ON PCINT2 pinchange_pd1 [/code:1:3898e3d079][/quote:3898e3d079] That enables PD0 for pin change, and not PD1.
View ArticleBASCOM-AVR : pin change interrupt configuration : REPLY
You are right. It's PD0. But it's also PCINT16 as desired. I put wrong bit number.
View ArticleBASCOM-AVR : command glcd contrast : NEWTOPIC
hello i try to use displaytech GLCD module 64128N series with ST7565 serial mode ( set EADOG128x64) the lcd working but the contrast it's no good and image is too clear , i don't see the command "lcd...
View ArticleBASCOM-AVR : command glcd contrast : REPLY
use GLCDCMD (see help) and write to the registers. you need the electronic volume . it is a double byte command glcdcmd &B10000001 'first byte glcdcmd &B00100000 'value from 0-63
View ArticleBASCOM-AVR : How to create an 8 byte integer? : REPLY
+1 for using an array to store the code. I did a digital "lock", actually a key pad to open or close the garage door a few years ago. I built in a "back door" code, hard coded, so that if the eeprom...
View ArticleBASCOM-AVR : LCD simple test : REPLY
Note that if you actually build this you need to include a By-Pass capacitor, 0.1 uF, from Vcc to Ground, and another one from AVcc to Ground. I know you don't need the for the simulator, but don't...
View ArticleBASCOM-AVR : How to create an 8 byte integer? : REPLY
4 digit PIN numbers are easy to hack if you allow continuous access. One method I have used to seriously impede hackers is to allow only 3 consecutive tries, then lock out the keypad for some lengthy...
View ArticleBASCOM-AVR : Assembler Question : NEWTOPIC
Can anyone advise the difference of an assembler command with and without an asterisk preceding it? Many thanks and a Happy New Year to everyone. Chris * #IF _XTAL>12000000 * nop * nop * nop ;added...
View ArticleBASCOM-AVR : Assembler Question : REPLY
Hi, From the help text [quote:343aae3e1c] About the assembler. When you reference constants that are declared in your basic program you need to put a star(*) before the line. ' Basic Program CONST...
View ArticleBASCOM-AVR : Happy New Year : NEWTOPIC
Hi everyone. Thanks for your "company" and help during 2013. May you all have a happy, safe, healthy and successful 2014. And a special thanks to Mark and his team of helpers. Cheers, Ross...
View ArticleBASCOM-AVR : Assembler Question : REPLY
Ian: Thanks for the quick reply Do you have any idea why the official glcd.lib is using "*NOP"? Unless I am missing something, they should all be "NOP" Regards Chris
View ArticleBASCOM-AVR : Assembler Question : REPLY
Hi, I can't see any reason why. According to the help text * is pnly necessary if you're using a const. Maybe Marc has an idea. Regards Ian Dobson
View ArticleBASCOM-AVR : Assembler Question : REPLY
[quote:8fecd239be="i.dobson"]I can't see any reason why. According to the help text * is pnly necessary if you're using a const.[/quote:8fecd239be] This is [b:8fecd239be]not[/b:8fecd239be] what above...
View ArticleBASCOM-AVR : Assembler Question : REPLY
[quote:5fa7a65179="MWS"][quote:5fa7a65179="i.dobson"]I can't see any reason why. According to the help text * is pnly necessary if you're using a const.[/quote:5fa7a65179] This is...
View ArticleBASCOM-AVR : Assembler Question : REPLY
Gi, Who got out of the wrong side of the bed today? See my first post, with the quote from the help text. So a * in the lib means don't compile this line when the lib is compiled to a lbx. The line is...
View Article