BASCOM-AVR : PIN Change Interrupt BASCOM Version 2.0.7.5 : NEWTOPIC
I am trying to work with PIN Change Interrupt PCINT2 The below code is not working If I connect a 5V input on PCINT2 I see no output printed [code]Enable Pcint2 'Pcmsk = &B00001000 Set Pcie0 On...
View ArticleBASCOM-AVR Old versions : PIN Change Interrupt BASCOM Version 2.0.7.5 : REPLY
which processor do you use? did you checked the PCINT_CHANGE.bas sample from the samples folder?
View ArticleBASCOM-AVR : TIMER1 as Monostable Multivibrator ? : NEWTOPIC
Hi, Please can anybody help with this: I would like to have Timer1 as adjustable monostable multivibrator. Processor Attiny4313, Xtal 16MHz. The trigerring input INT1, output OC1B with active high...
View ArticleBASCOM-ARDUINO : Arduino Nano with I2c LCD and backlight : REPLY
Here is a short program that when the "Home" is removed puts random text on LCD Regards Paul [code:1:3b8562a2d8] $regfile = "m328pdef.dat" $crystal = 16000000 $baud = 57600 $hwstack = 100 ' default...
View ArticleBASCOM-AVR Old versions : PIN Change Interrupt BASCOM Version 2.0.7.5 : REPLY
[quote:aac4499212="albertsm"]which processor do you use? did you checked the PCINT_CHANGE.bas sample from the samples folder?[/quote:aac4499212] I am using ATMEGA164P PCINT2 is PORTA, PIN 2, PA2 I...
View ArticleBASCOM-AVR Old versions : PIN Change Interrupt BASCOM Version 2.0.7.5 : REPLY
Hello The following code works. But I would like to understand why there is no output printed from the ISR as per the code posted before. Thank you for all your help. I am a newbie in coding...
View ArticleBASCOM-AVR Old versions : Variable gets zeroed out after Lookupstr : REPLY
Thanks for the help! Is 2080 available yet?
View ArticleBASCOM-AVR : Xmega256D3 and TWIE compilation error : REPLY
With a little tinkering i was able to move the BQ32000 I2C RTC to Port.C. And that's working beautifully; with hardware I2C! The Texas Instruments BQ32000 is very nice to work with. It's largely...
View ArticleBASCOM-AVR : ATTiny4313/ Interrupt : REPLY
You are right, I agree we don't understand each other very much. I've just put a print routine in te ISR and set Sol01 to 30 and the printout counted "32" interrupts and "30" for a variable in the...
View ArticleBASCOM-AVR : ATTiny4313/ Interrupt : REPLY
[quote:42887ddcd4="2New"]You are right, I agree we don't understand each other very much.[/quote:42887ddcd4] I'd say, you don't listen and respond attentively. [quote:42887ddcd4]I've just put a print...
View ArticleBASCOM-AVR : Problem with LOOKUP and Word : NEWTOPIC
What is wrong with the below code? [quote:82ebf8200b] Dim a as word Dim index as Byte Index = 0 Do a = lookup(index,junkdata) Print a incr index Loop until index = 3 End JunkData: Data &H0101 Data...
View ArticleBASCOM-AVR : Problem with LOOKUP and Word : REPLY
Hi, According the helpfile in the data page: [quote:3208060be5]Integer and Word constants must end with the %-sign. Long and Dword constants must end with the &-sign. Single constants must end...
View ArticleAVR : Problems with AVR programmers and windows 10 : REPLY
@ Mark Alberts and all who are concerned: Most HP laser printers cartridges can be reset to keep printing after the count stops them from printing. Search for 'how to reset HP laser cartridges' or...
View ArticleAVR : Problems with AVR programmers and windows 10 : REPLY
hi Hubert yes i know about resetting. for my old CD printer i had a device that could reset the chip. i did not found a way to do that for the HP. But it is of no concern any more. At some stage i...
View ArticleBASCOM-AVR Old versions : PIN Change Interrupt BASCOM Version 2.0.7.5 : REPLY
you need to careful check the registers you used, and their relation to the PINs you use. Then you will understand why it doesnt work.
View ArticleBASCOM-ARDUINO : Arduino Nano with I2c LCD and backlight : REPLY
Looking at this library I thought why is the address a constant why is it not a variable For my first stab at ASM so I made it one and it worked!! But I only have one I2C Lcd module so I changed the...
View ArticleBASCOM-ARDUINO : Arduino Nano with I2c LCD and backlight : REPLY
Thanks Paul Will do a test with more than one I2c LCD. And publish the result Have fun Ben Zijlstra
View ArticleBASCOM-AVR : scan 8 channel in free runing mode of xmega : NEWTOPIC
Hi i want to scan 8 channel (pina.0 to pina.7) of xmega32a4 , in unsigned mode, free running mode using interrupts. i see xmega a manual, xmega a datasheet and help samples, but i see there is just 4...
View ArticleBASCOM-AVR : TIMER1 as Monostable Multivibrator ? : REPLY
Monopulse with timer: http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=13112
View Article