Write a driver for arduino for ROHM BU97950AFUV LCD Driver
$30-250 NZD
Maksettu toimituksen yhteydessä
From the provided datasheet write a 1/8 generic driver for a ROHM BU97950AFUV to setup for either 3.3v or 5v supply.A class library where a graphic is in memory array and can be displayed in a similar manor used to drive common Nokia 84x84 displays
The BU97950AFUV is responding and accepting this sketch however It is not displaying and needs the configuration to be set correctly from the attached datasheet
#include <Wire.h>
#define LCD_I2C_ADDR 0x3E
unsigned char lcd_pos;
unsigned char lcd_char;
unsigned char lcd_buffer[]={
0x4C|0x80, // Mode set (1/3 bias, enabled, static display), more commands
0x60|0x80, // Select device 0, more commands
0x70|0x80, // No blinking, more commands
0x00, // Reset data pointer, last command
0xFF, // 8 characters follows, 2 bytes each
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF,
0xFF
};
void setup() {
[login to view URL] (9600);
[login to view URL]();
[login to view URL] (LCD_I2C_ADDR);
for (unsigned char j = 0; j < 40; j++) {
[login to view URL](lcd_buffer[j]);
}
[login to view URL] ();
lcd_pos=4;
} // end of setup
void loop() {
lcd_char=1;
for (unsigned char i = 0; i < 8; i++) {
lcd_buffer[lcd_pos] =lcd_char;
[login to view URL] (LCD_I2C_ADDR);
for (unsigned char j = 0; j < 40; j++) {
[login to view URL](lcd_buffer[j]);
}
[login to view URL] ();
lcd_char=lcd_char*2;
delay(50);
}
/* USER CODE BEGIN 3 */
lcd_buffer[lcd_pos] =0;
lcd_pos++;
if (lcd_pos==37)lcd_pos=4;
}
Projektin tunnus: #19769729
Tietoa projektista
Myönnetty käyttäjälle:
Hello there, I am an Electrical Engineer by profession and have been doing Arduino projects for a while now. I have worked with quite a lot of sensors and know all about configuring and debugging them. You can visit Lisää
6 freelanceria on tarjonnut keskimäärin $205 tähän työhön
Hello my name is Maria, I would like to work in this project, I’m an engineer with plenty of experience working with Arduino, C Programming, Electrical Engineering, Electronics, Microcontroller, I have made many Arduin Lisää
Hello, I have read the details provided and i am positive i can provide quality work,please contact me to discuss more on the project deadline and some other few things
I DO NOT OUTSOURCE I have been a freelancer for the past 8 years, I believe that my experience and skill in this background will prove to be of great help to you. Contact me to discuss more on the details
I have a diverse experience when it comes to electronic circuit design, as i have a profound engineering background. Kindly review my PORTFOLIO, i can get the job done thanks!