Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Graphics-text libraries for BASCOM packages (different LCD)

Status
Not open for further replies.

Vermes

Advanced Member level 4
Advanced Member level 4
Joined
Aug 2, 2011
Messages
1,163
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,316
Activity points
22,318


It is a set of functions that facilitate drawing and rotating any shape. You only have to give a pointer to the place where coordinates of individual points are stored, from where the graphics should be drawn, point of rotation and its angle.
Fonts support is based on the software and there are some minor facilitates in displaying (Lcd_locate function and positioning of the whole text), allowing for easier viewing of text fragments, without having to enter the coordinates x, y, in pixels, and the function Lcd_lowerline, acting similarly as Lowerline in the case of alphanumeric displays. The library handles all the graphical displays working with BASCOM package (uses only Pset and Line function). This is applied both to colour and black and white displays.

Below there are some pictures of operation of the demo.



In the attachment on the original thread, you can find:
  • graph_lib.bas library
  • demo program for colour display on pcf8583 driver (N6100)
  • analog clock using this library and clock rtc pcf8583 and joystick from module And-Graph132

Link to original thread (useful attachment) – Biblioteki graficzno-tekstowe dla pakietu BASCOM (różne lcd)
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top