Search found 12 matches
- Mon Mar 31, 2014 2:40 pm
- Forum: Flowcode V6
- Topic: Using pin change interrupts on ATmega325
- Replies: 4
- Views: 3750
Re: Using pin change interrupts on ATmega325
I found the problem on my own. Just in case someone encounters the same problem, I am posting the solution. I had all three variables assigned to one pin. So basic_switch2 and basic_switch4 were assigned to the same variable as basic_switch1. Now it works as expected.
- Mon Mar 24, 2014 1:18 pm
- Forum: Flowcode V6
- Topic: Using pin change interrupts on ATmega325
- Replies: 4
- Views: 3750
Re: Using pin change interrupts on ATmega325
Thank you for catching my mistake. The complete flowcode file is now uploaded.
- Thu Mar 20, 2014 1:10 pm
- Forum: Flowcode V6
- Topic: Using pin change interrupts on ATmega325
- Replies: 4
- Views: 3750
Using pin change interrupts on ATmega325
I have a simple program flowchart. It consists of a main loop in which a basic switch turns an LED on and off. I have inserted a pin change interrupt on PORT E, pins 2, 3, and 4 which correspond to PCINT0, PCINT1, and PCINT2. What I am trying to do is implement an interrupt that is triggered wheneve...
- Fri Mar 14, 2014 1:06 pm
- Forum: Getting Started
- Topic: Where's the simulation LED?
- Replies: 1
- Views: 8175
Where's the simulation LED?
Hello, My name is Chuck and I am new to Flowcode. I am using the Flowcode 6 Prof. AVR. I was working my way through the component Wiki and came across the simulation LED. The wiki says it is under the "controls" section of the toolbar. Can't find "controls" or simulation LED anyw...
- Thu Sep 19, 2013 8:40 pm
- Forum: Flowcode V5
- Topic: pwm disabled
- Replies: 9
- Views: 6241
Re: pwm disabled
Hi Dazz, I haven't tried it on hardware yet. I will tonight after work and get back to you. I saw elsewhere on the forum other people are having trouble simulating the pwm output in flowcode. Now I know why. I was considering using flowcode for work, but it appears it is geared more towards Microchi...
- Thu Sep 19, 2013 6:25 pm
- Forum: Flowcode V5
- Topic: pwm disabled
- Replies: 9
- Views: 6241
Re: pwm disabled
Here you are Dazz. I tried looking for examples of how to add an led to a port on the chip, no luck. I did connect the led to pin 4 and the inserted the LED macro. I edited the LED macro to LED(on) and then ran flowcode. The LED did light up, however it did respond to the pwm.
Thanks again.
Thanks again.
- Wed Sep 18, 2013 2:59 pm
- Forum: Flowcode V5
- Topic: pwm disabled
- Replies: 9
- Views: 6241
Re: pwm disabled
Hello Dazz, Fantastic, thanks for the information. I suppose that is in the help file explanation for configuring PWM(0), sort of, but not as clearly as you state it. So I did as you said and selected channel 5 for PC4. Then I connected an led to PC4 hoping I could brighten or dim the led according ...
- Tue Sep 17, 2013 9:45 pm
- Forum: Flowcode V5
- Topic: pwm disabled
- Replies: 9
- Views: 6241
Re: pwm disabled
Hello Dazz, Thanks for your help with the pwm disabled problem. I guess I should have stayed awake during the component macro section of the Flowcode tutorial. But now that you have shown me how to get the pwm enabled and running I can't seem to connect it to PC4 or any pin for that manner. It keeps...
- Tue Sep 17, 2013 6:57 pm
- Forum: Flowcode V5
- Topic: pwm disabled
- Replies: 9
- Views: 6241
pwm disabled
I am using the Professional version of Flowcode 5 AVR. I want to generate a pwm signal that is proportional to an analog input signal. When I select the PWM block from the mechatronics menu and place it in the work panel it shows up as "disabled". The PWM(0) function is greyed out. Indicat...
- Fri Sep 06, 2013 8:58 pm
- Forum: C and ASM Programming
- Topic: C for AVR Programming
- Replies: 4
- Views: 14990
Re: C for AVR Programming
Hello DavidA,
I am still having difficulty managing the links on this tutorial. Can you help?
I am still having difficulty managing the links on this tutorial. Can you help?
- Tue Aug 20, 2013 11:45 pm
- Forum: C and ASM Programming
- Topic: C for AVR Programming
- Replies: 4
- Views: 14990
Re: C for AVR Programming
Hello DavidA,
Thanks for responding. The links that are producing errors are in Lab 1, programs 1.1, 1.3, and 1.4. I have uploaded a word file that contains screen shots of the failure for program 1.1.
Regards,
Chuck Sampson
Thanks for responding. The links that are producing errors are in Lab 1, programs 1.1, 1.3, and 1.4. I have uploaded a word file that contains screen shots of the failure for program 1.1.
Regards,
Chuck Sampson
- Tue Aug 20, 2013 1:55 am
- Forum: C and ASM Programming
- Topic: C for AVR Programming
- Replies: 4
- Views: 14990
C for AVR Programming
I recently purchased the C for AVR programming. I have installed the software per the instructions. However, when I click on certain active links I cannot connect to the internet. My internet is fine. I have searched the forums and FAQs but have found no information on this problem. I did notice tha...