The touch facility is made somewhat more complicated by the multi-page support that the new display provides. This means that touch controls have to be mapped to specific pages as well as to the active area on the screen. Most of the code to manage all this has now been written, so adding further touch areas should be relatively trivial.
Along the way, as I needed to develop the display page management code for the touch screen logic, I started programming the band-change / direct frequency entry page. This is a separate page that is selected by one of the physical push buttons and which permits direct access to a band or direct frequency entry to the nearest Hz. The complete logic chain, from push button press to display page switching is now working nicely. That may not sound like much but there are quite a few system elements that all have to work together for it to happen!
|Displaying VFO-A & VFO-B |
|The embryonic band change page|
|Displaying the VFO-B split|
|A bit of a lash up!|
I've also connected up a couple of encoders, so that I can test the switching logic properly. All seems to be working fine but the controller hardware is now becoming something of a rats nest of wires, so I don't think I'll be able to add much more hardware until I get the front panel back from CNC cutting. This is, however, quite an important step, as it is the first time that every type of peripheral has been connected up at the same time. Slowly but surely, the problems are being ironed out, with more and more of the project working.
In other news, the Flex radio has been fixed and is on its way back to 'WGV Towers, so I should have it all connected back up by early next week.