Hello ,

Finally ,I could make LCD (JHD162A) work with Arduino-Uno  through RIOT OS
I removed lcd initialization from setup and  added below two lines in main 
function ….and it worked !

if (hd44780_init(&dev,&hd44780_params[0])!=0)
{
puts("failed");
}

But I don’t understand the logic in context of  &hd44780_params[0].
I understand that we are checking the successful initialisation of lcd by using 
if loop but what are we checking when we pass &hd44780_params[0]

Why can’t we just initialize the lcd as I did in my below e-mail?
Thanks in advance for help!


Best Regards,

Sangeeta PATIL

CATIA Systems R&D QA Engineer





Office: +91 20 6793 8171
[email protected]<mailto:[email protected]>

[3DS Logo]

3DS.COM/CATIA<http://www.3ds.com/CATIA>


3D PLM Software | 3dplm Software Solutions Ltd., Plot No.15/B, Pune Infotech 
Park, M.I.D.C, Hinjewdi | 411057 Pune | India


From: users <[email protected]> On Behalf Of PATIL Sangeeta
Sent: Wednesday, October 23, 2019 6:46 PM
To: RIOT OS users list <[email protected]>
Subject: [riot-users] HD44780 LCD with Arduino Uno

Hello,

I am trying to interface HD44780 LCD with Arduino Uno.
All the connections are done as per 
https://github.com/RIOT-OS/RIOT/tree/master/tests/driver_hd44780
Below is my code:

The code is compiled successfully but does not work as expected on flashing to 
Arduino Uno i.e I could not see cursor blinking

//#include "hd44780_params.h"
#include "hd44780.h"


hd44780_t *a;
hd44780_params_t *b;



void setup(void)
{

hd44780_init(a,b);
}



void loop(void)
{

//hd44780_print(a,"hi");
hd44780_blink(a,HD44780_ON);
delay(100);
}

Best Regards,

Sangeeta

This email and any attachments are intended solely for the use of the 
individual or entity to whom it is addressed and may be confidential and/or 
privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email 
and all attachments,

(iii) Dassault Systèmes does not accept or assume any liability or 
responsibility for any use of or reliance on this email.


Please be informed that your personal data are processed according to our data 
privacy policy as described on our website. Should you have any questions 
related to personal data protection, please contact 3DS Data Protection Officer 
at [email protected]<mailto:[email protected]>



For other languages, go to https://www.3ds.com/terms/email-disclaimer

This email and any attachments are intended solely for the use of the 
individual or entity to whom it is addressed and may be confidential and/or 
privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email 
and all attachments,

(iii) Dassault Systèmes does not accept or assume any liability or 
responsibility for any use of or reliance on this email.


Please be informed that your personal data are processed according to our data 
privacy policy as described on our website. Should you have any questions 
related to personal data protection, please contact 3DS Data Protection Officer 
at [email protected]<mailto:[email protected]>


For other languages, go to https://www.3ds.com/terms/email-disclaimer
_______________________________________________
users mailing list
[email protected]
https://lists.riot-os.org/mailman/listinfo/users

Reply via email to