Search found 28 matches

by faveremario
Sun May 17, 2020 8:48 am
Forum: Bug Reports
Topic: GLCD ILI9341
Replies: 8
Views: 7530

Re: GLCD ILI9341

This is what I get....

Component version 2.0
by faveremario
Sat May 16, 2020 4:57 pm
Forum: Bug Reports
Topic: GLCD ILI9341
Replies: 8
Views: 7530

Re: GLCD ILI9341

Hi

I do not see what you mean by n10 or n12.... ?
Screen rotation works for me.
My test-environment : PIC18F4455
by faveremario
Sat May 16, 2020 10:32 am
Forum: Bug Reports
Topic: GLCD ILI9341
Replies: 8
Views: 7530

Re: GLCD ILI9341

Hi Alkaline I just started experimenting with the ILI9341 (SPI). Be careful to select the wright component. Do not select the SPI-component when using the 8-bit // interface and vice-verse. The last image shown is typical for miss-initing the TFT. I suggest to switch XY-dimensions in the component: ...
by faveremario
Sat Dec 07, 2019 9:33 am
Forum: Flowcode V8
Topic: SPI issues (PIC 18F87J50)
Replies: 2
Views: 1425

Re: SPI issues (PIC 18F87J50)

Solution found !

SPI-setting / Clock phase should have been : trailing edge
(it was set on leading edge)

Can I delete my own posts ? (no I can't)
by faveremario
Sat Dec 07, 2019 8:39 am
Forum: Flowcode V8
Topic: SPI issues (PIC 18F87J50)
Replies: 2
Views: 1425

Re: SPI issues (PIC 18F87J50)

So perhaps I had poor PCB-lines, so I took a look to the MOSI with a scope (image 3...). It looks fine to me getting back to the fact that the MOSI-line is getting the wright value way to close/late in relation to the CLK in my opinion. PS : The length of MOSI & CLK are 2mm different (on about 8cm l...
by faveremario
Sat Dec 07, 2019 8:27 am
Forum: Flowcode V8
Topic: SPI issues (PIC 18F87J50)
Replies: 2
Views: 1425

SPI issues (PIC 18F87J50)

Hi all Trying to communicate with MRF24J40MA I'm not getting the response I was looking for. I would read from a register (which is accessed by value 34 on the logic analyzer) that has a POR-value not zero (28 to be precise). So I took my spade & started digging to find out where things go wrong, I ...
by faveremario
Wed Nov 27, 2019 9:03 am
Forum: Flowcode V8
Topic: Create a panel image for a custom component.
Replies: 2
Views: 1550

Re: Create a panel image for a custom component.

PS : does there exist some repository where house-made-components can be shared ?
by faveremario
Tue Nov 26, 2019 5:57 pm
Forum: Flowcode V8
Topic: Create a panel image for a custom component.
Replies: 2
Views: 1550

Create a panel image for a custom component.

Hi all I try to make my own small component e.g. MQ2 gas-sensor using the manual here: https://www.matrixtsl.com/resources/files/misc/Flowcode%207%20Component%20Creation.pdf I've looked also to the video-tuto of Ben here : https://www.youtube.com/watch?v=xhvrwILJA38 (nice done :wink: ) I've looked i...
by faveremario
Mon Nov 25, 2019 12:57 pm
Forum: Flowcode V8
Topic: AD on AN3 and AN4 not working PIC18F87J50
Replies: 6
Views: 2789

Re: AD on AN3 and AN4 not working PIC18F87J50

With this file it works as a dream :) - I modified the channel-selector as described above.

@Ben, could you place this file for the FC8-update please ?

Thanks all !
by faveremario
Mon Nov 25, 2019 12:29 pm
Forum: Flowcode V8
Topic: AD on AN3 and AN4 not working PIC18F87J50
Replies: 6
Views: 2789

Re: AD on AN3 and AN4 not working PIC18F87J50

I looked @the file you send me (thank you for that btw)

On line 3311, I see :
ANCON0 = ~0x01;
shouldn't is be
ANCON0 &= 0xFE;
to set PCFG0 to 0 ?
?

The image joined, shows the result. I try this out for the other channels & get back as soon as I can.
Thanks for the support.
by faveremario
Mon Nov 25, 2019 12:18 pm
Forum: Flowcode V8
Topic: AD on AN3 and AN4 not working PIC18F87J50
Replies: 6
Views: 2789

Re: AD on AN3 and AN4 not working PIC18F87J50

Hi Leigh
Thanks for the quick reply!

Sure something has changed. All temperature-readings show 125° so I guess the ADC reads 1024 for all channels.
by faveremario
Sun Nov 24, 2019 4:10 pm
Forum: Flowcode V8
Topic: AD on AN3 and AN4 not working PIC18F87J50
Replies: 6
Views: 2789

AD on AN3 and AN4 not working PIC18F87J50

Hi all I'm working on a home domotic system and as a part of this project, I'm measuring 5 analog values. Doing this with a voltage divider & a stabilizing capacitor on the ANx-input. Quit forward. For testing purposes I attached 5x 1k-thermistors and used the thermistor component in FC8. Reading ev...
by faveremario
Tue Sep 24, 2019 4:27 pm
Forum: Flowcode V8
Topic: Using properties in simple project
Replies: 1
Views: 1375

Using properties in simple project

Hi all I have a small project where I teach my students how to use properties to make a project more readable. What it does : Rood & Zwart are inputs (push-butons) ands ledrood & zwart are outputs. The lines compile to : SET_PORT_PIN(D, 1, GET_PORT_PIN(B, 5)); SET_PORT_PIN(D, 0, GET_PORT_PIN(B, 4));...
by faveremario
Fri Oct 26, 2018 6:32 am
Forum: Flowcode V8
Topic: FC8 and code-offset
Replies: 4
Views: 2603

Re: FC8 and code-offset

Hi Benj, many thanks to your efforts. I will sure try to use the FC7 compiler since it is also installed. The syntax should be OK after looking-up the documentation of the XC8. The bootloader I use is a little bigger (I use the microchip one), so my code needs to start on 0x1000 (1000h is also accep...
by faveremario
Thu Oct 25, 2018 12:18 pm
Forum: Flowcode V8
Topic: FC8 and code-offset
Replies: 4
Views: 2603

Re: FC8 and code-offset

Hi Benj

Yes I see the parameter figuring in the outpout-window.
by faveremario
Thu Oct 25, 2018 9:46 am
Forum: Flowcode V8
Topic: FC8 and code-offset
Replies: 4
Views: 2603

FC8 and code-offset

Hi all I tried in FC8 to make a HEX with a code offset of 0x1000 (used for a bootloader), using the parameter in the compiler options: --CODEOFFSET=0x1000 No errors where produced, but the generated code in the hex-file started at 0x0000. FC7 does the job perfectly... Anybody knows why? Many thanks.
by faveremario
Thu Mar 15, 2018 9:04 pm
Forum: 8-Bit PIC
Topic: Power Consumption on PIC12F675
Replies: 8
Views: 7612

Re: Power Consumption on PIC12F675

Datasheets are always wright :P

OK i'm just proud to show-off my brand new Rigol DMM :lol:
I know EEV would be a good deal... but hell, we don't live to work, but work to live!
I also know this thing will teach me a lot of things :wink:
by faveremario
Thu Mar 15, 2018 11:42 am
Forum: Flowcode V7
Topic: PIC18F1625 : Alternate pin issues & sleep (info)
Replies: 2
Views: 3048

Re: PIC18F1625 : Alternate pin issues & sleep (info)

Hi Ben Thanks for the reply. My FC7 was 7.2.1.4 so upgrading did the trick. For Issue 2 : The hint could be plausible, but I had a logic analyser attached to almost all pins and the expected pin was doing nothing at all (as it was primarily monitored). Changing the FCDX is a good option, the target-...
by faveremario
Sun Mar 11, 2018 9:45 pm
Forum: 8-Bit PIC
Topic: Power Consumption on PIC12F675
Replies: 8
Views: 7612

Re: Power Consumption on PIC12F675

Ah yes... My Italian is not so good anymore. :lol:
by faveremario
Sun Mar 11, 2018 9:12 am
Forum: 8-Bit PIC
Topic: Power Consumption on PIC12F675
Replies: 8
Views: 7612

Re: Power Consumption on PIC12F675

Hi Billoo, Hi all I just finished some hobby-tests on a 18F4455 (lots of pins) on high-current-consumption when the PIC is went to sleep. Mine consumed over 40µA after the sleep-command. Not really good according to the specs that µchip is giving us. First of all consider all things you already did ...
by faveremario
Sat Mar 10, 2018 3:24 pm
Forum: Flowcode V7
Topic: PIC18F1625 : Alternate pin issues & sleep (info)
Replies: 2
Views: 3048

PIC18F1625 : Alternate pin issues & sleep (info)

Hi all I guess this is something for Ben to resolve, all for the 16F1825: Issue 1: (always reproducible) The 16F1825 has alternate pins for the SPI hardware-module (see data-sheet). The alternate pin function is unfortunately not available. I tried it for the SPI & RS232 component. Can this be adapt...
by faveremario
Fri Mar 09, 2018 6:21 pm
Forum: Flowcode V7
Topic: USB Serial
Replies: 0
Views: 6251

USB Serial

Hi all We are using USB Serial to communicate with a PC. Everything is working FINE and we have no issues, unless for a little thing... When 2 bytes are sent, the first is 0x0 and the second is 0x1 , only the first byte is received on the PC . Every once & a while the second byte occurs in the datas...
by faveremario
Thu Mar 01, 2018 4:07 pm
Forum: Bug reports
Topic: RGB Led.
Replies: 16
Views: 8915

Re: RGB Led.

Wow that's a quick reply :)

Included is a running screenshot of the simulation and also the program.
The color of the LED does not change (in neither of the programs).
First is from WIKI
V2 is modified : not using the IRQ from T0

Thanks.
by faveremario
Thu Mar 01, 2018 3:42 pm
Forum: Bug reports
Topic: RGB Led.
Replies: 16
Views: 8915

Re: RGB Led.

Hi
Is there a way to make the RGB function in simulation under FC7? On my PC the ISR is launched, but nothing changed to the RGB-color...

So I modified the demo from FC-wiki as follows :
* disable IRQ on T0
* copy the component Tick after the 100ms delay

no change in RGB-color on simulation....
by faveremario
Thu Feb 22, 2018 6:05 pm
Forum: Flowcode V7
Topic: PIC18F2455 and AN4
Replies: 1
Views: 2273

PIC18F2455 and AN4

Hi all

Is there a reason why it is not possible to read analogue values from AN4 from this PIC?
Al ANx inputs are available, but not AN4.

Easy to reproduce : new project, target=PIC18F2455 and add potentiometer. Try to connect the potmeter to AN4...

Greetings