Search found 14 matches

by brunosilva
Tue Jul 30, 2013 3:20 am
Forum: Flowcode V5
Topic: calcule tmr0
Replies: 10
Views: 5905

Re: calcule tmr0

thank you

If I want to use 5/2 and so make him repeat 5 times in the right program?

How do I work with the timer counter 0 as

I am not able to create a program that when I precionar the button 5 times turns on a led using timer 0

Thanks for the trouble
by brunosilva
Sun Jul 28, 2013 4:58 am
Forum: Flowcode V5
Topic: calcule tmr0
Replies: 10
Views: 5905

Re: calcule tmr0

one doubts

can I have five minutes timer 0?

thank you
by brunosilva
Sat Jul 20, 2013 6:00 am
Forum: Flowcode V5
Topic: working with engine
Replies: 4
Views: 3254

Re: working with engine

got it

thank you
by brunosilva
Sat Jul 20, 2013 5:54 am
Forum: Flowcode V5
Topic: working with engine
Replies: 4
Views: 3254

Re: working with engine

Hi the code did not work with my engine he from one side to the other and does not spin. when I'm configuring the engine appears Phase Patterns and a sequence 0001 0100 0010 1000 my engine and I need to rotate the Phase Patterns is 0001 0010 0100 1000 a red square appears in front I can configure to...
by brunosilva
Fri Jul 19, 2013 2:48 am
Forum: Flowcode V5
Topic: working with engine
Replies: 4
Views: 3254

working with engine

Hello

I wonder how do I work with motor.

I am using an engine, most can not make it rotate right.

The sequence it would appear that it would be

    1000
    0100
    0010
    0001

or

0001
0010
0100
1000

I am sending the code to help

thank you
by brunosilva
Fri Jul 19, 2013 2:32 am
Forum: Flowcode V5
Topic: calcule tmr0
Replies: 10
Views: 5905

Re: calcule tmr0

Thanks for the trouble

I understand now how the timer
by brunosilva
Wed Jul 17, 2013 3:34 am
Forum: Flowcode V5
Topic: calcule tmr0
Replies: 10
Views: 5905

Re: calcule tmr0

I do not understand this calculation timer 0. In this case he is using a 4 MHz clock that will generate him a time 61,035 hz and also has a delay in the program what it does? then if it has a <61 seems more time passes than 1 second. Its help me in my code below. Sorry for the inconvenience could no...
by brunosilva
Tue Jul 16, 2013 2:59 am
Forum: Flowcode V5
Topic: calcule tmr0
Replies: 10
Views: 5905

Re: calcule tmr0

When I know when I'm using a timer 8-bit and 16-bit how do the calculation to get 3 seguindos in 16-bit how do i get 3/2 with 8 bits. cycle machine * preescaler * (so 8/16 - count value of timer 0) 3 000 000 = 0.5 * 128 * (65536 - x) X = 65536-46875 x = 18661 How to do this using Flowcode without us...
by brunosilva
Thu Jul 11, 2013 4:50 am
Forum: Flowcode V5
Topic: calcule tmr0
Replies: 10
Views: 5905

calcule tmr0

I wonder how and performed the calculation of the timer I am using an example of the matrix. TMR0 select clock source: internal clock (CLKO) source edge select: high-to-low transitionn on TMR0 clock 1:8 prescaler rate outcome and 8000000hz 976 563 hz frequency I want to know how and made ​​the calcu...
by brunosilva
Thu Jul 11, 2013 4:48 am
Forum: Flowcode V5
Topic: Messing with interruption or timers
Replies: 3
Views: 2879

Re: Messing with interruption or timers

I wonder how and performed the calculation of the timer I am using an example of the matrix. TMR0 select clock source: internal clock (CLKO) source edge select: high-to-low transitionn on TMR0 clock 1:8 prescaler rate outcome and 8000000hz 976 563 hz frequency I want to know how and made ​​the calcu...
by brunosilva
Thu Jun 27, 2013 2:01 am
Forum: Flowcode V5
Topic: Messing with interruption or timers
Replies: 3
Views: 2879

Re: Messing with interruption or timers

thank you
by brunosilva
Wed Jun 26, 2013 3:44 am
Forum: Flowcode V5
Topic: Messing with interruption or timers
Replies: 3
Views: 2879

Messing with interruption or timers

Have any examples with interruption and leds.

Timers with leds or clock.

thank you
by brunosilva
Tue Jun 25, 2013 2:40 am
Forum: Flowcode V5
Topic: draw on the display
Replies: 4
Views: 3376

Re: draw on the display

Thanks for the help.

Most like to be able to draw on the display, creating different characters.

Or even create drawings using the 16x2 display.

Write characters and numbers I've got.

Thank you.
by brunosilva
Sun Jun 23, 2013 3:26 am
Forum: Flowcode V5
Topic: draw on the display
Replies: 4
Views: 3376

draw on the display

Hello

I wonder how do I draw the display 16x2 using microcontroller 16F877A

thank you