Search found 40 matches

by rradojko
Fri Dec 25, 2020 9:02 pm
Forum: Flowcode V6
Topic: Timer interrupt 1MHz
Replies: 2
Views: 3716

Re: Timer interrupt 1MHz

1 MHz interrupt is extremly frequent to handle it correctly and use the MCU to other tasks. You should use a PWM output or a dedicated oscillator circuit. Thanks for the reply. Yes, 1MHz will probably be a really high frequency. How to write a PWM program to be on P5 5KHz pin???? Can anyone show an...
by rradojko
Wed Dec 23, 2020 1:10 pm
Forum: Flowcode V6
Topic: Timer interrupt 1MHz
Replies: 2
Views: 3716

Timer interrupt 1MHz

I use licensed Flowcode6.
Is it possible to make a 1MHz interrupt at the B5 (it can also be some other way out) output with the Arduino Nano?
If so, how to do it?
Does anyone have an example of Flowcode timer code TMR0 or TMR1?

Thank you very much.
by rradojko
Tue Nov 26, 2019 1:53 pm
Forum: Flowcode V6
Topic: PWM doesn't work right - Arduino NANO
Replies: 3
Views: 5398

Re: PWM doesn't work right - Arduino NANO

Hello, The ATMEGA328 used on the Nano does not have a period register and so it can only use the period overflow value 255. In later versions of Flowcode we generate a warning message to inform the user of the lack of hardware capability. Thanks for the reply. Is it possible to use timer 2 on Ardui...
by rradojko
Fri Nov 22, 2019 10:32 pm
Forum: Flowcode V6
Topic: PWM doesn't work right - Arduino NANO
Replies: 3
Views: 5398

PWM doesn't work right - Arduino NANO

I use an Arduino Nano. I put together a PWM test program (Look at the picture). On the PD6 pin I want a PWM 2kHz frequency. I measured the frequency with a Seale Logic Logic Analyzer. The frequency on the PD6 pin is 490.3Hz. PWM is not working properly. What am I doing wrong? How to adjust the 2kHz ...
by rradojko
Wed Sep 20, 2017 1:05 pm
Forum: Flowcode V6
Topic: GLCD_ILI9341 - problem
Replies: 2
Views: 3394

Re: GLCD_ILI9341 - problem

LeighM wrote:Just a guess... try:
Pixel Height 320
Pixel Width 240
Thank you very much. I'll try it.

EDIT- I tried it. I tried it and it works very well. Thank you, LeighM!
by rradojko
Tue Sep 19, 2017 8:39 pm
Forum: Flowcode V6
Topic: GLCD_ILI9341 - problem
Replies: 2
Views: 3394

GLCD_ILI9341 - problem

Hello, I'm using the display and Arduino Nano (http://www.ebay.com/itm/2-8-TFT-LCD-Display-Touch-Panel-SPI-Serial-240-320-ILI9341-5V-3-3V-STM32/201950756171?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649) The problem is that the slipped part of the displey is black. What am I doing wrong...
by rradojko
Thu Jun 08, 2017 9:27 am
Forum: Flowcode V6
Topic: AD9833 and SPI ->> not woeking
Replies: 4
Views: 6227

Re: AD9833 and SPI ->> not woeking

LeighM thanks for the reply. I will try to set up and your proposal (Clock Polarity to "Idle HIgh" and Clock Phase to "Trailing Edge"). I have another question. How do you test SPI bus? You can paste the PrintScreen logic analyzer.? That to me would be helpful. And one more question. The figure belo...
by rradojko
Sat Jun 03, 2017 9:21 pm
Forum: Flowcode V6
Topic: AD9833 and SPI ->> not woeking
Replies: 4
Views: 6227

Re: AD9833 and SPI ->> not woeking

Here I checked SPI with "Seale logic" analyzer. SPI is not working.
by rradojko
Sat Jun 03, 2017 9:15 pm
Forum: Flowcode V6
Topic: AD9833 and SPI ->> not woeking
Replies: 4
Views: 6227

AD9833 and SPI ->> not woeking

Hello. I wrote a program Flowcode 6 for the AD9833 DDS generator . I use Arduino Nano. I helped you with this topic . AD9833 is controlled via the SPI bus. But I have a problem with the SPI bus. SPI is not working. I enclose a program Flowcode 6. The values of the bits for example 400Hz. Here is an ...
by rradojko
Thu Apr 27, 2017 9:32 pm
Forum: Flowcode V7
Topic: ST7920
Replies: 4
Views: 4935

Re: ST7920

Hello,

I use Flowcode_6.
I too would need a component for GLCD display ST7920.
Datasheet is here.

Pretty please, if anyone has a component for ST7920.

Library for Arduino and ST7920 is here

Thank you.
by rradojko
Wed Oct 05, 2016 9:32 pm
Forum: Flowcode V6
Topic: I2C OLED Display 128x64
Replies: 4
Views: 7229

Re: I2C OLED Display 128x64

Hello!

The victory. Thank you very much kersing :D .
I use a search and found.
Look at the picture.

I use the Arduino UNO and I2C glcd (SSD1306).
I wrote the test program "Hello World". It works fine.

Thanks again. I am very happy....... :D .
by rradojko
Tue Oct 04, 2016 7:58 pm
Forum: Flowcode V6
Topic: I2C OLED Display 128x64
Replies: 4
Views: 7229

Re: I2C OLED Display 128x64

Thanks for the information.
Yes, yes, I used SSD1306 component. But this is not flowcode 6.?
Flowcode 7 has a SSD1306 component.


How to use Flowcode 6 and an I2C OLED display and component SSD1306?
I would need an example flowchart Flowcode 6. Does anyone dealt with this I2C OLED?

Thanks.
by rradojko
Fri Sep 30, 2016 9:36 pm
Forum: Flowcode V6
Topic: I2C OLED Display 128x64
Replies: 4
Views: 7229

I2C OLED Display 128x64

Hello,

On ebay I bought I2C OLED display,
Use license Flowcode 6.
How to write on the display "Hello World". Does anyone programmed such OLED display?
Please program (code of Flowcode) for writing on the OLED display.

Thanks.
by rradojko
Tue Jun 14, 2016 5:26 am
Forum: Flowcode V6
Topic: max7219/SPI troubles.
Replies: 12
Views: 12862

Re: max7219/SPI troubles.

STibor wrote:..............I attach an example.I only have a dot matrix display with MAX7219, I can not test.Proteus works well in the 7-segment display.
Bravissssssimo, 7-segment 8 X works fine.
Thank you very much for example.
I am very happy to help ;-).
by rradojko
Fri Jun 10, 2016 3:10 pm
Forum: Flowcode V6
Topic: max7219/SPI troubles.
Replies: 12
Views: 12862

Re: max7219/SPI troubles.

STibor, thanks for the information.
I tried to Flowcode 6, but does not work. Absolutely nothing. What am I doing wrong?

I enclose a program Flowcode 6.


Stibor, nice project - https://www.youtube.com/watch?v=L_2jvbifOwk
How is this done? Arduino?

Thank you.
by rradojko
Tue Jun 07, 2016 6:21 am
Forum: Flowcode V6
Topic: max7219/SPI troubles.
Replies: 12
Views: 12862

Re: max7219/SPI troubles.

Continuing the theme. I use Arduino Nano and 8 X 7-seg. display with MAX7219. Connecting the Arduino Nano, and 8 X 7-seg. display the picture. I enclose a program written in Flowcode_6 I wonder why the program does not work? What am I doing wrong? Does anyone have a working program for the MAX7219 a...
by rradojko
Thu Apr 21, 2016 6:48 am
Forum: Flowcode V6
Topic: Interrupt evry 1/100s
Replies: 6
Views: 6275

Re: Interrupt evry 1/100s

I think it is a mistake to help in Flowcode custom interrupt. Code of help did not work
by rradojko
Thu Apr 21, 2016 6:32 am
Forum: Flowcode V6
Topic: Interrupt evry 1/100s
Replies: 6
Views: 6275

Re: Interrupt evry 1/100s

Here are the settings for the custom interrupt the Flowcode 6. Interrupt evry 1/100s.
by rradojko
Thu Apr 21, 2016 6:21 am
Forum: Flowcode V6
Topic: Interrupt evry 1/100s
Replies: 6
Views: 6275

Re: Interrupt evry 1/100s

Hello! Benj Thanks for the information. I managed to configure the 16-bit Timer1. I use the Arduino Uno and processor Atmega328p. Here are the settings Timer1 to interrupt each 1 / 100s for Arduino. The code works! // Arduino timer CTC interrupt example - interrupt evry 1/100s #include <avr/io.h> #i...
by rradojko
Sun Apr 17, 2016 8:51 pm
Forum: Flowcode V6
Topic: Interrupt evry 1/100s
Replies: 6
Views: 6275

Re: Interrupt evry 1/100s

Hello,

Thank you Benj for your answer, but interrupt (ArdTimerDemo.fcfx ) is not not accurate.
I checked interrupt with the logic analyzer. See attachment below.

I need exactly interruption. It uses the 16-bit timer and the "C" code, but I do not know how?
by rradojko
Wed Apr 13, 2016 10:31 am
Forum: Flowcode V6
Topic: Interrupt evry 1/100s
Replies: 6
Views: 6275

Interrupt evry 1/100s

I have a question.
I use an Arduino UNO and 16 MHz quartz.
I want to create a interruption at every hundredth of a second - interrupt 1/100s.
Which timer should i use? 8-bit timer or 16_bit timer?
How do I configure the timer register?

Thanks for the reply.
by rradojko
Mon Mar 25, 2013 9:00 pm
Forum: General Programming
Topic: 2 X 1Wire individual pin on one mikokontroler
Replies: 12
Views: 7541

Re: 2 X 1Wire individual pin on one mikokontroler

Hello,

Sean Danaher, very nice and interesting project.
In which language you programmed? Flowcode?
Unfortunately, I do not know how to program.

Greetings!

RR
by rradojko
Mon Mar 25, 2013 8:45 pm
Forum: General Programming
Topic: Measurement of temperature and relative humidity using DHT11
Replies: 90
Views: 83058

Re: Measurement of temperature and relative humidity using D

belayat wrote:Hello enamul sir

could you please write the algorithm of the program "DHT11v1.01.fcf" for the beginners.

belayat
Hello,

I agree. This would be good for beginners. My algorithm still does not work.
I would ask for an explanation DHT11.

Thank you very much.

RR
by rradojko
Wed Mar 20, 2013 7:50 pm
Forum: General Programming
Topic: 2 X 1Wire individual pin on one mikokontroler
Replies: 12
Views: 7541

Re: 2 X 1Wire individual pin on one mikokontroler

Hello. Again, please help. I tried 2x onewire in Flowcode5 2x single pin. I use ATMEGA32 microprocessor. Use sensors DS18S20. Are connected to pinD2 and pinD3. One sensor is working properly connected to pinD2. A sensor on the pinD3 shows the same temperature as the sensor pinD3. How to properly wri...
by rradojko
Wed Mar 20, 2013 6:47 pm
Forum: General Programming
Topic: The problem of simulation Flowcode RS232.
Replies: 1
Views: 1971

The problem of simulation Flowcode RS232.

Hello. I have a problem simulations Flowcode 2 X RS232 component. I use Arduino2560 and ATmega2560 microcontroller. I attach the video simulation. The problem is Flowcode4 and Flowcode5. http://www.screenr.com/fTb7 The program itself is closed. What am I doing wrong? How to write a program that will...