Search found 220 matches

by Roy Johnston
Wed Feb 04, 2015 7:16 pm
Forum: Flowcode V6
Topic: K type thermocoupler component
Replies: 2
Views: 2254

K type thermocoupler component

I want to use k type probes on my system. I see there is a component for it. I understand 100 % about cold junction temperatures. I understand the need for a thermistor. What I cannot figure out is the hardware wiring. K type probes only give out millivolts. Could someone be kind enough to explain t...
by Roy Johnston
Tue Feb 03, 2015 10:23 am
Forum: Flowcode V6
Topic: LCD display
Replies: 3
Views: 2565

Re: LCD display

I can now confirm that this Display functions 100 %

thanks a lot for the help
by Roy Johnston
Tue Feb 03, 2015 10:21 am
Forum: Flowcode V6
Topic: Keypad
Replies: 3
Views: 2697

Keypad

The wait pressed and wait release function, I assume holds up the code from execution.
I need to use these functions but would only like it available for say 2 seconds, and if the key is not pressed or released in 2 seconds the code must carry on.
Any ideas how this can be done.

Regards
Roy
by Roy Johnston
Sun Feb 01, 2015 1:47 pm
Forum: Flowcode V6
Topic: LCD display
Replies: 3
Views: 2565

Re: LCD display

Thank you
by Roy Johnston
Sun Feb 01, 2015 12:51 pm
Forum: Flowcode V6
Topic: LCD display
Replies: 3
Views: 2565

LCD display

Topway Lcd Module LMB162ABC
I want to use this LCD display,
Is this board compatible with the lCD display 16X2 component in version 6.
I attached the technical document.
Pin for pin it seems compatible, however I am not sure about the writing to this display.
by Roy Johnston
Sun Feb 01, 2015 12:42 pm
Forum: Flowcode V6
Topic: Version 6 kepad component.
Replies: 1
Views: 1469

Version 6 kepad component.

In version 4 the keypad component the wiring was wired as follows. Col 1 D0 Col 2 D1 Col 3 D2 Row A D4 Row B D5 Row C D6 Row D D7 Questions 1) Did we lose the function of D3 or can I use it as a general I/O pin? 2) In version 6, I cannot see in the component all the pin assignments in the component,...
by Roy Johnston
Thu Jan 08, 2015 6:43 am
Forum: Flowcode V6
Topic: 18f4550 and bootloader
Replies: 8
Views: 5565

Re: 18f4550 and bootloader

Ok I came total right.
I used the following to reinitialize the usb,
asm
{
goto 0X0F00
}

Thanks for all the help :D
by Roy Johnston
Wed Jan 07, 2015 9:51 am
Forum: Flowcode V6
Topic: 18f4550 and bootloader
Replies: 8
Views: 5565

Re: 18f4550 and bootloader

Right, I found the cause why my program does not run when the bootloader is installed. If I remove the watchdog start command “wdtcon = 0x01;" it works perfectly except for the fact that I don't have my watchdog running. The way I use the watchdog is as follows Only once the software poles the card ...
by Roy Johnston
Tue Jan 06, 2015 4:16 am
Forum: Flowcode V6
Topic: 18f4550 and bootloader
Replies: 8
Views: 5565

Re: 18f4550 and bootloader

Thank you for you help, Late last night I actually got it running, by using the standard bootloader by microchip. The problem with the standard bootloader is that it needs rb4 to be high when resetting the chip. This is not good, as I need to do the flash remotely. if I go to be present on site , th...
by Roy Johnston
Mon Jan 05, 2015 6:04 pm
Forum: Flowcode V6
Topic: 18f4550 and bootloader
Replies: 8
Views: 5565

Re: 18f4550 and bootloader

yes it is a 20 MHz crystal
made both changes you suggested.
unfortunately the same result.
as soon as I add the component call macro, it fails.
it appears that the system does not go out of bootloader mode.
by Roy Johnston
Mon Jan 05, 2015 4:12 pm
Forum: Flowcode V6
Topic: 18f4550 and bootloader
Replies: 8
Views: 5565

Re: 18f4550 and bootloader

Ok I have done the following. 1) Created a simple prog to flash an led. No usb comms nothing 2) Loaded it into the chip and tested – all ok 3) Loaded bootloader. 4) Microchip prog sees the device. 5) I then prog the simple hex file in . 6) Reset the chip. 7) No led flashing 8) Changed compiler to re...
by Roy Johnston
Mon Jan 05, 2015 8:35 am
Forum: Flowcode V6
Topic: 18f4550 and bootloader
Replies: 8
Views: 5565

18f4550 and bootloader

I have a successful project using the 18f4550 and I would now like to add a boot loader , so I can flash the 18f4550 from the usb. I have loaded a boot loader onto the pic, whereupon I can flash it with my prograhmn, only problem now is my prograhmn does not run. I only have a hex file boot loader. ...
by Roy Johnston
Wed Jul 09, 2014 4:57 pm
Forum: Flowcode V6
Topic: win 7 crashing
Replies: 1
Views: 1654

Re: win 7 crashing

Problem solved,
I only enable trm0 interrupt in the service macro instead of the main macro.
IE interrupt only starts functioning on the first scan from my basic software. I then flag that it has been enabled and further sans do not re-enable the trm0 interrupt
by Roy Johnston
Mon Jul 07, 2014 2:09 pm
Forum: Flowcode V6
Topic: win 7 crashing
Replies: 1
Views: 1654

win 7 crashing

I have a project that if win 7 has loaded and I plug in the usb then all is fine.
however if the windows is starting up the usb crashed the system and gives me a blue screen.
it is a 18f4550
by Roy Johnston
Fri Jun 27, 2014 8:18 am
Forum: Flowcode V6
Topic: Flowcode v6.0.9 Live + Recent Major Bugs & Fixes
Replies: 32
Views: 22316

Re: Flowcode v6.0.9 Live

i reinstalled ver 6.0.7 ( using the repair option) without uninstalling 6.0.9,
it now works.
if I look at the installed version in help, about it still shows ver 6.0.9.0 installed
by Roy Johnston
Fri Jun 27, 2014 7:59 am
Forum: Flowcode V6
Topic: Flowcode v6.0.9 Live + Recent Major Bugs & Fixes
Replies: 32
Views: 22316

Re: Flowcode v6.0.9 Live

Sorry it does not work
I am using usb slave not serial.
if I reinstall 6.0.7 it works
by Roy Johnston
Thu Jun 26, 2014 4:27 pm
Forum: Flowcode V6
Topic: Flowcode v6.0.9 Live + Recent Major Bugs & Fixes
Replies: 32
Views: 22316

Re: Flowcode v6.0.9 Live

tried that did not work,
I am using a 18f4550, in that download I did not see a 18f4550 file, however I did copy it into the directory,
to no avail
by Roy Johnston
Wed Jun 25, 2014 9:05 pm
Forum: Flowcode V6
Topic: Flowcode v6.0.9 Live + Recent Major Bugs & Fixes
Replies: 32
Views: 22316

Re: Flowcode v6.0.9 Live

i had a prog working perfectly on 6.0.7 after upgrade I cannot receive or send data from my vb application via the usb slave Dim lRetVal As Long Dim bDataOut(0 To 25) As Byte Dim bDataIn(0 To 25) As Byte Dim nTxDataCnt As Long Dim nRxDataCnt As Long Dim sID(0 To 20) As Byte Dim dig0 Dim y As Long Di...
by Roy Johnston
Tue Jun 03, 2014 4:46 am
Forum: Flowcode V6
Topic: RawAverageByte
Replies: 4
Views: 3345

RawAverageByte

Am I correct in assuming that this function will continuous to run in background , irrespective of any other routines running.
in other words samples are taken all the time and averaged out, waiting for me to read them.
Thanks in advance.
by Roy Johnston
Fri Apr 11, 2014 9:11 am
Forum: Flowcode V6
Topic: 6.0.7 will not compile
Replies: 1
Views: 1683

Re: 6.0.7 will not compile

I found the fault,
my file seems to be corrupted,
thank goodness for backups.
thanks.
by Roy Johnston
Fri Apr 11, 2014 6:49 am
Forum: Flowcode V6
Topic: 6.0.7 will not compile
Replies: 1
Views: 1683

6.0.7 will not compile

i have a project that did compile to hex until I upgraded to ver 7, now I get the following message. Starting preprocessor: "C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\pp.exe" 400R1.c -i "C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\include" -d _PIC18F4550 -la -c2 -o 400R1.pp -...
by Roy Johnston
Fri Mar 14, 2014 12:42 pm
Forum: Flowcode V6
Topic: EEprom
Replies: 2
Views: 2373

Re: EEprom

Yes, that did it,
Thank you
by Roy Johnston
Fri Mar 14, 2014 10:11 am
Forum: Flowcode V6
Topic: EEprom
Replies: 2
Views: 2373

EEprom

I am having a problem in writing and reading from the eeprom, with 18f4550 chip I send a series of bytes to the chip via usb, if I write then into a variable, and then read them back all is fine, this indicates usb comms are ok s well as my Vb. however if I write them into the eeprom and read it bac...
by Roy Johnston
Fri Mar 14, 2014 10:01 am
Forum: Flowcode V6
Topic: Ulong conversion.
Replies: 2
Views: 2537

Re: Ulong conversion.

Thanks for your help,
by Roy Johnston
Thu Mar 13, 2014 7:25 am
Forum: Flowcode V6
Topic: Ulong conversion.
Replies: 2
Views: 2537

Ulong conversion.

can someone help me to do the following. 1) convert a Ulong into a byte array. 2) convert a byte array to an Ulong. 3) convert a Ulong into a byte array in VB 4) convert a byte array to an Ulong in VB. on another Note, I am a NGO sponsor for the Dewildt Cheetah Farm IN bela bela South Africa. I also...