EB084 (EBM001)

Forum de support pour les locuteurs de la langue française qui souhaitent écrire dans leur langue maternelle.

Moderator: Benj

Post Reply
sundgau
Posts: 78
Joined: Mon Sep 26, 2011 4:18 pm
Has thanked: 5 times
Been thanked: 10 times
Contact:

EB084 (EBM001)

Post by sundgau »

Bonjour,
je viens d'acquérir plusieurs cartes EB084 avec modules EBM001.
Je teste soit avec ECIO40 soit EB006-00-8 alimentés avec adaptateur 12V.

La carte EB084 est alimenté en (+V) 5v Position patch sur la carte EB084.

Je suis en version flowcode 5.5.2.1.

Les modules fonctionnent juste avec du texte mais pas avec les couleurs: le fond reste noir et l’écriture blanche!

Quelqu'un pour m'aider? Merci D'avance

Bruno

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: EB084 (EBM001)

Post by Benj »

Bonjour Bruno ,

S'il vous plaît pouvez-vous joindre votre programme de Flowcode et je vais jeter un oeil pour vous.


Hello Bruno,

Please can you attach your Flowcode program and I will have a look for you.

sundgau
Posts: 78
Joined: Mon Sep 26, 2011 4:18 pm
Has thanked: 5 times
Been thanked: 10 times
Contact:

Re: EB084 (EBM001)

Post by sundgau »

Hello Benj,

voici mon fichier fcf
Flowcode1.fcf
(13.5 KiB) Downloaded 309 times
et une photo
P1080535.JPG
(1.6 MiB) Downloaded 3820 times
Juste un carré et un "bonjour"!

Le programme de test de l'EB048 "EBM001 Test Routine" avec l'ECIO40: http://www.matrixtsl.com/product.php?Pr ... PHPSESSID= ne fonctionne pas non plus: l'afficheur reste blanc.
A noter que le fichier "EBM001 Test Routine" parle de
EB058 - Modded Board
et non pas de la carte EB048!

Je ne trouve pas non plus le fichier de test .hex
Download EB084TP.hex to the 16F877A PICmicro®
comme indiqué dans la doc technique EB048.pdf
Ou peut-on le trouver et pourrait-on avoir directement le fichier .fcf ?

Merci d'avance.
Bruno

Benj wrote:Bonjour Bruno ,

S'il vous plaît pouvez-vous joindre votre programme de Flowcode et je vais jeter un oeil pour vous.


Hello Bruno,

Please can you attach your Flowcode program and I will have a look for you.
Last edited by sundgau on Wed Aug 26, 2015 12:16 pm, edited 1 time in total.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: EB084 (EBM001)

Post by Benj »

Bonjour Bruno ,

Je l'ai regardé votre programme et il semble que les propriétés des composants qui contrôlent la couleur sont sans effet sur le code C qui est étrange . Ceci a été corrigé et est entièrement fonctionnelle dans Flowcode 6 .

Si vous ajoutez des appels de macro composant dans votre programme pour la SetForeColour et SetBackColour celles-ci doivent travailler à modifier correctement la couleur de l'écran.


Hello Bruno,

I've looked at your program and it appears the component properties that control the colour are having no effect on the C code which is odd. This has been fixed and is fully functional in Flowcode 6.

If you add component macro calls into your program for the SetForeColour and SetBackColour then these should work to correctly alter the colour of the display.

sundgau
Posts: 78
Joined: Mon Sep 26, 2011 4:18 pm
Has thanked: 5 times
Been thanked: 10 times
Contact:

Re: EB084 (EBM001)

Post by sundgau »

En effet ça marche...
J'ai juste modifié le code de la fonction "DrawBox" pour un remplissage correct de la boite :

Code: Select all

if (!Transparent)
	{
		X1 = X1 + 1;    //srink box to make room for border
		Y1 = Y1 + 1;
      gLCD_Window(X1,Y1,X2,Y2);        //define window

		X = X2 - X1;
		X++;                            //# of X-Pixel
		Y = Y2 - Y1;
		Y++;                               //# of Y-Pixel
		Pixel = X * Y;
Par

Code: Select all

if (!Transparent)
	{
		X1 = X1 + 1;    //srink box to make room for border
		Y1 = Y1 + 1;
      X2 = X2 - 1;
      Y2 = Y2 - 1;
		gLCD_Window(X1,Y1,X2,Y2);        //define window

		X = X2 - X1;
		X++;                            //# of X-Pixel
		Y = Y2 - Y1;
		Y++;                               //# of Y-Pixel
		Pixel = X * Y;
Bruno

sundgau
Posts: 78
Joined: Mon Sep 26, 2011 4:18 pm
Has thanked: 5 times
Been thanked: 10 times
Contact:

Re: EB084 (EBM001)

Post by sundgau »

Bonjour Benj,

La simulation du module EB084 n'est pas satisfaisante; le nombre de caractères par ligne simulé et réel ne correspondent pas, la fonction "clear" n'efface pas a première colonne...
Est-il possible d'avoir un correctif du composant sur flowcode V5, qui permettrait également de résoudre les propriétés du composant qui contrôlent les couleurs.
Je dois encore travailler quelque temps avec cette version et attendre pour avoir la V6!
Merci d'avance.
Bruno

Post Reply