Current Wish List
You can use the flash library to write to a const array. Use the @ operator to get the address to the const array. You can then access the data that you just wrote as array members. It isn't possible to write to individual locations, because the PIC always writes in blocks of 64 bytes. So this is as good as it gets.
If you know what you're doing, you're not learning anything.
-
- Posts: 73
- Joined: 21 Sep 2005 04:23
New feature....
It would be real handy if SYMBOLs defined in modules could be used in files that include them.
Try this:INGRam wrote:Please can we have a getpixel(x,y) for the glcd ?
Code: Select all
Glcd_Set_Side(x_pos) ' select left/right side of GLCD
Glcd_Set_Page(page_num) ' vertical (Y) coordinate (range from 0..7)
Glcd_Set_X(x_pos) ' X coordinate
data := Glcd_Read_Data() ' read byte from (X, Y) - data is vertical line at page Y, column X
zristic wrote:Try this:INGRam wrote:Please can we have a getpixel(x,y) for the glcd ?Code: Select all
Glcd_Set_Side(x_pos) ' select left/right side of GLCD Glcd_Set_Page(page_num) ' vertical (Y) coordinate (range from 0..7) Glcd_Set_X(x_pos) ' X coordinate data := Glcd_Read_Data() ' read byte from (X, Y) - data is vertical line at page Y, column X
Great !!!
Thank you !
Luca
Here's an idea: how about a mE Linux distro? You could make an entire bootable package that runs with KDE, and can boot from a thumb drive. Maybe build it on DSL or some other minimal distro, so the whole thing can fit in 256 meg or so. Plug and play.
If you know what you're doing, you're not learning anything.
Maybe you're already thinking along these lines, but the kdevelop IDE is a pretty nice package, so if you can just hook the compiler into that, you don't need to compile your IDE. It would give it a different look and feel from the ME IDE, but it would very usable.
If you know what you're doing, you're not learning anything.
Yes, we are thinking of it.LGR wrote:Maybe you're already thinking along these lines, but the kdevelop IDE is a pretty nice package, so if you can just hook the compiler into that, you don't need to compile your IDE. It would give it a different look and feel from the ME IDE, but it would very usable.