Search found 438 matches

by brandonb
Sun Jun 30, 2013 9:18 am
Forum: Flowcode V5
Topic: pin c0 inop confusion
Replies: 7
Views: 4104

Re: pin c0 inop confusion

hey martin, its not only c0, i also tried it on c1 and it did the same thing, the c2 input did work through out the whole process which is the cs for the second eeprom chip.... i converted flowchart to TMR4, changed a couple things in the flowchart that i screwed up on (noticed with logic16 :lol: )a...
by brandonb
Sun Jun 30, 2013 3:05 am
Forum: Flowcode V5
Topic: pin c0 inop confusion
Replies: 7
Views: 4104

Re: pin c0 inop confusion

just tried it with a simple blinky with no go
c0 blinky.fcf
(13.5 KiB) Downloaded 262 times
by brandonb
Sun Jun 30, 2013 2:31 am
Forum: Flowcode V5
Topic: pin c0 inop confusion
Replies: 7
Views: 4104

pin c0 inop confusion

with flowchart below there is communication between this chip and two different eeproms, with the code how its written the chip select for chip#1 which is pin C0 doesn't work! you can move this to any output pin on the micro as long as its not on PORTC and it will work i did a bunch of testing and c...
by brandonb
Fri Jun 28, 2013 8:28 am
Forum: Flowcode V5
Topic: signed char questions
Replies: 2
Views: 2507

Re: signed char questions

With arithmetic, whether a value is signed or unsigned only makes a difference when performing comparisons, divisions and when it is displayed i see what you mean, a signed int variable of -2 would actually be a 65534 ms delay, that answers alot of questions thanks for explaining and i came up with...
by brandonb
Thu Jun 27, 2013 8:37 am
Forum: Flowcode V5
Topic: signed char questions
Replies: 2
Views: 2507

signed char questions

- have some general Q's - can i store signed char's to arrays and luts? - can i convert a unsigned char or unint to signed with it not remaining positive if i inteded negative for that number position, for instance if i store a unsigned 2 in an array and transfer it over to a signed variable how can...
by brandonb
Sun Jun 23, 2013 3:48 am
Forum: Flowcode V5
Topic: draw on the display
Replies: 4
Views: 3271

Re: draw on the display

what do you mean?
by brandonb
Sat Jun 22, 2013 5:59 pm
Forum: Flowcode V5
Topic: graphic backcolor
Replies: 4
Views: 4021

Re: graphic backcolor

hey ben, it didn't work with your code mod but it works with this char msb, lsb; Red = Red >> 3; Green = Green >> 2; Blue = Blue >> 3; lsb = Blue | (Green << 5); msb = (Green >> 3) | (Red << 3); %a_UART_Send('B');// send backcolor command 'B' %a_UART_Send(msb);// Send msb %a_UART_Send(lsb);// Send l...
by brandonb
Thu Jun 20, 2013 6:23 pm
Forum: Flowcode V5
Topic: graphic backcolor
Replies: 4
Views: 4021

Re: graphic backcolor

i haven't had a chance to try it but have to send a asci 'B' then 16bits of color and wait for a 0x6||0x15 to return, it kind of sucks when printing with transparent 0 it prints the background color of what ever was choosen from the glcd properties, ben help us out 8) 3.1.4 Replace Background Colour...
by brandonb
Mon Jun 03, 2013 8:37 pm
Forum: Flowcode V5
Topic: Making a 24 hour clock
Replies: 4
Views: 3744

Re: Making a 24 hour clock

yes, thats why i posted it, that works great for a 328p, not sure about the one you are using... im using tmr1, also look at the tmr vector code, i can show you how it works when i get off work in 6 hours with a video {edit} oops i guess i did use timer1, but i used compair instead of overflow as it...
by brandonb
Mon Jun 03, 2013 8:12 pm
Forum: Flowcode V5
Topic: Making a 24 hour clock
Replies: 4
Views: 3744

Re: Making a 24 hour clock

here's a avr 328 arduino clock project i coded for a friend, can set the time hours,min,days, and displays in am pm format, it has tmr1 running at one hz, if can follow code sorry its in c, as it the closest thing i have to avr /* DAY ZERO IS MONDAY (0-6) HOUR ZERO IS 12AM (0-23)*/ #include <LiquidC...
by brandonb
Fri May 31, 2013 5:18 am
Forum: Flowcode V5
Topic: Memory Error
Replies: 2
Views: 2347

Re: Memory Error

i think it might be a computer registry error, try doing a reg scan, sometimes my computer does this but when it happens to me if i was working on anything on the flowchart i loose it :( , i never know when its gonna happen so if im working on something hefty i usually save before i simulate just in...
by brandonb
Mon May 27, 2013 10:51 pm
Forum: Flowcode V4
Topic: 8bit lcd display
Replies: 4
Views: 4438

Re: 8bit lcd display

it would be 200u/s per char since it would be sending a full byte instead of nibbles, i don't understand how the defines are used from within flowcode so sorry can't help with the mod's,
by brandonb
Mon May 27, 2013 8:37 am
Forum: Flowcode V5
Topic: bitbang spi receive(software spi/64)
Replies: 0
Views: 1984

bitbang spi receive(software spi/64)

it might be something that may be somewhat useful, this flowchart only works with SOFTWARE SPI/64 as its alot slower than hardware spi, clock = b0 sdi = b1 chip select = b2 comm receive.fcf it can work with any bit type automaticly from 0-31 bits because when chip select line goes low is shifts the ...
by brandonb
Fri May 17, 2013 6:23 pm
Forum: Programming Tips & Tricks
Topic: calculation tricks
Replies: 3
Views: 5581

Re: calculation tricks

I'm afraid I noticed a couple of issues: thanks kersing, i see what you mean on the (a&&b&&c)>10, it doesnt work the way i thought, when i tested it to see if my understanding was correct on it, i must have tested it in a way that just happened to give me what i thought could be interperted as this...
by brandonb
Fri May 17, 2013 2:59 am
Forum: Flowcode V4
Topic: pic 16f1828 not suported part
Replies: 5
Views: 5499

Re: pic 16f1828 not suported part

on the 16f1800 chips, flowcode with pickit2 doesnt work, but pickit2 standalone programmer does, compile to hex then program the chip with the pickit software, that should work for you
by brandonb
Thu May 16, 2013 5:23 am
Forum: Programming Tips & Tricks
Topic: calculation tricks
Replies: 3
Views: 5581

calculation tricks

by putting this in tips tricks section was hoping to learn better coding myself and make it easier to find for others in future if others will add to these variable=variable|1<<7//set bit 7 in variable variable=variable&~(1<<7)//clear bit 7 in variable variable=variable^1<<7//toggle bit 7 in variabl...
by brandonb
Sun May 12, 2013 7:44 am
Forum: Flowcode V5
Topic: 18f4580 and 4D systems 2.4PTU circuit
Replies: 9
Views: 4454

Re: 18f4580 and 4D systems 2.4PTU circuit

was curious, what if you download this personality file into the 2.4" display https://dl.dropboxusercontent.com/u/10367218/uLCD-32PT-I-SGC-R22.PmmC then use flowcode to command to it, what you would be doing it telling the picaso that you have 32pt display, this might give you flowcode control over ...
by brandonb
Sun May 12, 2013 6:54 am
Forum: Flowcode V5
Topic: Different crystals
Replies: 3
Views: 3013

Re: Different crystals

i dont know but i would imagine it would have to do with assemby code and instruction cycles, the 19.6604 crystals dont have a very good ppm value as they are about 30, i find the 16 mhz crystal has low ppm of 10 and the flowcode delays are very accurate at 16mhz, check the a 16.384 mhz crystal http...
by brandonb
Mon Apr 29, 2013 8:02 am
Forum: Flowcode V5
Topic: graphic backcolor
Replies: 4
Views: 4021

graphic backcolor

with the eb076 is the change back color broken, when i use the icon it corrupts the program, would be nice to be able to use that to change the back color behind printing numbers, currently i dim the forcolor to the back color to make the area behind the strings match when i print " " when number di...
by brandonb
Thu Apr 25, 2013 12:43 am
Forum: Flowcode V5 Issues
Topic: Avast see Fowcode dspic as a Malware
Replies: 12
Views: 14531

Re: Avast see Fowcode dspic as a Malware

to note i've had system mechanic in the past remove certain item's from registry on the ppp side, to where i had to do a fresh install on flowcode, sometimes this stuff happens, it might pop up as a problem out of the blue then go away when they figure it out from the feedback
by brandonb
Mon Apr 15, 2013 2:45 am
Forum: Flowcode V5
Topic: rc5 inop for 18f2685
Replies: 0
Views: 1533

rc5 inop for 18f2685

rc5 doesnt work on this chip? at least with the flowcode that i tried, if get working can it be set up for tmr0 instead of tmr2? can someone point out how i would know by looking at the code which timer interrupt or interrupts the macro uses, its nice to know these kind of things on various chips th...
by brandonb
Wed Apr 10, 2013 3:13 am
Forum: Flowcode V5
Topic: Cannot get touch screen display to initialize
Replies: 12
Views: 9991

Re: Cannot get touch screen display to initialize

dude check it out: upload pmmc file here and all will work https://dl.dropbox.com/u/10367218/uLCD- ... C-R22.PmmC test to be sure
heres the link i got it from http://www.4dsystems.com.au/prod.php?id=113
its SGC not gfx
by brandonb
Wed Apr 10, 2013 1:14 am
Forum: Flowcode V5
Topic: Cannot get touch screen display to initialize
Replies: 12
Views: 9991

Re: Cannot get touch screen display to initialize

I am not overly familiar with C code so i hope i have this right, looking in the component macros for flowcode, a clear for example is 0x45 however with the new display from the reference manual it is 0xffcd. At a brief glance all the commands are 2 bytes long. How much work would it take to update...
by brandonb
Mon Apr 08, 2013 4:26 pm
Forum: Flowcode V5
Topic: ulcd-32ptu
Replies: 2
Views: 2179

Re: ulcd-32ptu

ben, here's what i received in comments from 4d SGC has been discontinued and is not available for newer displays. 4D Serial is the new Serial and ViSi Genie are new and both support being controlled as a serial slave. Are you using some third party library with flowcode5? If so, where did it come f...
by brandonb
Fri Apr 05, 2013 9:40 pm
Forum: Flowcode V5
Topic: ulcd-32ptu
Replies: 2
Views: 2179

ulcd-32ptu

i bought eblock with the old lcd, then picked up a couple of the newer ulcd-32ptu lcds http://microcontrollershop.com/product_info.php?cPath=528_189_408&products_id=5396 , with the new displays i only get the splash screen, does anyone know what i have to do to get these working to accept serial com...