Search found 347 matches

by achillis1
Thu Jun 01, 2017 3:45 pm
Forum: Flowcode V7
Topic: STM32F469 TOUCH SCREEN discovery kit
Replies: 15
Views: 12743

Re: STM32F469 TOUCH SCREEN discovery kit

Hello Leigh,

Thanks for the reply, YES I have chosen the 32F469Discovery, sorry I wasn't clear about that!
Is there a raw code or a simple procedure to use with the display to test the proper functionality of the microcontroller?

Thank you
by achillis1
Thu Jun 01, 2017 2:59 pm
Forum: Flowcode V7
Topic: STM32F469 TOUCH SCREEN discovery kit
Replies: 15
Views: 12743

Re: STM32F469 TOUCH SCREEN discovery kit

Hello, Yes, I have the packs...I think! I have managed to get pass the error, it seems that I did not choose the right target chip. I selected the STMF469 as chip, then added > display > STM32F469NI. Then I added code to display a circle. On the simulation it works but when I compile to chip , my di...
by achillis1
Wed May 31, 2017 7:25 pm
Forum: Flowcode V7
Topic: STM32F469 TOUCH SCREEN discovery kit
Replies: 15
Views: 12743

STM32F469 TOUCH SCREEN discovery kit

Hello, I have the STM32F469 TOUCH SCREEN discovery kit ( Thanks for the gift! :) Matrix TSL ! ) I am trying to make my first flowcode and when I search for the Glcd component; I do not find the exact match! Shall I use the STM32F469NI? Is it included in any update? If I upload the code am I going to...
by achillis1
Sat Mar 18, 2017 10:48 pm
Forum: E-blocks
Topic: LCD connect to arduino
Replies: 3
Views: 4939

Re: LCD connect to arduino

Hello Ben

I am using Eblocks LCD board and I am giong to map the wiring my self to the arduino Mega board
by achillis1
Sun Mar 12, 2017 3:22 pm
Forum: E-blocks
Topic: LCD connect to arduino
Replies: 3
Views: 4939

LCD connect to arduino

Hello,

I need to connect an Eblock LCD screen to arduino. How do I arrange the pin connections from LCD to arduino? Is the LCD working via a special UART protocols such as SPI or I2C?

Thank you,

Best Regards
Andreas
by achillis1
Thu Mar 02, 2017 7:51 am
Forum: Programming Tips & Tricks
Topic: software updates
Replies: 1
Views: 5159

software updates

Hello,

Is there a link where I can download the flowcode updates?

Thank you
by achillis1
Tue Feb 28, 2017 3:14 pm
Forum: Flowcode V4
Topic: RS232 refresh
Replies: 20
Views: 28049

Re: RS232 refresh

Hello, Many thanks Ben! You you can for example do this using a newline escape sequence. String = "Hello World\n" When I do that I receive error when I compile to chip which says if I have C code in the program to review it! But OK I will bother with that another time! *** Concerning the above, the ...
by achillis1
Sat Feb 25, 2017 10:09 pm
Forum: Flowcode V4
Topic: RS232 refresh
Replies: 20
Views: 28049

Re: RS232 refresh

Hello Ben, I cannot read the fcfx, I have flowcode 6. Never the less , I scroll through the C code file generated after compiling my flowcode and I see the folloowing: #define MX_UART_RTS_TRIS_1 trisc #define MX_UART_BAUD_1 9600 #define MX_UART_DBITS_1 8 #define MX_UART_RETURN_1 0 #define MX_UART_EC...
by achillis1
Tue Feb 21, 2017 8:02 pm
Forum: Flowcode V4
Topic: RS232 refresh
Replies: 20
Views: 28049

Re: RS232 refresh

Hello Ben Many thanks! It is helpful.. Though the last part on how data gets crumpled after a byte by byte write I will need to get a piece of paper and draw on it the whole sequence to get it right in my head! > When you say the string gets reinitialized you mean the string I create as variables or...
by achillis1
Tue Feb 21, 2017 5:11 pm
Forum: Flowcode V4
Topic: RS232 refresh
Replies: 20
Views: 28049

Re: RS232 refresh

Thanks Ben! Here is an example code snippet. str = UART::StringReceive() len = Length$(str) if (len > 0) Yes: We have data So will I use this in the "C code icon" ? Can I also use it in the calculation icon , yes? Regarding the RS232 buffer, you are mentioning above a HARDWARE buffer that stores 2 b...
by achillis1
Mon Feb 20, 2017 5:53 pm
Forum: Flowcode V4
Topic: RS232 refresh
Replies: 20
Views: 28049

Re: RS232 refresh

Hello, 1. As mentioned above the RS232 has 2 byte buffer. Q: How is possible to have a macro to receive RS232 string(max 2 Bytes = 14 characters ) > return value then is assigned to a string of 20 characters long / data sent from peer device are equal to 20 characters SO data stored to the RetValue ...
by achillis1
Sat Nov 28, 2015 9:23 pm
Forum: Flowcode V6
Topic: Flowcode V6 PicPac List
Replies: 20
Views: 24685

Re: Flowcode V6 PicPac List

Hello,

Thanks for the guide!

One question though; Which PICs can operate with other 3.3v devices and communicate with UART Tx/Rx ->3.3v ? The ones that operate 2.0V - 5.5V or the 1.8v - 3.6V ?

Thank you ,

Best Regards,

Andreas Achilleos
by achillis1
Fri Nov 27, 2015 8:02 pm
Forum: General Programming
Topic: analog input greater than 5V
Replies: 7
Views: 10753

Re: analog input greater than 5V

Hello, Thank you for replying! @Kersing Supposedly, the input will be up to 25V maybe sine wave but this t is the case: An inductor will be operating at 100kHz pulses of DC ( as I have read about )*see schematic concerning the DC pulses or AC, then a second receiver inductor will pick up the electro...
by achillis1
Tue Nov 24, 2015 4:35 pm
Forum: General Programming
Topic: analog input greater than 5V
Replies: 7
Views: 10753

analog input greater than 5V

Hello, I need to sample analog inputs greater than 5v probably up to 25V. I can think 2 ways doing that: 1. Drive a transistor with 25v and the transistor's output will be connected with 5v rail and after to the PIC analog input. If the transistor's input varies ( sine wave ) WILL it have an appropr...
by achillis1
Sun Nov 22, 2015 6:25 pm
Forum: Flowcode V4
Topic: SPI special commands
Replies: 5
Views: 16381

Re: SPI special commands

Thanks Martin! By the way... 1. As Ben suggested; can I still set SPI master in Flowcode 4? This is the low level SPI functionality and can be used instead of the more standard SPI_Master component. The CAL SPI component has a function named Master_Byte. This function allow you to simultaneously rea...
by achillis1
Sun Nov 22, 2015 9:45 am
Forum: Flowcode V4
Topic: SPI special commands
Replies: 5
Views: 16381

Re: SPI special commands

Hello Ben ,

I cannot find the search function! :shock:


Thank you
by achillis1
Thu Nov 12, 2015 4:43 pm
Forum: Flowcode V4
Topic: SPI special commands
Replies: 5
Views: 16381

Re: SPI special commands

Thanks! Ben, just have in mind that I use FV4! Since SPI data transfer works in full duplex mode, special fill character (SPI NULL) will be transmitted during idle period (if there is no more data to transmit). These idle fill pattern shall be dropped at receiving end. How will flowcode know to inje...
by achillis1
Thu Nov 12, 2015 3:08 pm
Forum: Flowcode V4
Topic: SPI special commands
Replies: 5
Views: 16381

SPI special commands

Hello, I have posted already for this issue I am having with SPI communication but the manufacturing company sent me the following procedure. My concern is: based on how flowcode is configured, should I change any settings or have special code in my routine or the normal SPI macros can handle the be...
by achillis1
Tue Nov 03, 2015 7:44 pm
Forum: Flowcode V6
Topic: Watchdoc timer connecting and setting prescaler
Replies: 16
Views: 14160

Re: Watchdoc timer connecting and setting prescaler

:D Hello Ben, Thanks for the reply. Well it is confusing, they say microseconds and they have "ms" which stands for milliseconds yes? :!: I will have to confirm that! The value sent out for a receive is currently fixed to 0x55 using the SPI Master component. However if you instead use the CAL_SPI co...
by achillis1
Tue Nov 03, 2015 5:48 pm
Forum: Flowcode V6
Topic: Watchdoc timer connecting and setting prescaler
Replies: 16
Views: 14160

Re: Watchdoc timer connecting and setting prescaler

Thanks Martin!!! :D You have been very helpfull! One last thing.. When I suppose to send "a NULL" to a device and more specific #define SPI_NULL (uint8_t) 0xF0 > What do they mean? To just send via SPI macro a byte OR character with zero value? I am suppose to that before I can read data from a spec...
by achillis1
Sun Nov 01, 2015 10:28 am
Forum: Flowcode V6
Topic: Watchdoc timer connecting and setting prescaler
Replies: 16
Views: 14160

Re: Watchdoc timer connecting and setting prescaler

Hello Martin, Always glad when you reply a post! :D 1. So, I will just use the option_reg only without the wdtcon. 2. In order to use the "option_reg = option_reg | 0b00001111; //Configure watchdog to 1:128 Postscaler" code, it is prerequisite that I enable WDT within project options, yes? a. If I d...
by achillis1
Fri Oct 30, 2015 9:23 pm
Forum: Flowcode V6
Topic: Watchdoc timer connecting and setting prescaler
Replies: 16
Views: 14160

Re: Watchdoc timer connecting and setting prescaler

Hello, I have pic 16F877A and I want to set the WDT to be around 1 second. Based on the data sheet details I post below what is the longest time for WDT? The crystal is the default one 19Mhz By the way , why do we put 0b at the beginning of the C code? "0b00000111" 2. The option_reg register I can s...
by achillis1
Thu Oct 29, 2015 9:32 pm
Forum: General Programming
Topic: Watch Dog Timer
Replies: 1
Views: 4520

Watch Dog Timer

Hello,

Is there a way to set the WDT to have a custom amount of time to be triggered?

Thank you,

Best Regards,

Andreas Achilleos
by achillis1
Fri Oct 16, 2015 8:23 pm
Forum: General Programming
Topic: SPI routine - get byte
Replies: 1
Views: 3454

SPI routine - get byte

Hello , I have a few questions about SPI 1. If my Slave device needs to send a byte of data, then I believe I should use one SPI macro. So the routine would be : CS pin > 0V - activate slave SPI macro > receive byte CS pin > 5v - deactivate slave Now, when the routine pointer leaves the SPI macro an...
by achillis1
Tue Oct 06, 2015 2:32 pm
Forum: General Programming
Topic: SPI CS pin state
Replies: 1
Views: 3499

SPI CS pin state

Hello, I am using the PIC 16F877A as master and a wifi module as slave. 1 . In the above situation; will I ever need to use the CS pin of the Master PIC? If I send data form Master or receive to master will I use it? 2 . When I will send or receive data FROM the Slave, as I understand; I should alwa...